Long time to shutdown

mariadb

(Wayne Bilger) #1

I am getting this mesage when trying to shutdown

A stop job is running for Mariadb database service

I am running in a Virtualbox VM, , takes 5 minutes or so to shutdown.


In proxmox after reboot, autostart, can't access dashboard
Nethserver stopped working
(Markus Neuberger) #2

Hi @wbilger,

found some links about having this problem when the disk is full, could this be the problem?


(Wayne Bilger) #3

Unfortuanately no, I had found that as well.
It does not take 5+ minutes to shutdown every time, but I would say 95% of the time.
I have multiple NS servers, this one happens to be a home server running no more than NextCloud, but this happens on my work production and test servers as well. The one thing in common is they all run NextCloud, wonder if that is the issue.


(Filippo Carletti) #4

Here some tips to debug slow shutdown.


(Wayne Bilger) #5

I followed the instructions. The shutdown -f command shuts down the VM immediately.
A normal shutdown takes 5-10 minutes. I uploaded the shutdown-log.txt file here;