log files, rotation and emailing them

Discussion in 'General' started by hairydog2, Nov 25, 2005.

  1. till

    till Super Moderator Staff Member ISPConfig Developer

    Timelimits are normally not performance releveant. Only if you have some scripts on your server that are buggy and run until they where killed by the timelimit.
  2. hairydog2

    hairydog2 New Member

    It may be the memory setting that is slowing things down.

    However, the server seems to be getting very busy. I think I'll have to look into finding out the best way to boost its performance.

    It'll probably serve 1.5 million mysql/php pages this month, as well as dozens of domains that serve flat file html (in smaller volumes)
  3. madcrock

    madcrock New Member

    webalizer.php warning fixed, log rotation works ok now

    I also had a problem with logs growing over 1 GB and not being rotated.
    It was related with webalizer.php warnings like this:

    It's easy to fix. Add $directory_array = array(); just after dir_array function declaration in webalizer.php like this:

    function dir_array($dir){
      $directory_array = array();
      if ($dirstream = @opendir($dir)) {
    Everythings works fine for me now.
  4. falko

    falko Super Moderator ISPConfig Developer

    I've just fixed it in the SVN repository, so it will be available in the next ISPConfig release (2.2.7). :)
  5. wr19026

    wr19026 New Member

    Do you need to restart anything?
  6. falko

    falko Super Moderator ISPConfig Developer

    No, no restart is needed. The webalizer script is run by cron.

Share This Page