Date: Fri, 26 Mar 2004 17:41:44 -0600 From: Kevin Day <toasty@dragondata.com> To: freebsd-net@freebsd.org Subject: sendfile returning ENOTCONN under heavy load Message-ID: <23E302EC-7F7F-11D8-AA0F-000A95A8A1F2@dragondata.com>
next in thread | raw e-mail | index | archive | help
I'm using thttpd on a server that pushes 300-400mbps of static content, using sendfile(2). Once the load reaches a certain point (around 800-1000 clients downloading, anywhere from 150-250mbps), sendfile() will start randomly returning ENOTCONN, and the client is disconnected. I've raised kern.ipc.nsfbufs pretty high and that hasn't made any difference. Is there any easy way to tell exactly why the sockets are being closed? I can't seem to find any obvious signs of memory exhaustion or anything. Thanks, Kevin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23E302EC-7F7F-11D8-AA0F-000A95A8A1F2>