Date: Sat, 30 Jan 2010 08:26:26 +0200 From: Volodymyr Kostyrko <c.kworr@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: gam_server opening 4000 file descriptors Message-ID: <hk0jeh$slu$1@ger.gmane.org> In-Reply-To: <201001292309.39703.erichfreebsdlist@ovitrap.com> References: <201001292309.39703.erichfreebsdlist@ovitrap.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 29.01.2010 17:09, Erich Dollansky wrote: > I have had to set a FreeBSD up again after the hard disk died. > > It runs now on 7.2. > > I noticed today that the gam_server opens some 4000 file descriptors. > > Ok, I have read > > http://www.gnome.org/~veillard/gamin/ > > All I have found out is that I should increase the number of file descriptors. > > Isn't there any other way to tell gamin not to do this? Don't increase the number of file descriptors. Did you read pkg-message? gamin uses at most 70% of kern.maxfiles On the other hand you can switch to polling. This way gamin would not use file descriptors in expense of greater cpu usage. -- Sphinx of black quartz judge my vow.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?hk0jeh$slu$1>