alessioc wrote:

I heard about a 256 fd limit on solaris 32bit boxes due to some stdio limit... 
will anything change in opensolaris? is it possible to increase this limit?

It is possible to increase the limit, but not without breaking the ABI which would cause older programs to possibly not work anymore. And there's a perfectly good workaround to the problem: don't use stdio. Instead of fopen, use open. Instead of seek, use lseek. Instead of fclose, use close, etc. Using those routines you'll have (depending on the OS and settings) the ability to use thousands of descriptors. For vanilla Solaris 10 you'll have 1024 by default with a hard limit of 65536.

--
James Lick -- 黎建溥 -- [EMAIL PROTECTED] -- http://jameslick.com/
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to