ulimit -n 4096 works fine, and it should for higher numbers as well. Could this be put into start-freenet.sh, or is it unstable/unsafe? Maybe prompt the user with a warning message about memory usage.
Btw, the default on Mac OS X, at least the version I was using, is 256 - which meant this was absolutely necessary even without NIO, as the native datastore wouldn't work otherwise. On Monday 16 June 2003 07:52, Toad wrote: > Default ulimit -n on my (debian) system is 1024. I have no changes in > /etc/security/limits.conf. I hear that BSD has an actual fixed size > table, but I assumed linux was less braindead. It is. But it imposes a > default of 1024 anyway. Wonderful. Is this the same on other > distributions? Yes, I know they use up kernel memory, but on a modern > architecture machine with a gigabyte of RAM... I am therefore setting > the default maxConnections on the NIO branch down to 256. GRRR. _______________________________________________ devl mailing list [EMAIL PROTECTED] http://hawk.freenetproject.org:8080/cgi-bin/mailman/listinfo/devl
