Silly Apache Question...

Darrin Chandler dwchandler at stilyagin.com
Thu May 4 14:24:35 MST 2006


On Thu, May 04, 2006 at 02:11:34PM -0700, Zeddy wrote:
> How can you tell what apache is doing.... i'm having something happen  
> every night at like 3am....
> 
> USER      PID %CPU %MEM   VSZ  RSS  TT  STAT STARTED      TIME COMMAND
> apache  70206 96.7  0.3  3540 3028  ??  R    11:15PM 249:14.29 /usr/ 
> local/apache/bin/httpd -DSSL (perl5.8.4)
> popuser 57198 11.3  0.0     0    0  ??  Z     3:29AM   0:00.00   
> (perl5.8.4)
> 
> killing and restarting apache fixes it... but... it kills  
> everything.... cus it's beating on the server....
> 
> is there anything like top that would show what site is doing this...

You can check the access and error logs to see what requests are
happening at that time.

Also check out what cron is doing at that time.

Lsof might help (see what the PID has open), netstat might help (see who
that process is talking to). Probably a lot of other ways to look, too.

-- 
Darrin Chandler            |  Phoenix BSD Users Group
dwchandler at stilyagin.com   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |


More information about the PLUG-discuss mailing list