NYCPHP Meetup

[nycphp-talk] Finding current status of httpd

Hans Zaunere hans at nyphp.org
Mon Aug 18 12:54:21 EDT 2003



Chris Snyder wrote:

> Without compiling in mod_status support, which I will do in absence of a
> quicker fix, is there any way to tell what request a particular httpd
> process is serving?

Not that I know - at least not as complete as mod_status provides.  There is a scoreboard file, which I haven't played around with much, but might help.

> Googlebot is using up 100% of my CPU, I'm curious to see what it is
> getting hung up on.
> 
> By the way, I've tried lsof -p <pid of process> but it doesn't tell me
> what file is being served, it just lists all the logs and the connection
> to the Googlebot.

Hmm, I think it should.  What about some of the other flags, like -d and so forth?  But I'd just go ahead load mod_status up :)

H





More information about the talk mailing list