From owner-freebsd-current@FreeBSD.ORG Tue Mar 2 23:51:10 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C021F16A4CE for ; Tue, 2 Mar 2004 23:51:10 -0800 (PST) Received: from vbook.fbsd.ru (asplinux.ru [195.133.213.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F57043D46 for ; Tue, 2 Mar 2004 23:51:10 -0800 (PST) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.30; FreeBSD) id 1AyRAa-0001tD-S5 for current@freebsd.org; Wed, 03 Mar 2004 10:51:56 +0300 From: Vladimir Grebenschikov To: "current@freebsd.org" Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: SWsoft Message-Id: <1078300315.6838.23.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.5.4FreeBSD GNOME Team Port Date: Wed, 03 Mar 2004 10:51:56 +0300 Sender: Vladimir Grebenschikov X-Mailman-Approved-At: Wed, 03 Mar 2004 04:46:37 -0800 Subject: Current lockup on 'sysctl lock' X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 07:51:10 -0000 About 3-5 time per day recent current locksup on my noteboot. Symptoms: system responsive, not locked processes works, I can switch X to sc0 and back. processes locked on 'sysctl lock' (see below) allways there is one process sleeping on allproc usually it is related with high activity (this case evolution gets bunch of night mail and pass it through spam-assassin) I do not know why proc 1037 have such strange backtrace but suspect that evolution was forked before exec spamc (or like). proc 658 was created after lock (I switched on free console and type login) - login was executed but even does not ask password. May be it is same issue as reported there about lockup of top and ps. Unfortunately there was no comconsole, so I have retype most important info: db> ps 1037 ... 0000000 new [INACTIVE] evolution-1.5 ... 790 ... 008c001 stop(threaded) evolution-1.5 thread ... [SUSP] thread ... [SLPQ spltwt ...][SLP] thread ... [SUSP] thread ... [SLPQ select ...][SLP][SUSP] thread ... [SUSP] 781 ... 0004001 [SLPQ sysctl lock ...][SLP] wireless-applet ... 731 ... 0004000 [SLPQ sysctl lock ...][SLP] metacity ... 477 ... 0000000 [SLPQ allproc ...][SLP] cron ... 658 ... 0004002 [SLPQ sysctl lock ...][SLP] login ... db> tr 1037 sched_switch(0,...) (null)(1,..) at 0 _end(1,...) _end(1,...) ... a lot of _end(), different args on stack _end(1,...) _end() at ... db> tr 781 sched_switch() mi_switch() sleepq_switch() sleepq_wait() cv_wait() _sx_xlock() userland_sysctl() __syscall() ... db> tr 731 sched_switch() mi_switch() sleepq_switch() sleepq_wait() cv_wait() _sx_xlock() userland_sysctl() __syscall() ... db> tr 477 sched_switch() mi_switch() sleepq_switch() sleepq_wait() cv_wait() _sx_xlock() fork1() fork() syscall() ... db> tr 658 sched_switch() mi_switch() sleepq_switch() sleepq_wait() cv_wait() _sx_xlock() userland_sysctl() __syscall() ... -- Vladimir B. Grebenschikov SWsoft Inc.