Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Sep 2008 16:10:56 +0200
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Cc:        Chris <chris@cretaforce.gr>
Subject:   Re: Uplading file via Lighttpd - system hangs
Message-ID:  <200809221610.56688.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <1222055197.10213.12.camel@desktop.lan>
References:  <1222055197.10213.12.camel@desktop.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809221610.56688.fbsd.questions>