From owner-freebsd-questions@FreeBSD.ORG Tue Sep 23 16:11:19 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 514E0106573E for ; Tue, 23 Sep 2008 16:11:18 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from server4.cretaforce.gr (server4.cretaforce.gr [85.17.232.205]) by mx1.freebsd.org (Postfix) with ESMTP id 6FC1B8FC13 for ; Tue, 23 Sep 2008 16:11:18 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from [192.168.0.10] (athedsl-118167.home.otenet.gr [85.75.37.54]) by server4.cretaforce.gr (Postfix) with ESMTPA id 5ABDE39836; Tue, 23 Sep 2008 19:12:00 +0300 (EEST) From: Chris To: Daniel Gerzo In-Reply-To: References: <705829.85873.qm@web110509.mail.gq1.yahoo.com> <692c9a9f0809220911o54c8a7eey41df730aa10f2c9f@mail.gmail.com> <200809221904.42753.fbsd.questions@rachie.is-a-geek.net> Content-Type: text/plain Date: Tue, 23 Sep 2008 19:11:16 +0300 Message-Id: <1222186276.11548.2.camel@desktop.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Cc: Yury Michurin , Mel , 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:11:19 -0000 If you check top command, do you see lighttpd using 99% CPU ? Also does both php and static content "hang" ? If you have these symptoms the problem is the same. I use strace and found that lighttpd doesn't accept more connections when this thing happens. > 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. > > > >