Possible scheduler (SCHED_ULE) bug?

Scott Ullrich sullrich at gmail.com
Fri Oct 23 19:15:03 UTC 2009


On Fri, Oct 23, 2009 at 2:46 PM, Jaime Bozza <jbozza at mindsites.com> wrote:
> I believe I found a problem with the ULE scheduler - At least the fact that there is a problem, but I'm not sure where to go from here.   The system 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, no other changes other than setting timezone, changing root password, and turning 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 called uploadfile.php (attached).  File was installed at /usr/local/www/data/uploadfile.php
>
> Start lighttpd (lighttpd_enable="YES" in rc.conf, /usr/local/etc/rc.d/lighttpd start), connect and run script.
>
> As long as I upload a file less than 64K, everything works fine.  If I try to upload something larger than 64K, system no longer responds.   Console prompt at login will allow me to enter username/password, but nothing happens after that.  Console prompt logged in will allow me to type a single 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.  Can anyone give me ideas of what else I can do?

Try adding this or changing these items in lighttpd.conf:

## FreeBSD!
server.event-handler	= "freebsd-kqueue"
server.network-backend 	= "writev"

Scott


More information about the freebsd-stable mailing list