httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Pane <>
Subject Re: 2.0.29 high load avg
Date Wed, 09 Jan 2002 21:03:17 GMT
Greg Ames wrote:

>>Also, do we have any data on syscalls per request during the spikes?
>>Based on Greg's vmstat data showing a spike in syscalls/second concurrent
>>with the spike in load, I'd
>>expect that either:
>>  * The number of requests/second increased, or
>>  * The number of syscalls/request increased
>That's a very interesting question.  I wish I could give you a good answer.  Is
>there some function that returns the total number of syscalls a process has
>done?  If so, we could create a patch to log the delta in the number of syscalls
>at the end of each request, like I'm doing for cpu ticks now.

I can't think of a portable way to do this; getrusage doesn't supply the 
data.  But if the /proc interface on FreeBSD provides access to a syscall
counter, that might work.


View raw message