From owner-freebsd-emulation@FreeBSD.ORG Tue May 16 08:53:12 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 C82C316A400; Tue, 16 May 2006 08:53:12 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2631D43D48; Tue, 16 May 2006 08:53:09 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5ED34.dip.t-dialin.net [84.165.237.52]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k4G8gfBE039810; Tue, 16 May 2006 10:42:42 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k4G8qpch059745; Tue, 16 May 2006 10:52:51 +0200 (CEST) (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; Tue, 16 May 2006 10:52:51 +0200 Message-ID: <20060516105251.jkhr0f6pb4ogck4o@netchild.homeip.net> X-Priority: 3 (Normal) Date: Tue, 16 May 2006 10:52:51 +0200 From: Alexander Leidinger To: ambrisko@freebsd.org References: <20060516080436.7878D294B9@mail.bitblocks.com> In-Reply-To: <20060516080436.7878D294B9@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) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: freebsd-emulation@freebsd.org Subject: Re: linux emulation file descriptor leakage -current? 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: Tue, 16 May 2006 08:53:12 -0000 Quoting Bakul Shah (from Tue, 16 May 2006 =20 01:04:36 -0700): >> > The following code from linux_stats.c looked dodgy to me so I >> > reverted /sys/{i386/linux,compat/{linux,linprocfs}} to about >> > one month old state and the problem disappears. skype still >> > opens about 296 files but no more. >> >> Can you please do a binary search for the commit which breaks this? Go >> to a 2 week old current and see if the problem is still there. If it >> isn't, the problem appeared in the last two weeks, so update to an one >> week old current (and so on). I think only the kernel needs to be >> updated. > > Yes, only the kernel needs to be updated. Look at rev 1.80 > of /sys/compat/linux/linux_stats.c and related changes > (commited on 2006/05/05 16:10:45). I am reasonably certain > this is the culprit. To avoid looking at alpha support > removal changes (which have nothing to do with this) do > > cd /sys/compat/linux > cvs diff -D'1 month ago' -D'1 week ago' > > This is the only change in that time period. Perhaps the > commit (sponsored by IronPort Systems) needs to be vetted. > Removing this code has fixed the problem for me. If you > have an alternative fix I'll be happy to try it. Doug, the problem we see is a file descriptor leak with several =20 applications. For example start acroread and try to open a file by =20 browsing for it (instead of specifying it at the command line). =20 Another possibility is to start skype and login. Can you please have a =20 look at it? Bye, Alexander. --=20 http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 Don't let your status become too quo!