From owner-freebsd-stable@FreeBSD.ORG Fri Oct 23 19:15:03 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9631F106566B for ; Fri, 23 Oct 2009 19:15:03 +0000 (UTC) (envelope-from sullrich@gmail.com) Received: from mail-ew0-f218.google.com (mail-ew0-f218.google.com [209.85.219.218]) by mx1.freebsd.org (Postfix) with ESMTP id EBD318FC08 for ; Fri, 23 Oct 2009 19:15:02 +0000 (UTC) Received: by ewy18 with SMTP id 18so8880816ewy.43 for ; Fri, 23 Oct 2009 12:15:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=eLmENGmY9h9JSr+kB3c0gJbh59V95uQl2zJ7a2xTYSA=; b=KkmYALHfxd9Dgd9IApwC8IqnRLFhpVGC0xfQmjL6TY/6bZYlwlKoNMhZoMgcQmD128 DBIunU6pcoZw5S6Xume30mLLqixU5ahLG1RCxDAaQ1sGUYqlMVpa4Wt7H9iQWnMGfhGN BcWZDgYdcm1CZn8iBXfo40MaqT8mjSmpOzkFg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=EpfL6K/GhpEJ1wvDqDxVpsrNc5Jg4o5EhhfSlI6yDwxpNNE77cCJJ81VtM5zhwbpsW WPS/hLgU7wZLAd546rXalBv+vPD4eUaGAMNQhx87wI5cZA+uUKRCEh4AaTMcue5lQHDy /dX/4hISICBmjtLXhF+a7MESWFZl/uQhsqKIs= MIME-Version: 1.0 Received: by 10.211.157.11 with SMTP id j11mr958593ebo.63.1256323788284; Fri, 23 Oct 2009 11:49:48 -0700 (PDT) In-Reply-To: References: From: Scott Ullrich Date: Fri, 23 Oct 2009 14:49:28 -0400 Message-ID: To: Jaime Bozza Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-stable@freebsd.org" Subject: Re: Possible scheduler (SCHED_ULE) bug? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Oct 2009 19:15:03 -0000 On Fri, Oct 23, 2009 at 2:46 PM, Jaime Bozza wrote: > I believe I found a problem with the ULE scheduler - At least the fact th= at there is a problem, but I'm not sure where to go from here. =A0 The syst= em locks all processes, but doesn't panic, so I have no output to give. > > I was able to duplicate this on three different machines and solved it by= switching to the scheduler to 4BSD. > > Here's the environment: > > FreeBSD 7.2 i386, installed from bootonly ISO, Custom install, minimal, n= o other changes other than setting timezone, changing root password, and tu= rning on sshd (allowing root and password connection). > > Running portsnap (fetch, then extract) to get latest ports tree. > > >From ports, make installs of lang/php5 and www/lighttpd, using defaults = for all ports installed. > > Modified lighttpd.conf for PHP (attached diff), created a short script ca= lled uploadfile.php (attached). =A0File was installed at /usr/local/www/dat= a/uploadfile.php > > Start lighttpd (lighttpd_enable=3D"YES" in rc.conf, /usr/local/etc/rc.d/l= ighttpd start), connect and run script. > > As long as I upload a file less than 64K, everything works fine. =A0If I = try to upload something larger than 64K, system no longer responds. =A0 Con= sole prompt at login will allow me to enter username/password, but nothing = happens after that. =A0Console prompt logged in will allow me to type a sin= gle line, but if I press enter, nothing after that. > > No errors get written anywhere - console, logs, etc. > > I'm at a loss of what to do next. =A0Can anyone give me ideas of what els= e I can do? Try adding this or changing these items in lighttpd.conf: ## FreeBSD! server.event-handler =3D "freebsd-kqueue" server.network-backend =3D "writev" Scott