From owner-freebsd-questions@FreeBSD.ORG Mon Sep 22 14:11:26 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 95F651065673 for ; Mon, 22 Sep 2008 14:11:26 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 6C8E18FC12 for ; Mon, 22 Sep 2008 14:11:25 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 8B71DAFBC01; Mon, 22 Sep 2008 06:11:24 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Mon, 22 Sep 2008 16:10:56 +0200 User-Agent: KMail/1.9.7 References: <1222055197.10213.12.camel@desktop.lan> In-Reply-To: <1222055197.10213.12.camel@desktop.lan> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809221610.56688.fbsd.questions@rachie.is-a-geek.net> Cc: Chris Subject: Re: Uplading file via Lighttpd - system hangs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2008 14:11:26 -0000 On Monday 22 September 2008 05:46:37 Chris wrote: > 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 Problem with today's modular software: they start with the modules and never get to the software part.