On Wednesday 03 July 2002 15:53, you wrote:

> > With the latest build I have found that occasionally when I try to
> access the FProxy gateway page, my browser will just sit there waiting
> for a response.  The NodeStatus and NodeInfo servlets still work fine,
> and I don't see anything reported in the logs. Has anyone else seen
> this?
>
> Ian.

I haven't been using fproxy so I haven't seen it lock, but there's a stuck 
thread problem that could cause the symptoms you describe.

It appears somethings not right with the new Bandwith limiting code.

When I do a thread dump I see one thread sleeping  (not waiting) while 
holding the lock on Bandwidth (see snippet below) with 113 threads waiting to
get that lock.


--gj


PID:12367
"PThread-41" (TID:0x402f7820, sys_thread_t:0x82d7228, state:CW, native 
ID:0xb42e) prio=5
        at java.lang.Thread.sleep(Native Method)
        at freenet.support.io.Bandwidth.waitForBandwidth(Bandwidth.java(Compiled 
Code))
        at freenet.support.io.Bandwidth.chargeBandwidth(Bandwidth.java(Compiled 
Code))
        at 
freenet.support.io.ThrottledInputStream.read(ThrottledInputStream.java(Compiled 
Code))
        at freenet.crypt.Util.readMPI(Util.java(Compiled Code))
        at freenet.session.FnpLink.receiveRestartRequest(FnpLink.java(Compiled Code))
        at freenet.session.FnpLink.accept(FnpLink.java(Compiled Code))
        at 
freenet.session.FnpLinkManager.acceptIncoming(FnpLinkManager.java(Compiled 
Code))
        at 
freenet.interfaces.FreenetConnectionRunner.handle(FreenetConnectionRunner.java(Compiled
 
Code))
        at 
freenet.interfaces.PublicInterface$ConnectionShell.run(PublicInterface.java(Compiled 
Code))
        at freenet.thread.PThreadFactory$PThread.run(PThreadFactory.java(Compiled 
Code))


----------------------------------------
Content-Type: application/pgp-signature; charset="us-ascii"; 
name="Attachment: 1"
Content-Transfer-Encoding: 7bit
Content-Description: 
----------------------------------------

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

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

Reply via email to