On Mon, Jul 19, 2004 at 02:14:38PM +0200, Zenon Panoussis wrote:
> 
> Hello everyone.
> 
> I started a node on a machine with lots of bandwidth and a very
> lousy I/O subsystem. Not much else is going on on the machine, so
> without freenet the load is steadily between 0.01 and 0.10. When
> freenet runs, the load is constantly around 3.50, with peaks
> reaching well above 5.00. The system latency caused by these
> loads gets other stuff to malfunction; for instance, mail server
> queries to LDAP time out and result in "service temporarily
> unavailable" errors. Obviously, such things become a show stopper
> for freenet.

Strange. What is your logLevel ?
> 
> The machine is a Celeron 2.4 GHz with 512 MB RAM running RHEL3
> with Sun java 1.4.2_05.
> 
> I reduced maxNodeConnections to 85 from the default 200 in the
> hope to reduce the number of java instances, but that didn't help
> much. 

Won't make much difference. The setting you want is maximumThreads.

> I also set diagnosticsPath=/dev/null to stop the constant
> writing on disk (is there a better way to say "disable stats,
> I don't need them"?) and that didn't help much either.

You do. The node uses them for estimating load. My long-lived unstable
node's stats dir is 3MB, as is my long-lived stable node's stats dir.
It's not a problem.
> 
> So I'm asking for advice from those more experienced with freenet:
> what can I do to reduce the load? More specifically, how can I
> reduce the number of java instances running? With my current
> settings (most else at default), I have 96 java processes eating
> away everything on the machine and the machine itself too.

Set maximumThreads=60 (remove the leading %), logLevel=error, and
doCPULoad=true (is your node pegged on CPU, or just on I/O? what's the
idle % typically?).
-- 
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
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]

Reply via email to