From owner-freebsd-questions@FreeBSD.ORG Tue Sep 23 16:05:53 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 B11321065670 for ; Tue, 23 Sep 2008 16:05:53 +0000 (UTC) (envelope-from danger@rulez.sk) Received: from services.rulez.sk (services.rulez.sk [92.240.234.125]) by mx1.freebsd.org (Postfix) with ESMTP id 63F298FC1C for ; Tue, 23 Sep 2008 16:05:53 +0000 (UTC) (envelope-from danger@rulez.sk) Received: from localhost (services.rulez.sk [92.240.234.125]) by services.rulez.sk (Postfix) with ESMTP id 2B8591334500; Tue, 23 Sep 2008 18:05:52 +0200 (CEST) X-Virus-Scanned: amavisd-new at rulez.sk Received: from services.rulez.sk ([92.240.234.125]) by localhost (services.rulez.sk [92.240.234.125]) (amavisd-new, port 10024) with ESMTP id sNmQEwkrIhFr; Tue, 23 Sep 2008 18:05:51 +0200 (CEST) Received: from hosting.cia.sk (hosting.cia.sk [92.240.234.123]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by services.rulez.sk (Postfix) with ESMTPS id 5F3EA13344A5; Tue, 23 Sep 2008 18:05:51 +0200 (CEST) Received: (from www@localhost) by hosting.cia.sk (8.14.2/8.14.2/Submit) id m8NG5pYP044477; Tue, 23 Sep 2008 18:05:51 +0200 (CEST) (envelope-from danger@rulez.sk) X-Authentication-Warning: hosting.cia.sk: www set sender to danger@rulez.sk using -f To: Mel MIME-Version: 1.0 Date: Tue, 23 Sep 2008 18:05:51 +0200 From: Daniel Gerzo In-Reply-To: <200809221904.42753.fbsd.questions@rachie.is-a-geek.net> References: <705829.85873.qm@web110509.mail.gq1.yahoo.com> <692c9a9f0809220911o54c8a7eey41df730aa10f2c9f@mail.gmail.com> <200809221904.42753.fbsd.questions@rachie.is-a-geek.net> Message-ID: X-Sender: danger@rulez.sk User-Agent: RoundCube Webmail/0.2a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Cc: Chris , Yury Michurin , freebsd-questions@freebsd.org 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: Tue, 23 Sep 2008 16:05:53 -0000 Hello guys, I have noticed today that I have another problem possibly related to this issue. I am running lighttpd+php-cgi in a jail on a 7.0-STABLE system as of Thu Aug 21 10:59:02 CEST 2008. The problem seems to be that lighttpd stops serving the pages, however I haven't had time to dig into this any more closer, but I have found out that there's a lot of connections to the lighty when it seems to be "dead". May be it does not close the connections properly?? The only common thing here is that that this jail is serving a page where a lot of image uploading happens. On Mon, 22 Sep 2008 19:04:41 +0200, Mel wrote: > On Monday 22 September 2008 18:11:05 Yury Michurin wrote: >> 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. > > I don't think it's halted, I think it's cluttered by invalid syscalls. > Secondly, any userland process can make the system unresponsive, by bad > coding. Just write /tmp and /var/tmp full. It's not so hard. > > I don't think that's the case here though. Any of you guys logging netstat > -m > output every 500ms? Maybe you can see mbufs being drained just before the > system stops servicing syscalls. > > -- S pozdravom / Best regards Daniel Geržo