From owner-freebsd-current@FreeBSD.ORG Sun Nov 12 18:55:27 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 295D816A403; Sun, 12 Nov 2006 18:55:27 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (bitblocks.com [209.204.185.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA43343D46; Sun, 12 Nov 2006 18:55:26 +0000 (GMT) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost.bitblocks.com [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id 771565B3C; Sun, 12 Nov 2006 10:55:26 -0800 (PST) To: freebsd-emulation@freebsd.org Date: Sun, 12 Nov 2006 10:55:26 -0800 From: Bakul Shah Message-Id: <20061112185526.771565B3C@mail.bitblocks.com> Cc: freebsd-current@freebsd.org Subject: attack of the zombies X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 12 Nov 2006 18:55:27 -0000 About a week or so ago I updated -current and now linux binaries don't seem to collect all zombie processes. Eventually the maxproc limit is reached and further forks fail so that you can't even do ps (of course, dealing sensibly with such errors is another problem with most programs but that is a separate discussion). Work around is killing linux programs to allow init to kill the zombies. This happens with skype, firefox and opera and may be more. I reinstalled linux_base-fc-4_9 and all ports depending on it -- all updated yesterday. The problem persists even with yesterday's -current. This problem showed up sometime between Oct 6 and Nov 6. One significant change I see during this time is the treatment of KSE. But presence or absence of nooption KSE does not seem to affect this problem. BTW, linux emulation is loaded as a module. Also note that the old problem of linux-* programs gobbling up lots of memory is still present. For example, FreeBSD opera uses 96MB while Linux opera on FreeBSD needs 236MB + 48 zombies to displaying exact same 24 pages (same session file and *just* after starting!). Is this a known problem? Am I doing something wrong? Thanks!