[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] RAQ4 slowing down with high processor load.



> parseReport.pl is the script that creates the stats the the admin
> interface.  If you set the size of virtual website really big (our
> home site is 15GB) log rotate won't rotate the logs until they are 10%
> of the size of the sites quota.  This means that after a few years of
> operation you could potential have some really really big logs, which
> of course start to be a problem with parseReport.pl.  The solution I
> fond was to modify the way logrotate and the parseReport.pl work by
> first reducing the size that logrotate uses down to 1% or something
> similarly small then secondly deleting a few lines in parseReport.pl
> that create the internal admin statistics.  I can post more details if
> you wish but maybe that will head you on the correct track. 

Ah - I hadn't  noticed before because that domain is not used to host web pages,  but the home 
(ns) site was allocated 1000MB of space. Now even though all it  has on it is the default cobalt 
index.html page system status shows the usage as  1%.  I looked in the logs directory but the 
files are fairly small (20MB max) so  where would I find the large file that's causing the 
problems?   


More details would be very useful - thanks very much. Email address is below. 

We are arranging for more RAM to be installed which hopefully will help but I  would prefer to 
resolve this now and make sure it doesn't happen again. 

Neil  
-- 
      _  
 |\ ||_ | \    http://www.iom.org
 | \||_ |_/   

"I love to cook with wine - sometimes I even put it in the food!"