critical: services going down with daily cron

Discussion in 'Installation/Configuration' started by manarak, Apr 15, 2013.

  1. manarak

    manarak Member

    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:
    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!
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
  3. manarak

    manarak Member

    thank you Till

    it is ISPConfig

    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 ?
  4. manarak

    manarak Member

    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
  5. manarak

    manarak Member

    I upgraded the server to ispc
  6. manarak

    manarak Member

    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 scripts, right?
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    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.

Share This Page