valheim-server-docker icon indicating copy to clipboard operation
valheim-server-docker copied to clipboard

Shutdown does not work, supervisord hangs, valheim-server <defunct>, lots of cron processes

Open fritzw opened this issue 2 years ago • 1 comments

Description

When trying to shut down the valheim server process cleanly in any one of the following ways, the supervisord process hangs:

  • Sending SIGINT or SIGTERM to the valheim-server process
  • Running supervisorctl shutdown in the container
  • When cronjob tries to auto-restart at 5:00 o'clock

Symptoms

  • The valheim_server.x86_64 process finishes as expected
  • Two defunct valheim-server processes remain, which supervisord does not clean up (see attached file ps.txt)
  • Any execution of supervisorctl hangs and does nothing
  • supervisord spawns a lot of /usr/sbin/CRON -f processes, every 15 minutes (see attached file ps.txt)
  • You can still docker exec -it $containername bash to run arbitrary commands in the container, except supervisorctl

dockerlog.txt ps.txt docker-compose.yml.txt

fritzw avatar Feb 18 '24 19:02 fritzw

Is there a work around for this? I'm guessing turn off auto-backups?

Drake1973 avatar Apr 06 '24 20:04 Drake1973