From owner-freebsd-stable@FreeBSD.ORG Fri Feb 9 21:32:24 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 84CBD16A408 for ; Fri, 9 Feb 2007 21:32:24 +0000 (UTC) (envelope-from ghelmer@palisadesys.com) Received: from magellan.palisadesys.com (magellan.palisadesys.com [192.188.162.211]) by mx1.freebsd.org (Postfix) with ESMTP id 4C35813C4B2 for ; Fri, 9 Feb 2007 21:32:24 +0000 (UTC) (envelope-from ghelmer@palisadesys.com) Received: from [172.16.2.242] (cetus.palisadesys.com [192.188.162.7]) (authenticated bits=0) by magellan.palisadesys.com (8.13.8/8.13.8) with ESMTP id l19LWCBs051863 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 9 Feb 2007 15:32:12 -0600 (CST) (envelope-from ghelmer@palisadesys.com) Message-ID: <45CCE856.4040109@palisadesys.com> Date: Fri, 09 Feb 2007 15:32:06 -0600 From: Guy Helmer User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (magellan.palisadesys.com [192.188.162.211]); Fri, 09 Feb 2007 15:32:12 -0600 (CST) X-Palisade-MailScanner-Information: Please contact the ISP for more information X-Palisade-MailScanner: Found to be clean X-Palisade-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-4.399, required 6, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-Palisade-MailScanner-From: ghelmer@palisadesys.com Subject: 6.2 amd64 hang, continued 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, 09 Feb 2007 21:32:24 -0000 I will not claim to have any kernel locking foo, however it seems odd to me that this machine has lots of processes waiting on "allproc" but "show alllocks" doesn't show any process having the allproc lock. Is this correct? db> show alllocks Process 89731 (perform_ca) thread 0xffffff0128c9fbe0 (100232) exclusive sx proctree r = 0 (0xffffffff8070dde0) locked @ kern/kern_exit.c:602 Process 85077 (ph_ thread 0xffffff012e83bbe0 (100182) exclusive sleep mutex process lock r = 0 (0xffffff01205c1418) locked @kern/subr_trap.c:88 Process 85077 (ph) thread 0xffffff01142e0000 (100133) exclusive sleep mutex so_rcv r = 0 (0xffffff0126948338) locked @ kern/uipc_socket.c:2037 exclusive sleep mutex so_snd r = 0 (0xffffff0126948408) locked @ kern/uipc_socket.c:2036 Process 837 (sendmail) thread 0xffffff012efa3260 (100035) exclusive sx sysctl lock r = 0 (0xffffffff8070e580) locked @ kern/kern_sysctl.c:1375 db> show sleepchain 843 thread 100055 (pid 843, sendmail) blocked on sx "sysctl lock" XLOCK thread 100035 (pid 837, sendmail) blocked on lk "allproc" EXCL (count 0) db> where 89792 Tracing pid 89792 tid 100199 td 0xffffff01251a24c0 sched_switch() at sched_switch+0x13a mi_switch() at mi_switch+0x1d2 critical_exit() at critical_exit+0xb0 spinlock_exit() at spinlock_exit+0x17 turnstile_unpend() at turnstile_unpend+0x249 vmspace_exit() at vmspace_exit+0x9a exit1() at exit1+0x38f sys_exit() at sys_exit+0xe syscall() at syscall+0x4d1 Xfast_syscall() at Xfast_syscall+0xa8 --- syscall (1, FreeBSD ELF64, sys_exit), rip = 0x48b46c, rsp = 0x7fffffffeae8, rbp = 0x5fa000 ---