From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 1 15:06:07 2004 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 091E916A4CF for ; Wed, 1 Sep 2004 15:06:07 +0000 (GMT) Received: from cmail.yandex.ru (cmail.yandex.ru [213.180.193.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E09243D2D for ; Wed, 1 Sep 2004 15:06:06 +0000 (GMT) (envelope-from gvs@rinet.ru) Received: from [213.180.193.165] (road.yandex.ru [213.180.193.165]) by cmail.yandex.ru (8.12.11/8.12.11) with ESMTP id i81F62xe038304 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 1 Sep 2004 19:06:02 +0400 (MSD) (envelope-from gvs@rinet.ru) Message-ID: <4135E566.40902@rinet.ru> Date: Wed, 01 Sep 2004 19:06:14 +0400 From: Seva Gluschenko Organization: Yandex LLC User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040818 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sergey Akifyev References: <200409010830.i818UXJC017144@freefall.freebsd.org> <1094029290.774.745.camel@asa.gascom.net.ru> In-Reply-To: <1094029290.774.745.camel@asa.gascom.net.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Ystatus: hits=-61.4 HAS_ORGANIZATION SUBJ_RE ALLTRUSTEDIP QUOTED_EMAIL_TEXT ALL_CAPS_STRING EMAIL_ATTRIBUTION NEWBAYES_099 REPLY_WITH_QUOTES ORIGINAL_WITH_QUOTES X-Spam-Flag: NO cc: freebsd-bugs@FreeBSD.org Subject: Re: kern/71226: processes list is broken X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2004 15:06:07 -0000 Sergey Akifyev wrote: > BTW, killing init would be helpful. If processes will not die this way, > you will see error message on console during shutdown. I LOVE this messages "some process couldn't die, ps axl advised" just before reboot, ahem... when the box hangs somewhere in disk operations and only Ctrl-Alt-Del helps (with some delays). > But, I think you understand my initial question: I suspected bad-coded > parent process. Now I see this is ps or kernel failing. ps just reports what kernel presents. Top displays them, too: PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND [] 25220 gvs 76 19 23020K 7500K RUN 0:00 0.00% 0.00% kblankscrn.kss 25193 gvs 76 19 23020K 7500K RUN 0:00 0.00% 0.00% kblankscrn.kss >ps jax | grep kblan USER PID PPID PGID SID JOBC STAT TT TIME COMMAND gvs 25193 1 590 590 0 RN ?? 0:00,10 /usr/local/bin/kblankscrn.kss -root gvs 25220 1 590 590 0 RN ?? 0:00,11 /usr/local/bin/kblankscrn.kss -root gvs 28996 1 590 590 0 RN ?? 0:00,01 /usr/local/bin/kblankscrn.kss -root > So, a couple of diagnostic tests: > > 1) check if zombie-structures was allocated in kernel > # vmstat -m|fgrep zombie zombie 0 0K 1K 36254 128 > 2) what is your threading library in /etc/libmap.conf ? Whatewer it is, > try to change it and look what happens. (I suspect KSE-related problems) libc_r.so.5 libpthread.so.1 libc_r.so libpthread.so AFAIR, UPDATING recommended exactly this way. Is it obsoleted? > 3) what does sockstat think about theese processes? Nothing. Just nothing. They're absent. -gvs