I've ran out of ideas
Aaron Glenn
aaron.glenn at gmail.com
Thu Nov 18 17:55:46 PST 2004
On Thu, 18 Nov 2004 15:29:14 -0800, Sean Chittenden <sean at chittenden.org> wrote:
> Are you using thttpd+sendfile(2)? If so, I'm going to guess you've
> exhausted your sendfile(2) buffers. Can you run top to see what the
> state of your thttpd process is? I've bumped into this numerous times.
sendfile? I wasn't aware of that option. I'll look into it
11303 nobody -8 0 4124K 3516K biord 4:35 2.83% 2.83% thttpd
This is with the previous sysctl changes mentioned, and a new kernel
with HZ set to 2000 and DEVICE_POLLING enabled. Absolutely no change
on the interrupts - still 12-14% cpu.
> If you look through arch@ there's a patch from me to change the
> behavior of sendfile(2) so that it returns with ENOBUFs instead of
> blocking when your sendfile buffers are exhausted. I would've thought
> that alc@'s work on sendfile(2) would've prevented this from happening,
> but you may have just exhausted them in which case you're getting
> killed by this. -sc
>
> --
> Sean Chittenden
More information about the freebsd-performance
mailing list