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

Re: [cobalt-developers] parseReport.pl



le 17.10.2001 16:37, Matt Doherty à mdoherty@xxxxxxxxxxxxx a écrit :

> Perl scrips in web sites,
> I had the same problem ONCE! .. ONCE! (Johnny Dangerously)
> I currently support many web sites and do not know which one the .pl script
> came from.
> I telneted into the cobalt and typed "updatedb" command. (just to make sure
> that the cobalt is up to spec for the next command.
> next I typed "locate perlscript.pl"
> once I found it. I did my favorite command. "mv /path/to/perl/script.pl  . "
> (I moved it out of its location to mine where my pwd is.)
> and waited for someone to call me on this.. It was a quick find for the person
> who put it there and for me to explain to him what its doing to the server..
> they 
> modified it and things are well now..heehee Maybe this will help you
> 
> 
> 
> ------- Original Copy -------
> Subject: [cobalt-developers] parseReport.pl
> Date: 10/16/2001 2:46 PM
> From: Skyhound Internet <tom@xxxxxxxxxxxxxxxxxxxx>
> To: cobalt-developers@xxxxxxxxxxxxxxx
> Reply-To: cobalt-developers@xxxxxxxxxxxxxxx
> 
>> Hello,
>> 
>> I have a Raq4 and had no problems like this for 9 months but over the last
>> few weeks I've been getting paged by the Raq that memory and CPU usage
> is 
>> maxed out.  This happens nearly every morning around 6am when site
> usage is 
>> low.
>> 
>> I have 512MB Ram but according to TOP some perl file called
> parseReport.pl 
>> is taking 100% of my resources at that time.
>> 
>> Does anyone know what this file is doing and why all the sudden it is
>> killing my box? And, what I can do to fix this would be appreciated as well!
>> 
>> Thanks
>> 
>> Tom Hanberg
>> 

Hum very interesting what you are telling us Matt, but I'm afraid that it's
non-sense :-))

The Parsereport.pl script can be found in the following directory on a Raq3,
I'm almost sure that it will be in same spot on a RaQ4:

/usr/admserv/cgi-bin/.cobalt/webUsage/Parsereport.pl


This scripts is used by the Cobalt during it's logrotation, I believe it
generates the usage pages for the GUI, but it belongs to the cobalt GUI, so
don't bust unless you know what you are doing.


For all of you, take a glance at the /usr/admserv/cgi-bin/.cobalt,
that where Cobalt hides it's perl script, that rule the GUI.
Another directory to take a look at is
/usr/lib/perl5/site_perl/5.003/Cobalt ( on a RaQ3 ), that's where the Cobalt
perl modules are, containing all the handling of the cgi/perl scripts

=======================================================================

Marco Baurdoux
Unix Administrator
Infomaniak Network SA
Avenue de la Praille 26
1227 Carouge
Switzerland
Tel: +41 (0)22 820 35 41
Fax: +41 (0)22 820 35 46
http://web.infomaniak.ch

Linux/Unix is very user friendly,
it's just very picky about who its friends are !!!

=======================================================================