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

Re: [leafnode-list] Too many files



"Support" <support@xxxxxxxxx> writes:

> I actually think I figured it out.  I think it was fetchnews that was
> doing it.  I have fetchnews set to run out of cron every 10 minutes.
> 
> What I think was happening is that if I subscribed to a lot of busy
> groups at once, during the next fetchnews run it would open up to the
> maximum number of files set in the config file (default 2000)
> FreeBSD's default kernel has a max of around this number of open
> files.  I recompiled the FreeBSD kernel and set MAXUSERS up to 128 and
> the problem seems to have gone away.

If so, lsof -c fetchnews on a running fetchnews process might give
valuable information of what files are actually open. May I ask you to
run "lsof -c fetchnews" while fetchnews is running and send the output
to me in private mail?

Currently, I looks like a bug to me, and that certainly deserve to be
squished.

I think the fix is already in 2.0beta (I never saw file descriptor
exhaustion), and it's probably just about adding a forgotten close() or
fclose() somewhere.

-- 
Matthias Andree

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."         Benjamin Franklin

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list