This morning one of my VPS servers crashed - kernel panic, out of memory - due to hundreds of perl interpreter processes spawning and not dying from webmin.
Centos 6.4 in Xen virtual environment, Virtualmin repository enabled and a recent update was applied.
Got lots of email to root.
Subject: Cron <root@webserver> /etc/webmin/status/monitor.pl
Error: Failed to lock file /etc/webmin/status/oldstatus after 5 minutes. Last error was :
Failed to lock file /etc/webmin/status/oldstatus after 5 minutes. Last error was :
I haven't looked at the code but I suggest that if a fail to lock occurs after five minutes then the script should kill itself, maybe resetting the mutexed object after a couple of hours somehow, This would reduce the build up of perl processes waiting for a lock which is blocking for some reason.
Log in to post a comment.