From owner-freebsd-questions@FreeBSD.ORG Mon Sep 22 15:33:46 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53CC6106564A for ; Mon, 22 Sep 2008 15:33:46 +0000 (UTC) (envelope-from trashy_bumper@yahoo.com) Received: from web110509.mail.gq1.yahoo.com (web110509.mail.gq1.yahoo.com [67.195.8.114]) by mx1.freebsd.org (Postfix) with SMTP id 166208FC1C for ; Mon, 22 Sep 2008 15:33:45 +0000 (UTC) (envelope-from trashy_bumper@yahoo.com) Received: (qmail 86139 invoked by uid 60001); 22 Sep 2008 15:33:45 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=eCMip07fDfJKOhIbh1rdFiWLB3rVQYeMW0mLyTgKcmN5leSwNUC8yjElg653XiaCdy4rulxXJMhXHPfd+MuptryRp8y9gVh4tlxSq81AWQB6jRQWsbIc1GbZ53AiJ+6R2KKH2iNiJqiuWqz2/fad2kLbSVUjhcUAS1fMTRdVu4E=; X-YMail-OSG: RQTvG7YVM1kLB9cGqrbEXJkOkwme9WT5EDEoFWY28OhhPMCNkQA1m0ksW07KbhzqZimMlPgdBl1PQaXw3.YtazKtqqEy6zLsWR4d1foQRuGK0rxkESqUupP6O8GYGYpiHyglfQ0q5h030XnDQ7QKe.NbiSarSIcs.Mrb4u5qXkE1zPEgo7rz Received: from [77.122.205.244] by web110509.mail.gq1.yahoo.com via HTTP; Mon, 22 Sep 2008 08:33:45 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Mon, 22 Sep 2008 08:33:45 -0700 (PDT) From: Nash Nipples To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <705829.85873.qm@web110509.mail.gq1.yahoo.com> Subject: Re: Uplading file via Lighttpd - system hangs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: trashy_bumper@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2008 15:33:46 -0000 >> 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