Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #61  
Old 1st September 2006, 10:17
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,770
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Sponsored Links
  #62  
Old 1st September 2006, 10:52
hairydog2 hairydog2 is offline
Senior Member
 
Join Date: Oct 2005
Posts: 196
Thanks: 9
Thanked 3 Times in 2 Posts
Default

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)
Reply With Quote
  #63  
Old 3rd October 2006, 23:34
madcrock madcrock is offline
Junior Member
 
Join Date: Oct 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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:

Quote:
Warning: array_merge(): Argument #1 is not an array in /root/ispconfig/scripts/shell/webalizer.php on line 161
It's easy to fix. Add $directory_array = array(); just after dir_array function declaration in webalizer.php like this:

Code:
function dir_array($dir){
  $directory_array = array();
  if ($dirstream = @opendir($dir)) {
Everythings works fine for me now.
Reply With Quote
  #64  
Old 4th October 2006, 18:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by madcrock
It's easy to fix. Add $directory_array = array(); just after dir_array function declaration in webalizer.php like this:
I've just fixed it in the SVN repository, so it will be available in the next ISPConfig release (2.2.7).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #65  
Old 10th October 2006, 20:13
wr19026 wr19026 is offline
Senior Member
 
Join Date: Jan 2006
Posts: 172
Thanks: 7
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by madcrock
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:

Code:
function dir_array($dir){
  $directory_array = array();
  if ($dirstream = @opendir($dir)) {
Everythings works fine for me now.
Do you need to restart anything?
Reply With Quote
  #66  
Old 11th October 2006, 13:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

No, no restart is needed. The webalizer script is run by cron.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 17:57.


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