On Wed, Oct 05, 2005 at 06:50:22PM +0000, Squished Squirrel wrote:
> Matthew Toseland <[EMAIL PROTECTED]> writes:
> 
> > 
> > On Fri, Sep 30, 2005 at 08:04:42PM +0000, Squished Squirrel wrote:
> > > Matthew Toseland <toad <at> ...> writes:
> > > 
> > > > 
> > > > Hmm, cool. Can you send me a patch to detect OS/X and automatically fix
> > > > it? I'm not sure how we would tell the node about it...
> > > > 
> > > 
> > > Sure. Let me get this machine home and running a few days to make sure
> > > it all works first. There is a good possibility I am talking out my ass 
> about
> > > all this 
> > > 
> > > Yeh, I don't know how you could verify that the fd limit had been upped
> > > within a java program. I think the safest thing to do is to continue to 
> default
> > > OSX boxes to 128 maxNodeConnections, and in the start script and README,
> > > put comments explaining that if you uncomment and up the node count, you
> > > MUST use the start-freenet.sh shell script to start freenet so it can 
> increase
> > > the fd limit.
> > 
> > But then it will have to edit the config file before configuring, right?
> > 
> 
> Does freenet.jar accept command line options? In other words, can I pass
> maxNodeConnections as a command line option? If so, then the script could
> be self contained... both increasing the fd count and increasing the
> Node count without actually touching the .conf file. I'm afraid if the
> script edits the .conf file, and the end user switches to launching
> freenet with his own script or by double clicking it, the increased fd
> limit won't be in effect, and freenet may crash.

Yes, it does, but those are separate from the main config... you could
put the new limit into the config file via sed, perhaps.
-- 
Matthew J Toseland - [EMAIL PROTECTED]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]

Reply via email to