I am using tcpAddress.toString() to get the host name for the per host 
diagnostics (inboundConnections/outboundConnections/inboundRequests).

It looks like creating too many tcpAddress instances is causing  too many 
threads to get bogged down.  I have seen my system stop answering FNP 
connections completly.   

When I look at the stack dump I see many tens of threads hung in:

java.net.InetAddressImpl.getHostByAddr(Native Method)
at java.net.InetAddress.getHostName(InetAddress.java(Compiled Code))
at java.net.InetAddress.getHostName(InetAddress.java(Compiled Code))
at java.net.InetAddress.toString(InetAddress.java(Compiled Code))
at freenet.transport.tcpAddress.<init>(tcpAddress.java(Compiled Code))

Currently when the per host diagnostics are on a tcpAddress instance is 
created for every single request.   I would recommend that people turn off 
the per host diagnostics until I can clean this up. 

i.e. in freenet.ini/conf
logInboundContacts=false
logOutboundContacts=false
logInboundRequests=false

They are off by default.

--gj

-- 
Freesite
(0.4) freenet:SSK at npfV5XQijFkF6sXZvuO0o~kG4wEPAgM/homepage//


_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to