From owner-freebsd-stable@FreeBSD.ORG Fri Oct 23 18:47:02 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 34259106566B for ; Fri, 23 Oct 2009 18:47:02 +0000 (UTC) (envelope-from jbozza@mindsites.com) Received: from mail.thinkburst.com (mail.thinkburst.com [204.49.104.46]) by mx1.freebsd.org (Postfix) with ESMTP id DF3E38FC13 for ; Fri, 23 Oct 2009 18:47:01 +0000 (UTC) Received: from mailgate.mindsites.net (gateway.mindsites.net [204.49.104.36]) by mail.thinkburst.com (Postfix) with ESMTP id 151891CC27 for ; Fri, 23 Oct 2009 13:47:01 -0500 (CDT) Received: from remote.mindsites.com (unknown [10.1.1.5]) by mailgate.mindsites.net (Postfix) with ESMTP id 06F9917040 for ; Fri, 23 Oct 2009 13:47:00 -0500 (CDT) Received: from ATLAS.msg.local ([fe80::48f5:88b0:6093:4f67]) by ATLAS.msg.local ([fe80::48f5:88b0:6093:4f67%10]) with mapi; Fri, 23 Oct 2009 13:47:00 -0500 From: Jaime Bozza To: "freebsd-stable@freebsd.org" Date: Fri, 23 Oct 2009 13:46:58 -0500 Thread-Topic: Possible scheduler (SCHED_ULE) bug? Thread-Index: AcpUETOLa2fKV7bnQdieX9jDAjQ0TA== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/mixed; boundary="_003_CF092998EA82AE4D83AF9C9ECA9A8BDE02EB411A85ATLASmsglocal_" MIME-Version: 1.0 Subject: 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 18:47:02 -0000 --_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 ZiAuLi4vIGlzIHJlcXVlc3RlZA0KIGluZGV4LWZpbGUubmFtZXMgICAgICAgICAgICA9ICggImlu ZGV4LnBocCIsICJpbmRleC5odG1sIiwNCkBAIC0xMTUsNyArMTE1LDcgQEANCiAjIHNlcnZlci50 YWcgICAgICAgICAgICAgICAgID0gImxpZ2h0dHBkIg0KIA0KICMjIyMgYWNjZXNzbG9nIG1vZHVs ZQ0KLWFjY2Vzc2xvZy5maWxlbmFtZSAgICAgICAgICA9ICIvdmFyL2xvZy9saWdodHRwZC5hY2Nl c3MubG9nIg0KK2FjY2Vzc2xvZy5maWxlbmFtZSAgICAgICAgICA9ICIvdG1wL2xpZ2h0dHBkLmFj Y2Vzcy5sb2ciDQogDQogIyMgZGVueSBhY2Nlc3MgdGhlIGZpbGUtZXh0ZW5zaW9ucw0KICMNCkBA IC0zMjQsMyArMzI0LDIwIEBADQogIyBFbmFibGUgSVBWNiBhbmQgSVBWNCB0b2dldGhlcg0KIHNl cnZlci51c2UtaXB2NiA9ICJlbmFibGUiDQogJFNFUlZFUlsic29ja2V0Il0gPT0gIjAuMC4wLjA6 ODAiIHsgfQ0KKw0KKyAgZmFzdGNnaS5zZXJ2ZXIgPSAoICIucGhwIiA9PiAoKA0KKyAgICAiYmlu LXBhdGgiID0+ICIvdXNyL2xvY2FsL2Jpbi9waHAtY2dpIiwNCisgICAgInNvY2tldCIgPT4gIi90 bXAvaGVybWVzLnBocC5zb2NrZXQiLCANCisgICAgIm1pbi1wcm9jcyIgPT4gMSwNCisgICAgIm1h eC1wcm9jcyIgPT4gMSwNCisgICAgImJpbi1lbnZpcm9ubWVudCIgPT4gKA0KKyAgICAgICJQSFBf RkNHSV9DSElMRFJFTiIgPT4gIjQiLA0KKyAgICAgICJQSFBfRkNHSV9NQVhfUkVRVUVTVFMiID0+ ICI1MCIsDQorICAgICAgIlBIUFJDIiA9PiAiL2RhdGEvc2l0ZXMvc3VwcG9ydC9jb25mLyINCisg ICAgICApLA0KKyAgICAiYmluLWNvcHktZW52aXJvbm1lbnQiID0+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_--