I just updated Debian 5.0 and upgraded ISPC3 126.96.36.199 to 188.8.131.52.
After the update/upgrade when I modify a website, occasionally the cron job for /usr/local/ispconfig/server/server.sh
will hang. When this happens each new instance of server.php opens a mysql connection and then waits for the previous instance to die. Well since it didn't neither did each new instance and so tied up all available mysql connections.
If all connections to MySQL are tied up then no one can login for email, ftp, websites (including ISPConfig) until the process were stopped and the lock file was removed.
You know... it just occurred to me that when I was searching the log files I came across an error where server.php segfaulted thereby leaving the lockfile. Is this what would happen if the lockfile was never removed?
If this is so, could we record the PID in the lockfile and then check the for the PID?
Let's say that the PID is no longer running then update the lockfile with the new PID and then remove when complete.