On Wed, Mar 03, 2010 at 01:02:40PM -0500, Glenn Fowler wrote: > On Wed, 3 Mar 2010 11:41:50 -0600 Nicolas Williams wrote: > > Is ksh93's OPEN_MAX (max open fildes) really 256 on Solaris? > > ksh builtin getconf(1) winds its way down to sysconf(SC_OPEN_MAX) > which is is sysconf(5) verified by > getconf -t | grep OPEN_MAX > you can do this directly from the ksh builtin > getconf 'SC(5)' > on my sol10.sun4 I get 256 > same value (just as a double check) for > ulimit -n
There's also a #define for OPEN_MAX; that led me astray. > so I believe the question is > > Is Solaris's OPEN_MAX (max open fildes) really 256 on my machine? Sortof. The soft limit is. Thanks, Nico --