DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23795>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23795

mod_status reports too much CPU when using worker mpm





------- Additional Comments From [EMAIL PROTECTED]  2003-10-27 20:26 -------
The problem is apparently that each thread is using times() syscall to retrieve
info on CPU usage for entire process, and mod_status is joyfully adding up all
the values :)  What we really need is to pick the times() info that was
retrieved most recently by some thread in the process.

I'll attach a patch in a sec that seems to resolve the problem for me.  It would
be helpful if you could try it out.

Note that in the extended status table the same CPU seconds will be reported for
each thread.  I haven't done anything about that.  Perhaps "=" or some other
symbol should be printed for threads other than the first one.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to