Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Oct 2009 13:46:58 -0500
From:      Jaime Bozza <jbozza@mindsites.com>
To:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Possible scheduler (SCHED_ULE) bug?
Message-ID:  <CF092998EA82AE4D83AF9C9ECA9A8BDE02EB411A85@ATLAS.msg.local>

next in thread | raw e-mail | index | archive | help
--_003_CF092998EA82AE4D83AF9C9ECA9A8BDE02EB411A85ATLASmsglocal_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

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 l=
ocks all processes, but doesn't panic, so I have no output to give. =20

I was able to duplicate this on three different machines and solved it by s=
witching 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 turn=
ing 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 call=
ed uploadfile.php (attached).  File was installed at /usr/local/www/data/up=
loadfile.php

Start lighttpd (lighttpd_enable=3D"YES" in rc.conf, /usr/local/etc/rc.d/lig=
httpd 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 p=
rompt at login will allow me to enter username/password, but nothing happen=
s 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?








--_003_CF092998EA82AE4D83AF9C9ECA9A8BDE02EB411A85ATLASmsglocal_
Content-Type: text/plain; name="lighttpd-conf-diff.txt"
Content-Description: lighttpd-conf-diff.txt
Content-Disposition: attachment; filename="lighttpd-conf-diff.txt"; size=1743; 
	creation-date="Fri, 23 Oct 2009 09:59:50 GMT";
	modification-date="Fri, 23 Oct 2009 09:59:54 GMT"
Content-Transfer-Encoding: base64

LS0tIGxpZ2h0dHBkLmNvbmYuc2FtcGxlICAgICAgICAyMDA5LTEwLTIzIDA5OjM3OjUwLjAwMDAw
MDAwMCAtMDUwMA0KKysrIGxpZ2h0dHBkLmNvbmYgICAgICAgMjAwOS0xMC0yMyAxMDowMjowMC4w
MDAwMDAwMDAgLTA1MDANCkBAIC0yMCw3ICsyMCw3IEBADQogIyAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAibW9kX2F1dGgiLA0KICMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
Im1vZF9zdGF0dXMiLA0KICMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIm1vZF9zZXRl
bnYiLA0KLSMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIm1vZF9mYXN0Y2dpIiwNCisg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJtb2RfZmFzdGNnaSIsDQogIyAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAibW9kX3Byb3h5IiwNCiAjICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICJtb2Rfc2ltcGxlX3Zob3N0IiwNCiAjICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICJtb2RfZXZob3N0IiwNCkBAIC0zOSw3ICszOSw3IEBADQogc2VydmVyLmRvY3Vt
ZW50LXJvb3QgICAgICAgID0gIi91c3IvbG9jYWwvd3d3L2RhdGEvIg0KIA0KICMjIHdoZXJlIHRv
IHNlbmQgZXJyb3ItbWVzc2FnZXMgdG8NCi1zZXJ2ZXIuZXJyb3Jsb2cgICAgICAgICAgICAgPSAi
L3Zhci9sb2cvbGlnaHR0cGQuZXJyb3IubG9nIg0KK3NlcnZlci5lcnJvcmxvZyAgICAgICAgICAg
ICA9ICIvdG1wL2xpZ2h0dHBkLmVycm9yLmxvZyINCiANCiAjIGZpbGVzIHRvIGNoZWNrIGZvciBp
ZiAuLi4vIGlzI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HktZW52aXJvbm1lbnQiID0+ICgNCisgICAgICAiUEFUSCIs
ICJTSEVMTCIsICJVU0VSIiwgIlRaIg0KKyAgICAgICksDQorICAgICJicm9rZW4tc2NyaXB0Zmls
ZW5hbWUiID0+ICJlbmFibGUiLA0KKyAgKSkpDQorDQpc

--_003_CF092998EA82AE4D83AF9C9ECA9A8BDE02EB411A85ATLASmsglocal_
Content-Type: application/octet-stream; name="uploadfile.php"
Content-Description: uploadfile.php
Content-Disposition: attachment; filename="uploadfile.php"; size=640;
	creation-date="Fri, 23 Oct 2009 08:52:13 GMT";
	modification-date="Fri, 23 Oct 2009 13:23:36 GMT"
Content-Transfer-Encoding: base64

PD9waHANCg0KJGhlYWRlciA9IDw8PEVPVA0KPGh0bWw+PGJvZHk+DQpFT1Q7DQoNCiRmb290ZXIg
PSA8PDxFT1QNCjwvYm9keT4NCjwvaHRtbD4NCkVPVDsNCg0KaWYgKCRfU0VSVkVSWyJSRVFVRVNU
X01FVEhPRCJdICE9ICJQT1NUIikgew0KICBwcmludF9mb3JtKCk7DQp9IGVsc2Ugew0KICAkdG1w
Zm4gPSAkX0ZJTEVTWyJmaWxlIl1bInRtcF9uYW1lIl07DQogIGlmICghZW1wdHkoJHRtcGZuKSkg
ew0KICAgIHN5c3RlbSgibXYgJHRtcGZuIC90bXAvdXBsb2FkdGVzdC50eHQiKTsNCiAgfQ0KICBo
ZWFkZXIoIkxvY2F0aW9uOmh0dHA6Ly93d3cuZ29vZ2xlLmNvbS8iKTsNCn0NCg0KDQpmdW5jdGlv
biBwcmludF9mb3JtKCRtc2cgPSIiKSB7DQogIGdsb2JhbCAkaGVhZGVyLCAkZm9vdGVyOw0KDQog
IHByaW50IDw8PEVPVA0KJGhlYWRlcg0KPGZvcm0gZW5jdHlwZT0ibXVsdGlwYXJ0L2Zvcm0tZGF0
YSIgbWV0aG9kPSJwb3N0IiBhY3Rpb249Ii91cGxvYWRmaWxlLnBocCI+DQpGaWxlIHRvIFVwbG9h
ZDogPGlucHV0IHR5cGU9ImZpbGUiIG5hbWU9ImZpbGUiIHZhbHVlPSIiPg0KPGJyPjxicj4NCjxp
bnB1dCB0eXBlPSJzdWJtaXQiIHZhbHVlPSJzdWJtaXQiPg0KPGJyPg0KJGZvb3Rlcg0KDQpFT1Q7
DQp9DQoNCg0KPz4NCg==

--_003_CF092998EA82AE4D83AF9C9ECA9A8BDE02EB411A85ATLASmsglocal_--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CF092998EA82AE4D83AF9C9ECA9A8BDE02EB411A85>