I'm using Arch Linux and I noticed that since I installed memcached the system takes much longer to shut down, I checked and verified that this service was indeed the one which was causing it, because it keeps trying to stop it until it timeouts after one minute and a half.If I try to stop the service while the system is up the same happens, and this appears in the journal:
jun 11 13:54:27 Gawain systemd: Stopping Memcached Daemon...
jun 11 13:55:57 Gawain systemd: memcached.service: State 'stop-sigterm' timed out. Killing.
jun 11 13:55:57 Gawain systemd: memcached.service: Killing process 5372 (memcached) with signal SIGKILL.
jun 11 13:55:57 Gawain systemd: memcached.service: Killing process 5379 (n/a) with signal SIGKILL.
jun 11 13:55:57 Gawain systemd: memcached.service: Killing process 5380 (memcached) with signal SIGKILL.
jun 11 13:55:57 Gawain systemd: memcached.service: Main process exited, code=killed, status=31/SYS
jun 11 13:55:57 Gawain systemd: memcached.service: Failed with result 'timeout'.
jun 11 13:55:57 Gawain systemd: Stopped Memcached Daemon.
Asked by user2859982
(305 rep)
Jun 13, 2018, 06:44 PM
Last activity: Jun 13, 2018, 09:06 PM
Last activity: Jun 13, 2018, 09:06 PM