Comments (13)
post the contents of output.log
in the Valheim directory
from valheim-docker.
Found path: /home/steam/valheim/valheim_server.x86_64
Mono path[0] = '/home/steam/valheim/valheim_server_Data/Managed'
Mono config path = '/home/steam/valheim/valheim_server_Data/MonoBleedingEdge/etc'
Preloaded 'libsteam_api.so'
Initialize engine version: 2019.4.16f1 (e05b6e02d63e)
[Subsystems] Discovering subsystems at path /home/steam/valheim/valheim_server_Data/UnitySubsystems
Forcing GfxDevice: Null
GfxDevice: creating device client; threaded=0
NullGfxDevice:
Version: NULL 1.0 [1.0]
Renderer: Null Device
Vendor: Unity Technologies
Begin MonoManager ReloadAssembly
- Completed reload, in 0.114 seconds
UnloadTime: 1.628232 ms
02/10/2021 18:43:05: Starting to load scene:start
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
Couldn't create a Convex Mesh from source mesh "RearBig" within the maximum polygons limit (256). The partial hull will be used. Consider simplifying your mesh.
(Filename: Line: 91)
WARNING: Shader Unsupported: 'Autodesk Interactive' - All passes removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
HDR Render Texture not supported, disabling HDR on reflection probe.
(Filename: Line: 277)
HDR Render Texture not supported, disabling HDR on reflection probe.
(Filename: Line: 277)
Unloading 6 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 9.736353 ms
Only custom filters can be played. Please add a custom filter or an audioclip to the audiosource (Amb_MainMenu).
(Filename: Line: 509)
HDR Render Texture not supported, disabling HDR on reflection probe.
(Filename: Line: 277)
Initializing Google Analytics 0.2.
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:19: Initializing world generator seed: ( 0 ) menu:True worldgen version:1
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:19: Using mountain distance: 1000
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:19: Render threading mode:SingleThreaded
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:19: Get create world Dedicated
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:19: Using environment steamid 892970
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:19: Using steam APPID:892970
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
CApplicationManagerPopulateThread took 0 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
CAppInfoCacheReadFromDiskThread took 7 milliseconds to initialize
RecordSteamInterfaceCreation (PID 74): SteamGameServer012 / GameServer
RecordSteamInterfaceCreation (PID 74): SteamUtils009 / Utils
Setting breakpad minidump AppID = 892970
RecordSteamInterfaceCreation (PID 74): SteamGameServer012 / GameServer
RecordSteamInterfaceCreation (PID 74): SteamUtils009 / Utils
RecordSteamInterfaceCreation (PID 74): SteamNetworking005 / Networking
RecordSteamInterfaceCreation (PID 74): SteamGameServerStats001 / GameServerStats
RecordSteamInterfaceCreation (PID 74): STEAMHTTP_INTERFACE_VERSION002 / HTTP
RecordSteamInterfaceCreation (PID 74): STEAMINVENTORY_INTERFACE_V002 / Inventory
RecordSteamInterfaceCreation (PID 74): STEAMUGC_INTERFACE_VERSION010 / UGC
RecordSteamInterfaceCreation (PID 74): STEAMAPPS_INTERFACE_VERSION008 / Apps
02/10/2021 18:43:19: Server ID 90071992547409920
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:19: Steam game server initialized
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:19: Missing audio clip in music respawn
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:19: Builder started
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:21: Loaded localization English
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
Unloading 16 unused Assets to reduce memory usage. Loaded Objects now: 85931.
Total: 137.405538 ms (FindLiveObjects: 7.382772 ms CreateObjectMapping: 22.058746 ms MarkObjects: 107.381269 ms DeleteObjects: 0.580930 ms)
Unloading 6 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 21.952146 ms
HDR Render Texture not supported, disabling HDR on reflection probe.
(Filename: Line: 277)
HDR Render Texture not supported, disabling HDR on reflection probe.
(Filename: Line: 277)
02/10/2021 18:43:21: Zonesystem Awake 313
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:21: DungeonDB Awake 313
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:21: ZSteamSocket Registering global callbacks
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:21: Registering lobby
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:21: Initializing world generator seed:dr9bDd98EY ( 36750000 ) menu:False worldgen version:1
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:21: Using mountain distance: 1000
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:21: Found 533 mountain points
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:21: Remaining mountains:69
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:21: Calc time 37.922 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:21: Found 8393 lake points
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:26: Remaining lakes:119
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:26: Calc time 4240.214 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:26: Rivers:147
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:26: River buckets 15509
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:26: River render time 566.414 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:26: River Calc time 588.831 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:28: River buckets 24056
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:28: River render time 883.233 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:28: Placed 1813 streams
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:28: Stream Calc time 1968.743 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:28: Load world Dedicated
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:28: missing world.dat
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:28: Build settings:10
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:28: Removing -1233507428
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:28: Removing 1883198027
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:28: Removing 868418350
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:28: Removing -535269195
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:28: Removing 1547815568
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:28: Removing -359949137
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:28: Removing 319464002
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:28: Removing 1225882809
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:28: Removing 404029124
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:28: Audioman already exist, destroying self
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
Unloading 490 unused Assets to reduce memory usage. Loaded Objects now: 86244.
Total: 154.818424 ms (FindLiveObjects: 7.506463 ms CreateObjectMapping: 20.783385 ms MarkObjects: 118.728412 ms DeleteObjects: 7.798661 ms)
02/10/2021 18:43:35: Zonesystem Start 313
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:35: Generating locations
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:43:35: Checking for location duplicates
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
Warning: failed to init SDL thread priority manager: SDL not found
02/10/2021 18:44:14: Done generating locations, duration:39333.444 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:44:14: DungeonDB Start 313
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:44:15: Game server connected
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:43: Got session request from 76561198043845200
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:43: Placed locations in zone 0,0 duration 28.642 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:44: Placed locations in zone 4,-3 duration 7.137 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:44: Placed locations in zone -1,-2 duration 50.316 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:44: Placed locations in zone -3,-1 duration 24.155 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:44: Placed locations in zone 3,-1 duration 10.377 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:44: Placed locations in zone 0,2 duration 0.247 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:45: Placed locations in zone 0,-4 duration 0.45 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:45: Placed locations in zone -3,-3 duration 5.378 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:45: Placed locations in zone 1,-2 duration 0.231 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:45: Placed locations in zone -1,-1 duration 5.482 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:46: Placed locations in zone -4,0 duration 6.635 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:46: Placed locations in zone 1,-3 duration 33.166 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:46: Got handshake from client 76561198043845200
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:47: Placed locations in zone 0,-2 duration 0.322 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:47: Placed locations in zone 3,-2 duration 1.463 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:47: Placed locations in zone 4,-2 duration 15.323 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:47: Placed locations in zone -4,-1 duration 14.633 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:47: Placed locations in zone 0,-1 duration 0.312 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:48: Placed locations in zone -4,1 duration 0.273 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:48: Placed locations in zone 2,1 duration 25.254 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:49: Placed locations in zone 1,0 duration 0.483 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:49: Placed locations in zone -3,1 duration 0.156 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:49: Placed locations in zone 4,1 duration 1.638 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:50: Placed locations in zone -2,4 duration 0.201 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:50: Placed locations in zone 3,2 duration 0.181 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:51: Placed locations in zone 1,3 duration 10.383 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:51: Placed locations in zone 3,3 duration 13.797 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:51: Placed locations in zone 0,4 duration 0.186 ms
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:55: VERSION check their:0.143.5 mine:0.143.5
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
02/10/2021 18:46:55: Server: New peer connected,sending global keys
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
from valheim-docker.
It looks like your server is still running, you said it dropped to zero? try pidof valheim_server.x86_64
and let me know if returns a number
from valheim-docker.
After start, it returns number.
After disconnection from server, no number is returned.
from valheim-docker.
Is t here anything in the log after you disconnected?
from valheim-docker.
Feb 10 19:44:28 ubuntu-2gb-nbg1-1 kernel: [ 8979.296964] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=8172ae3aa650fe40ec971c57476298f146280dda9adaeecff0e76538c7366b7f,mems_allowed=0,global_oom,task_memcg=/docker/8172ae3aa650
fe40ec971c57476298f146280dda9adaeecff0e76538c7366b7f,task=valheim_server.,pid=45988,uid=1000
Feb 10 19:44:28 ubuntu-2gb-nbg1-1 kernel: [ 8979.297057] Out of memory: Killed process 45988 (valheim_server.) total-vm:8245524kB, anon-rss:1671476kB, file-rss:0kB, shmem-rss:4kB, UID:1000 pgtables:4992kB oom_score_adj:0
Feb 10 19:44:28 ubuntu-2gb-nbg1-1 kernel: [ 8979.391315] oom_reaper: reaped process 45988 (valheim_server.), now anon-rss:0kB, file-rss:0kB, shmem-rss:4kB
Found in syslog, seems like run out of memory (VPS had 2GB of total memory).
Upgraded to 4GB of total memory and seems to be running fine now.
No other log telling something usefull.
from valheim-docker.
Feb 10 19:44:28 ubuntu-2gb-nbg1-1 kernel: [ 8979.296964] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=8172ae3aa650fe40ec971c57476298f146280dda9adaeecff0e76538c7366b7f,mems_allowed=0,global_oom,task_memcg=/docker/8172ae3aa650 fe40ec971c57476298f146280dda9adaeecff0e76538c7366b7f,task=valheim_server.,pid=45988,uid=1000 Feb 10 19:44:28 ubuntu-2gb-nbg1-1 kernel: [ 8979.297057] Out of memory: Killed process 45988 (valheim_server.) total-vm:8245524kB, anon-rss:1671476kB, file-rss:0kB, shmem-rss:4kB, UID:1000 pgtables:4992kB oom_score_adj:0 Feb 10 19:44:28 ubuntu-2gb-nbg1-1 kernel: [ 8979.391315] oom_reaper: reaped process 45988 (valheim_server.), now anon-rss:0kB, file-rss:0kB, shmem-rss:4kB
Found in syslog, seems like run out of memory (VPS had 2GB of total memory).
Upgraded to 4GB of total memory and seems to be running fine now.
No other log telling something usefull.
Yes, it is a bit memory hungry. No problem with the docker container per se. ^^
from valheim-docker.
Is there any mechanism to "capture" this kind of process kill and log it / report it to user?
from valheim-docker.
I might be able to bake in a healthcheck
from valheim-docker.
Normally Docker should detect that the target process has crashed and fallback to Docker's methods of handling (eg restart and marked OOM_KILLED true under docker inspect
). It looks like the ENTRYPOINT
in the Dockerfile is bash though, and since the script is "successful", the error never propagates. Something like tini
should fix this - https://github.com/krallin/tini
from valheim-docker.
I dont see how baking in another resource on top of odin, steamcmd, and gosu would help. @vorpalhex would you mind adding more reasoning not to use the HEALTHCHECK function of a docker image? or creating a branch with a working example of this?
from valheim-docker.
I added a healthcheck in #53
from valheim-docker.
Verified on my test, stage, and production servers.
from valheim-docker.
Related Issues (20)
- Stop messages are not being sent to webhook HOT 5
- First start have failed HOT 3
- World save is not triggered on container stop HOT 10
- [BUG] "TZ" variable only changes the name of the timezone and not the time. HOT 9
- [ODIN] add preset/modifiers
- Cannot connect anymore since latest update (2023-Oct-11) HOT 7
- resource modifier help HOT 5
- cannot install bepinex using TYPE env variable HOT 5
- Requesting help,I created a container using the container,but it indicates that it is unhealthy and unable to connect. HOT 4
- On a fresh install, there is no longer a `/home/steam/valheim/unstripped_corlib`. This makes Odin think BepInEx is not installed and start the server without it. A workaround is to create it as an empty directory (`./valheim/server/unstripped_corlib`).
- Incompatible version error HOT 5
- Getting two Stop messages for server in Discord using webhook and auto restart scheduler HOT 1
- AppID Changed
- Execing into docker fails with odin commands
- Non-Existent Cron Directory Causing Auto-Backup to Not Trigger
- Weird permission issues because PUID/PGID is being ignored I think? HOT 2
- Stops at "Connecting anonymously to Steam Public...Retrying. . ." HOT 1
- Log files are nearly empty and world save does not occur on shutdown HOT 2
- Thunderstore API URL Change HOT 5
- Log is beeing flooded HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from valheim-docker.