George V. Neville-Neil wrote:
[snip]
I believe that a better solution is possible, but it will take more
careful study.  One option is to start adding drain routines to UDP
that cause the protocol to drop packets under load, which is the
problem we're seeing.  In our tests the server process cannot read
data fast enough to clear enough mbufs/clusters back to the system and
it gets stuck in a write() call.

I'm not very sure, but in the past, the problem seems to be that for some reasons the sleep threads on zonelim were not being awaken any more, have you tried to adjust the nmbcluster sysctl (like a 2x increase) to see if the problem goes away?

Cheers,
--
Xin LI <[EMAIL PROTECTED]>        http://www.delphij.net/
FreeBSD - The Power to Serve!
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to