From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 13 12:54:15 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B53816A40F; Mon, 13 Nov 2006 12:54:15 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45ED643D70; Mon, 13 Nov 2006 12:54:10 +0000 (GMT) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5FAFC.dip.t-dialin.net [84.165.250.252]) by redbull.bpaserver.net (Postfix) with ESMTP id CEB952E06A; Mon, 13 Nov 2006 13:54:02 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 4C5395B4C35; Mon, 13 Nov 2006 13:54:01 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id kADCs1pl061427; Mon, 13 Nov 2006 13:54:01 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Mon, 13 Nov 2006 13:54:01 +0100 Message-ID: <20061113135401.3dm4klxfacsc48gg@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Mon, 13 Nov 2006 13:54:01 +0100 From: Alexander Leidinger To: Bakul Shah References: <20061112185526.771565B3C@mail.bitblocks.com> In-Reply-To: <20061112185526.771565B3C@mail.bitblocks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.864, required 6, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org, freebsd-current@freebsd.org Subject: Re: attack of the zombies X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Nov 2006 12:54:15 -0000 Quoting Bakul Shah (from Sun, 12 Nov 2006 =20 10:55:26 -0800): > 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. You are the first one reporting this problem. I didn't noticed =20 something like this in my regression test runs with the linux test =20 project testcases and all other active developers in this area didn't =20 noticed something like this too (so far). Do you have some small =20 testcases (e.g. with programs in linux_base) or does this apply to a =20 specific workload (like the one below) only? > 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 To make sure there is no "garbage" somewhere: - remove all linux ports - remove /compat/linux/* (rm -rf) - install what you need (only from ports) > 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. We are talking about i386, right? Please provide the output of "sysctl =20 compat.linux" (osversion should be set to 2.4.2). > 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? This is not a known problem (at least not for 2.4.2 compatibility, =20 which is the default in -current). For known problems have a look at =20 http://wiki.freebsd.org/linux-kernel Bye, Alexander. --=20 "The only real way to look younger is not to be born so soon." =09=09-- Charles Schulz, "Things I've Had to Learn Over and =09=09 Over and Over" http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137