gam_server opening 4000 file descriptors

Volodymyr Kostyrko c.kworr at gmail.com
Sat Jan 30 06:26:39 UTC 2010


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.



More information about the freebsd-questions mailing list