> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of S
> Sent: den 19 november 2003 13:00
> To: Discussion of development issues
> Subject: Re: [freenet-dev] Thread overage (by 1,000%+)
> 
> 
> On Wed, 19 Nov 2003 12:33:21 +0100
> "Niklas Bergh" <[EMAIL PROTECTED]> wrote:
> 
> > 1. What are all those threads registered as doing and what 
> OS and JVM 
> > version and so on are you using? Can you give us all the data from 
> > http://localhost:8888/servlet/nodeinfo/internal/env
> 
> I have no idea what the threads are doing; if I manage to 
> catch this problem in progress before it cripples my node, 
> I'm lucky to be able to load anything at all. The hard drive 
> thrashing on that machine is what usually alerts me that this 
> is taking place, and I typically go straight for "General 
> Information" to see what's going on.  As for the environment, 
> here is the current info, note that this is after just 
> restarting the node, while everything is working OK:

The part below is the one I really need from the environment page (now
that I know your OS and so on).. But of course I need it when the 'error
is present' :( If you can get to it then I would be very interested in
seeing it.. If not.. Well.. The full stack dump might suffice..

> Thread Pool  
> Total pooled threads 14 
> Available pooled threads 5 
> Pooled threads in use 9 
> Pooled Thread Consumers  
> Class Threads used 
> Checkpoint: Connection opener  8 
> freenet.interfaces.LocalNIOInterface$ConnectionShell 1 

> > 2. Where exactly are those threads stuck? It would be good if you 
> > could provide us with a complete stack dump. To generate a 
> full dump 
> > (windows
> > method) you need to run fred from a console and hit 
> ctrl-Break (keep a
> > large screenbuffer). 
> 
> Can you give any pointers on how to run Freenet from the 
> console under Windows? I've run Freenet on OSX and FreeBSD, 
> but I'm not familiar with the appropriate Windows command 
> line arguments; the wrapper app seems to control all of the 
> parameters on Windows.

Indeed it does. Try something like (where 200M allows you node to use up
to 200 megs of mem):
C:\Program Files\Freenet>java -Xmx200M -cp freenet-ext.jar;freenet.jar
freenet.node.Main

Additionally.. Is there any errors in the log file?

/N

_______________________________________________
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to