RE: [freenet-support] Freenet Won't Start Under Mandrake

2003-12-11 Thread Evan Berggren Daniel
On Thu, 11 Dec 2003, King, Lance E. wrote:

> When I run an rpm query for kaffe, Mandrake tells me that the package is not
> installed.  Can anyone think of a different reason I might be getting such
> an error?

What happens if you execute 'java -version'?

Evan Daniel
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support


Re: [freenet-support] Re: 5029 overloads

2003-11-01 Thread Evan Berggren Daniel
On Sat, 1 Nov 2003, Toad wrote:

> > Would it make sense to have freenet put a cap on the threads based on
> > available memory, similar to how it caps the routing table size based on
> > max connections?
>
> Perhaps, but how to calculate it?

I'd go with something relatively simple.  How many threads seems to work
with 128MB available? 256MB?  do a linear interpolation.  It seems
reasonable to assume there is a base + per-thread memory usage.  Another
option would be to query the JVM for available memory at regular
intervals, and use that as part of the load calculation.  If memory gets
too tight, start decreasing the max threads parameter.  Of course, I don't
know much about the freenet code and how easy that would be.  My
experience with other code is that OOMs are remarkably hard to recover
from, and so need to be avoided in advance.

Evan Daniel
___
Support mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support


Re: [freenet-support] Re: 5029 overloads

2003-11-01 Thread Evan Berggren Daniel
On Sat, 1 Nov 2003, Toad wrote:

> maximumThreads=300 => you need to give it more memory. Recommend
> -Xmx256m, at least.

Would it make sense to have freenet put a cap on the threads based on
available memory, similar to how it caps the routing table size based on
max connections?

Evan Daniel
___
Support mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support