Date: Mon, 22 Sep 2008 08:33:45 -0700 (PDT) From: Nash Nipples <trashy_bumper@yahoo.com> To: freebsd-questions@freebsd.org Subject: Re: Uplading file via Lighttpd - system hangs Message-ID: <705829.85873.qm@web110509.mail.gq1.yahoo.com>
next in thread | raw e-mail | index | archive | help
>> It looks like the freebsd-sendfile is broken. I had the same problems >> the last days and now I know the source of the problem. Have a look on >> this PR: >> >> http://www.freebsd.org/cgi/query-pr.cgi?pr=125592 >Yeah, I looked into this, but I do not see why this has anything to do >with >sendfile in FreeBSD. >When you upload a file, you (the server) don't *send* anything, you >*read*, so >sendfile(2) shouldn't even come into play. Why this magically starts >working >when changing the write backend, is a mystery, but most likely the answer >lies in PHP. >If you can, use a different upload script for testing, one that is not >done >via PHP, but plain CGI. There should be some available on the net. >-- >Mel im in a serious doubt that a write() family function could have possibly stop something from responding when login is still accepting read() buffer please dont tell me that a userland process can possibly halt everything unless there is a serious harware malfunction. i think this particular case needs solid debugging and investigation. nash
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?705829.85873.qm>