On Mon, Jun 16, 2003 at 10:59:06AM -0500, Tiernan Hubble wrote:
> 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.

The default HARD limit is 1024. This means it can only be changed by
root. We need an official, maintained package...
> 
> 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.

Ugh. That's just insane. Don't expect freenet to work without tweaking
with NIO on MacOS/X then...
> 
> 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.

-- 
Matthew J Toseland - [EMAIL PROTECTED]
Freenet Project Official Codemonkey - http://freenetproject.org/
GPG key lost in last few weeks, new key on keyservers
ICTHUS - Nothing is impossible. Our Boss says so.

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to