看板 DFBSD_bugs 關於我們 聯絡資訊
: :On 2005-03-01, Matthew Dillon <dillon@apollo.backplane.com> wrote: :> :>:doing a "ps aux" I can see: :>:root 1 0,0 0,0 556 72 ?? DLs Sob01am 0:00,38 /sbin/init -- :>: :>:so init is running? 96 zombies currently :> :> Hmm. It wasn't in the dump file. :> :> Do a ps axl. It looks like it is stuck on something. What is it stuck :> on? (I'll bet this is SMB related). :> : :0 1 0 8 157 0 556 72 reap2 DLs ?? 0:00,41 /sbin/init -- :this? Yup, that. Ok, I figured it out. It turns out that it is waiting for the p_lock count on one of the exiting smbiod processes to go to 0, but it never does. Try this patch. -Matt Matthew Dillon <dillon@backplane.com> Index: smb_subr.c =================================================================== RCS file: /cvs/src/sys/netproto/smb/smb_subr.c,v retrieving revision 1.13 diff -u -r1.13 smb_subr.c --- smb_subr.c 6 Jan 2005 22:31:16 -0000 1.13 +++ smb_subr.c 1 Mar 2005 23:01:23 -0000 @@ -388,7 +388,6 @@ /* this is a non-swapped system process */ p2->p_flag |= P_INMEM | P_SYSTEM; p2->p_procsig->ps_flag |= PS_NOCLDWAIT; - PHOLD(p2); /* set up arg0 for 'ps', et al */ __va_start(ap, fmt);