From owner-freebsd-current@FreeBSD.ORG Tue Nov 2 19:43:52 2004 Return-Path: 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 9747F16A4CE for ; Tue, 2 Nov 2004 19:43:52 +0000 (GMT) Received: from a80-126-165-168.adsl.xs4all.nl (a80-126-165-168.adsl.xs4all.nl [80.126.165.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1B1D43D48 for ; Tue, 2 Nov 2004 19:43:51 +0000 (GMT) (envelope-from devet@devet.org) Received: from adv.devet.org (adv.devet.org [192.168.1.2]) by a80-126-165-168.adsl.xs4all.nl (Postfix) with ESMTP id BE262A942 for ; Tue, 2 Nov 2004 20:43:50 +0100 (CET) Received: by adv.devet.org (Postfix, from userid 100) id B62EC3CA54; Tue, 2 Nov 2004 20:43:50 +0100 (CET) Date: Tue, 2 Nov 2004 20:43:50 +0100 To: current@freebsd.org Message-ID: <20041102194350.GA55650@adv.devet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041102094145.GA4698@adv.devet.org> X-Newsgroups: list.freebsd.current Organization: Eindhoven, the Netherlands User-Agent: Mutt/1.5.6i From: devet@devet.org (Arjan de Vet) Subject: Re: 5.3-RC2: kqueue descriptor leak in resolver functions? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Tue, 02 Nov 2004 19:43:52 -0000 In article <20041102094145.GA4698@adv.devet.org> you write: [...] >This number grows over time (I have mozilla running permanently with >lots of tabs, most of which auto-refresh). Does anybody see something >similar with mozilla on 5.3-RC*? > >A ktrace of the mozilla process seems to point to the DNS resolver code >leaking kqueue descriptors (I could not find any kqueue() calls in the >mozilla code itself). I just recompiled mozilla on 5.3-RC2 and this kqueue leakage has stopped. ldd shows the mozilla-bin binary is now linked with libpthreads (it wasn't on 5.2.1-release). ktrace shows the open kqueue descriptors being close()'d this time. Let's now hope this fixes the weird hangs I have seen with 5.3-RC*. Arjan -- Arjan de Vet, Eindhoven, The Netherlands URL : http://www.devet.org/ Work: http://www.madison-gurkha.com/ (Security, Open Source, Education)