Date: Sat, 4 Sep 1999 13:08:31 -0400 (EDT) From: "Brian F. Feldman" <green@FreeBSD.org> To: hackers@FreeBSD.org Subject: sockbuf starvation solution Message-ID: <Pine.BSF.4.10.9909041301310.72292-100000@janus.syracuse.net>
next in thread | raw e-mail | index | archive | help
I do need help completeing this little project. Basically, the sockbuf starvation problem can be solved by using administrative restrictions on total sockbuf size. So far, I have things almost working. The only problem is that on PF_LOCAL SOCK_STREAMS (or at least that's where it shows up) there is a problewm with the sbsize not being adjusted correctly. I wish it were easier to solve, but I really need help. The problem is the KASSERT() I added to make sure sbsize did not drop below zero (to catch this exact problem.) It gets tripped, and I can't seem to figure out why it drops below zero. I'd really appreciate it if anyone with with the ability to help debug this would. It's up at: http://www.FreeBSD.org/~green/sbsize2.patch -- Brian Fundakowski Feldman / "Any sufficiently advanced bug is \ green@FreeBSD.org | indistinguishable from a feature." | FreeBSD: The Power to Serve! \ -- Rich Kulawiec / To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9909041301310.72292-100000>