httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Pane <>
Subject Re: 2.0.30-dev load spiking [was: upgrade to FreeBSD 4.5-PRERELEASE]
Date Fri, 04 Jan 2002 14:25:47 GMT
Greg Ames wrote:

>Aaron Bannert wrote:
>>On Thu, Jan 03, 2002 at 11:56:26AM -0500, Greg Ames wrote:
>>>I do see some weirdness in 2.0.30 with -
>>>it looks like we're doing one byte reads from the pipe to the cgi.  I
>>>don't know yet if 2_0_28 does the same.  
>2_0_28 does the same, so that's not it.  (sigh)  But it sure looks
>broken.  I put new trusses of just running that cgi on both levels in
>>I don't think that would spike the run queue more than 1, no?
>I'm thinking that we've got something that burns CPU like crazy for a
>while, then stops.  If in the mean time normal I/O is completing, the
>kernel would be adding things to the run queue at a normal rate. 
>Process just wouldn't leave the run queue as quickly as they normally

Right--A single process burning CPU, plus many others with
requests to process, could explain the observed run queue

 From the 2.0.30 truss, I just computed the number of syscalls
per request (by counting the lines between accept statements).
In case it's helpful, most requests from this trace used between
28 and 50 syscalls, except for these three:  (130 syscalls for the directory listing) (85 syscalls)  (84 syscalls)  (60 syscalls, including stats for all
                           the .html files under that dir(?),
                           starting on line 5484 of the listing at

View raw message