HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   critical: services going down with daily cron (http://www.howtoforge.com/forums/showthread.php?t=61470)

manarak 15th April 2013 12:18

critical: services going down with daily cron
 
I have installed ISPConfig on several Vservers using Falko's perfect server for Debian Squeeze.

I got a big problem:

at server time 01:14, on *some* sundays, the following services go down:
sshd
pureftpd
courier
syslog (no more logging)
maybe more services go down, but these are the ones I noticed

at server time 01:14, it does the daily cron as well as log rotation.

here is what happens:

rsyslogd received a HUP and "exists on signal 15". Logs stop with that line. after that, nothing gets logged anymore.

in the general server apache2 error.log, I find:
[notice] Graceful restart requested, doing restart
and then some lines:
DBD::mysql::db do failed: MySQL server has gone away at /usr/local/ispconfig/server/scripts/vlogger 528
DBD::mysql::db st execute failed: MySQL server has gone away at /usr/local/ispconfig/server/scripts/vlogger 521
DBD::mysql::db do failed: MySQL server has gone away at /usr/local/ispconfig/server/scripts/vlogger 528
then the log ends

when this happens I have no sshd, no ftp and no mail,
BUT: apache and mysql are still running.

can someone help me debug this?

Thank you!

till 15th April 2013 12:20

Which virtualisation technlogy do you use for the vm's?

Which ispconfig version do you use? According to the vlogger errors, it does not seem to be 3.0.5 as logging into the db has been disabled.

manarak 15th April 2013 12:26

thank you Till

it is ISPConfig 3.0.4.5

I will ask the hoster about the virtualization technology - I'm sure it is not cloud tech, if that helps.

Should I upgrade to ISPC 3.0.5 ?

manarak 15th April 2013 12:31

I forgot to list some errors from the logs:

in var/log/ispconfig/cron.log I found the following errors:

FATAL: could not load /lib/modules/2.6.32-5-vserver-amd64/modules.dep: no such file or directory
and I also got a message on ip6tables initialization failed

manarak 15th April 2013 13:16

I upgraded the server to ispc 3.0.5.2

manarak 16th April 2013 14:46

I don't know if this is related, but the fork rate at 01:00 am rises to 600 forks/second for about 10 to 20 minutes, and CPU usage triples, load jumps from 0.4 to 1.2 average for 30 minutes.

What is the server doing at 01:00 am?
This is the logrotation and server.sh scripts, right?

till 17th April 2013 16:44

Quote:

What is the server doing at 01:00 am?
The ispconfig daily cronjob runs at 0:30 am, it creates the statistsics, rotates the logs and creates backups if there are backup jobs configured.


All times are GMT +2. The time now is 07:09.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.