From owner-freebsd-questions@FreeBSD.ORG Mon Sep 22 16:11:07 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 4C7B910656AC for ; Mon, 22 Sep 2008 16:11:07 +0000 (UTC) (envelope-from yury.michurin@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id 0506F8FC6B for ; Mon, 22 Sep 2008 16:11:06 +0000 (UTC) (envelope-from yury.michurin@gmail.com) Received: by an-out-0708.google.com with SMTP id b33so146526ana.13 for ; Mon, 22 Sep 2008 09:11:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=ZYUzkXnR1QQ91/EtUuvgfSynUH3U1q1IPq/IgJLfw2U=; b=FItGS8fO+ERLNOGBU4ywewycAwdKzAXWzk5MVkYxpKAPJdNWr0NFkTSAlQUyas4Ws6 e0uFHbrWe9D337jvdJ9VgfIcUuMEmUPxWPuJMnHOqjyC+HCQ/Yqy+XjzM2nHfu7BJTaz w6hSHfgAjC2Rq1bxb9Z2QxZn/ZR6MJJW7iNNw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=YNLdAxXp4vJMruIm4WJIvqYo9TgjWsG1ukTdFYU0xgKl5/9XNddRbJ1AOb40zDesY9 6uABvKC9wSJBtVG7IxyVf3kfw+1e7ofyFy3dfCHia+Y6f9uvyoXznfJm2iWBSx7QsTON gghq/mkKeJN9MitlqMdOwZgZ9SPDz+8zCepQk= Received: by 10.64.185.18 with SMTP id i18mr7532014qbf.65.1222099865611; Mon, 22 Sep 2008 09:11:05 -0700 (PDT) Received: by 10.64.208.2 with HTTP; Mon, 22 Sep 2008 09:11:05 -0700 (PDT) Message-ID: <692c9a9f0809220911o54c8a7eey41df730aa10f2c9f@mail.gmail.com> Date: Mon, 22 Sep 2008 19:11:05 +0300 From: "Yury Michurin" To: freebsd-questions@freebsd.org In-Reply-To: <705829.85873.qm@web110509.mail.gq1.yahoo.com> MIME-Version: 1.0 References: <705829.85873.qm@web110509.mail.gq1.yahoo.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 16:11:07 -0000 Well, I'm working now on creating memory dump. and send it forward for more knowledgeable people, however, as you might notice, different people, with different hardware, and even different version 7.0 and 7.1, have the same problem. Even if lighttpd / php / some script / whatever misbehaves, system should not be halted by such userland proccess. Regards, Yury. On Mon, Sep 22, 2008 at 6:33 PM, Nash Nipples 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 > > 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 > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >