Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'A fix for 'Too many open files' in bittorrent apps' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A fix for 'Too many open files' in bittorrent apps
Authored by: cewatts on Oct 07, '04 07:49:28PM

This isn't good advice either. kern.maxproc controls the maximum number of running processes, not the maximum number of open files per proc.

The more appropriate sysctls to looks at would be kern.maxfiles and kern.maxfilesperproc, but on my system (1GB ram, probably autoscaled) they default quite high: kern.maxfiles = 12288, kern.maxfilesperproc = 10240.

A system-wide shell limit change (as the other posts suggest) is what is necessary, unless I'm missing something.

[ Reply to This | # ]