cron_daily.php - Warning: Truncating oversized referrer field

Discussion in 'General' started by kziokok, Dec 15, 2014.

  1. kziokok

    kziokok New Member

    Hello. Please what doeas mean these warnings and how can I fix that?
    Code:
    root@server:~# /usr/local/ispconfig/server/cron_daily.sh
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    
    Today I saw on the server 39 /usr/local/ispconfig/server/cron_daily.sh processes started by cron. Load average was very big(around 600-700 (I never seen it before)). I killed them and load avg is now around 8(it's big but I don't know why and don't know if is it relevant to the problem with cron_daily.php).
    I think that cron_daily.sh should exit but when I run it from terminal, it is running with no end. Is it ok or the problem?

    Code:
    crontab -l
      1 */2 * * * * /usr/bin/virtio_stats > /dev/null 2>&1
      2 #05 00 * * * /usr/local/bin/automysqlbackup
      3 * * * * * /usr/local/ispconfig/server/server.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done
      4 30 00 * * * /usr/local/ispconfig/server/cron_daily.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done
    
    Next problem was with apache-apache wasn't accessible for a few minutes(around 50). Can it be relevant with many of running processes? In /var/log/apache2/error.log is error and some warnings:
    Code:
    [Mon Dec 15 10:47:19 2014] [error] server reached MaxClients setting, consider raising the MaxClients setting
    [Mon Dec 15 10:52:07 2014] [warn] mod_fcgid: process 21264 graceful kill fail, sending SIGKILL
    [Mon Dec 15 10:52:10 2014] [warn] mod_fcgid: process 21308 graceful kill fail, sending SIGKILL
    [Mon Dec 15 10:52:11 2014] [warn] mod_fcgid: process 21308 graceful kill fail, sending SIGKILL
    [Mon Dec 15 10:52:15 2014] [warn] mod_fcgid: process 21234 graceful kill fail, sending SIGKILL
    .....
    
    Can someone say me what does do cron_daily.sh or send some link with for learn it?

    Thanx for replies!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Cron daily runs all tasks that have to be run at night like statistics creation and backups. The message "Warning: Truncating oversized referrer field" is harmlessm its from webalizer and is issued when webalizer truncates a line from log that is too long. So nothing to worry about.

    Do not run this script manually, it is made to be run exactly once every night, running it manually will cause corrupted statistics and backups. This script might run for several hours, depending on your server size and traffic.
     

Share This Page