pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: www/firefox 81 opens too many files



On Thu, Oct 15, 2020 at 12:38:50PM +0000, maya%NetBSD.org@localhost wrote:
> On Tue, Oct 13, 2020 at 12:08:09PM +0200, Marc Baudoin wrote:
> > Hi,
> > 
> > Since www/firefox has been upgraded to version 81, it uses way
> > more files than before on my system (NetBSD/amd64 9.0) after only
> > a few minutes using it and either crashes leaving a core file or
> > makes me quit it because other software complains there are too
> > many open files.
> > 
> > I didn't change the maximum number of open files on the system:
> > 
> > % sysctl kern.maxfiles
> > kern.maxfiles = 3404
> > 
> > and www/firefox version 80 worked perfectly that way.
> > 
> > Version 81.0.2 (recently committed) also shows the same problem.
> > 
> > Is anybody else having that problem? Does anybody know if it's
> > specific to NetBSD or if it's also happening on other operating
> > systems?
> 
> Hi Marc,
> 
> I have put together some websites that do this
> (twitch.tv, even without any video open, tweetdeck.twitter.com)
> 
> Each of these open about 1170 fds per tab.
> Easy to hit the global limit of 3404 system-wide.
> 
> I can get the number down by:
> mkdir /backup
> mv /usr/X11R7/lib/X11/fonts/100dpi/ /backup
> mv /usr/X11R7/lib/X11/fonts/75dpi/ /backup
> 
> And it is down to 391.
> 

You can emulate this in a more pragmatic way with:

 cp /etc/fonts/conf.avail/70-no-bitmaps.conf /etc/fonts/conf.d/70-no-bitmaps.conf



Home | Main Index | Thread Index | Old Index