Date: Tue, 2 Nov 2004 10:41:45 +0100 From: Arjan de Vet <devet@devet.org> To: current@freebsd.org Cc: re@freebsd.org Subject: 5.3-RC2: kqueue descriptor leak in resolver functions? Message-ID: <20041102094145.GA4698@adv.devet.org>
next in thread | raw e-mail | index | archive | help
I'm trying to track down a weird hang/panic in 5.3-RC* which seems to happen after 1-1.5 days on my desktop machine. The one time I saw the panic message it complained about kmem_map being full. This morning I noticed that the kernel memory used for kqueues was a bit larger than expected so I started to monitor it more closely. I soon found out what seems to be the problem: mozilla keeps lots of kqueue file descriptors open: > lsof | fgrep mozilla | fgrep KQUEUE | wc -l 1137 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). Arjan Cc: re -- Arjan de Vet, Eindhoven, The Netherlands <devet@devet.org> URL : http://www.devet.org/ <Arjan.deVet@adv.iae.nl> Work: http://www.madison-gurkha.com/ (Security, Open Source, Education)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041102094145.GA4698>