From owner-freebsd-current@FreeBSD.ORG Mon Nov 13 17:41:49 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 1951D16A407; Mon, 13 Nov 2006 17:41:49 +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 B654644121; Mon, 13 Nov 2006 17:36:17 +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 390045B50; Mon, 13 Nov 2006 09:35:43 -0800 (PST) To: Alexander Leidinger In-reply-to: Your message of "Mon, 13 Nov 2006 13:54:01 +0100." <20061113135401.3dm4klxfacsc48gg@webmail.leidinger.net> Date: Mon, 13 Nov 2006 09:35:43 -0800 From: Bakul Shah Message-Id: <20061113173543.390045B50@mail.bitblocks.com> Cc: freebsd-emulation@freebsd.org, freebsd-current@freebsd.org Subject: Re: 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: Mon, 13 Nov 2006 17:41:49 -0000 First of all, thanks for looking at this! > To make sure there is no "garbage" somewhere: > - remove all linux ports > - remove /compat/linux/* (rm -rf) I hope we can find a less drastic way to handle such problems. Anyway I did this. > - install what you need (only from ports) # cd /usr/port/net/skype; make install This resulted in fresh install of the following ports: skype-1.2.0.18_2 linux_dri-6.5 linux-xorg-libs-6.8.2_5 linux-fontconfig-2.2.3_5 linux-expat-1.95.8 linux_base-fc-4_9 Then I fired up skype and logged in and now there are 28 zombies. My guess is something with signals broke. Next I will try backing out just the stuff in /sys/compat/linux and recompling/reloading linux.ko > We are talking about i386, right? Please provide the output of "sysctl > compat.linux" (osversion should be set to 2.4.2). Correct. Only the i386. $ sysctl compat.linux compat.linux.oss_version: 198144 compat.linux.osrelease: 2.4.2 compat.linux.osname: Linux > > 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, > which is the default in -current). For known problems have a look at > http://wiki.freebsd.org/linux-kernel Thanks!