Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Mar 2004 19:32:15 -0600
From:      "Matthew D. Fuller" <fullermd@over-yonder.net>
To:        hackers@freebsd.org
Subject:   Mozilla sucking file descriptors
Message-ID:  <20040315013215.GF61692@over-yonder.net>

next in thread | raw e-mail | index | archive | help
Has anybody else seen Mozilla just start munching file descriptors the
longer it runs?  I've seen it with at least Phoen^WFirebird 0.6 and
the current Firebi^WFirefox.  It just keeps going 'till it maxes out
the system.  fstat(1) doesn't show much directly, but with -v it spits
a crapload of errors:

(ttyp4):{173}% fstat -v | & grep -E 'unknown file type 5 for file [0-9]+ of pid 4697' | wc -l
    3472

(that being, of course, my current firefox PID)

File type 5 is a kqueue (according to sys/file.h).  Why is Mozilla
eating an ever-increasing number of kqueue handles?  Is this our
problem or theirs?  Or is this something fixed since I last updated
(I'm on 5.1-RELEASE now)?

(In other news, thank heavens you can tweak kern.maxfiles on the fly!)


-- 
Matthew Fuller     (MF4839)   |  fullermd@over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

"The only reason I'm burning my candle at both ends, is because I
      haven't figured out how to light the middle yet"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040315013215.GF61692>