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

[cobalt-developers] parseReport.pl and huge web.cache



Hi,

We've got a RaQ4r with 512meg of memory. Every night, run from the 
cron.daily jobs, logrotate is causing problems with our server. We're 
getting daily messages from the RaQ software that the server is low on 
memory at about 5am. After further investigation, it appears that a script 
called parseReport.pl is using most of the memory on the server. It's also 
causing the load on the server to increase, and because of the high load has 
caused sendmail to shut down temporarily. Here is output from top showing 
this:

5:25am up 63 days, 17:12, 0 users, load average: 1.66, 2.35, 2.16 95 
processes: 92 sleeping, 3 running, 0 zombie, 0 stopped CPU states: 0.0% 
user, 0.6% system, 0.7% nice, 0.2% idle Mem: 517188K av, 515072K used, 2116K 
free, 84192K shrd, 10484K buff Swap: 131448K av, 122500K used, 8948K free 
11708K cached

PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND 23206 root 11 
0 453M 406M 556 R 0 54.8 80.4 11:52 parseReport.

This shows that parseReport is using 80.4% of memory on the server. This 
occurs for at least 30 minutes and seems to be the cause of the problem.

This script is Cobalt software, located: 
/usr/admserv/cgi-bin/.cobalt/webUsage/parseReport.pl It appears to parse 
analog stats to print some reports for the web gui.

I have seen other people post asking for help with this. Does anyone know 
what is wrong with this Cobalt script? Does anyone know how to fix it?

It is my guess that this has something to do with the huge logfiles that the 
Cobalt is creating (called web.cache and web.cache.new). These are both 
around 250meg each now on my server, so I wonder if I can delete these to 
solve the problem?

Does anyone know how to disable the stats that the Cobalt does for you? They 
are pretty useless, and seem to be causing huge problems.

Thanks in advance for any help.

Marcus Miller



--------------------
talk21 your FREE portable and private address on the net at http://www.talk21.com