On Wed, Apr 26, 2006 at 01:15:12PM -0600, Lamont R. Peterson wrote:
On Wednesday 26 April 2006 12:50pm, Thomas M Steenholdt wrote:
> Andrew Haley wrote:
[snip]
> Well...
>
> I get way past 350 with these two test processes...
> Got to 1020, then the process bailed with :
> No socket: Too many open files
You had 1021 sockets. I didn't immediately notice that the counting started
at 0, either.
1021+stdin+stdout+stderr = 1024, which is the default "descriptors"
limit.
If you're root, you can raise it to up to 1048576 (1024*1024). Not
sure why it stops there, but I suspect that it's quite enough for the
time being (1024 is a tad small to my taste for a default, but that's
another problem entirely).
OG.