Subject: Re: Max # of available file s descriptors
To: David Brownlee <D.K.Brownlee@city.ac.uk>
From: matthew green <mrg@mame.mu.Oz.Au>
List: current-users
Date: 09/19/1995 19:31:57
That is the kernel limit for maximum number of files...
(I think the original question was for per process)
Anyway - as far as I know its 2048 per process...
To set the systemwide total number of files to a million
# sysctl -w kern.maxfiles=1000000
To set the current processes limit
(electron /)164># limit descriptors
descriptors 64
(electron /)165># limit descriptors 10000
(electron /)166># limit descriptors
descriptors 2048
looks like it maxes out at 2048 to me! :)
i don't know what you're doing here, but, i get:
splode ~> limit descriptors
descriptors 256
splode ~> limit descriptors 2588
splode ~> limit descriptors
descriptors 2588
here. (2588 is also kern.maxfiles).
.mrg.