Okay. I have committed some extra logging in the unstable branch. We
need to know what happens to these threads. Please try again and show me
what the last few lines of the log are when it is at 100% load. The
snapshots have been updated.

On Wed, Aug 20, 2003 at 08:27:18AM +0200, Niklas Bergh wrote:
> The problem is still present in build 6160:
> 
> Aug 20, 2003 8:10:35 AM (freenet.ConnectionHandler, QThread-8842, DEBUG):
> Terminating ([EMAIL PROTECTED] for
> null,null,accumulator:(null)) (not trailing)(reading)
> java.lang.Exception: debug
>  at freenet.ConnectionHandler.logDEBUG(ConnectionHandler.java:287)
>  at freenet.ConnectionHandler.terminate(ConnectionHandler.java:2602)
>  at freenet.OpenConnectionManager.put(OpenConnectionManager.java:125)
>  at freenet.ConnectionHandler.registerOCM(ConnectionHandler.java:328)
>  at
> freenet.interfaces.FreenetConnectionRunner.handle(FreenetConnectionRunner.ja
> va:133)
>  at
> freenet.interfaces.PublicNIOInterface$ConnectionShell.run(PublicNIOInterface
> .java:147)
>  at freenet.thread.QThreadFactory$QThread.run(QThreadFactory.java:214)
> 
> <....32671 similar snipped..>
> 
> Aug 20, 2003 8:11:10 AM (freenet.ConnectionHandler, QThread-10241, DEBUG):
> Terminating ([EMAIL PROTECTED] for
> null,null,accumulator:(null)) (not trailing)(reading)
> java.lang.Exception: debug
>  at freenet.ConnectionHandler.logDEBUG(ConnectionHandler.java:287)
>  at freenet.ConnectionHandler.terminate(ConnectionHandler.java:2602)
>  at freenet.OpenConnectionManager.put(OpenConnectionManager.java:125)
>  at freenet.ConnectionHandler.registerOCM(ConnectionHandler.java:328)
>  at
> freenet.interfaces.FreenetConnectionRunner.handle(FreenetConnectionRunner.ja
> va:133)
>  at
> freenet.interfaces.PublicNIOInterface$ConnectionShell.run(PublicNIOInterface
> .java:147)
>  at freenet.thread.QThreadFactory$QThread.run(QThreadFactory.java:214)
> 
> 32673 times in 35 seconds..
> 
> Another thing that I have noticed is that it would seem that the node isn't
> stuck at 100% CPU 100% of the time... it is more like: normal operation for
> 30 minutes,100% for an hour, normal for 2 minutes, 100% for 20 minutes and
> so on (no real pattern to be seen)...
> 
> Can it be so that CPU usage drops to normal because termination finally
> succeeds? And then another connection is about to be closed and we are back
> to 100% again..
> 
> /N
> 
> 
> > And with  Sun 1.4.1_02-b06.
> >
> > /N
> > ----- Original Message -----
> > From: "Tom Kaitchuck" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, August 20, 2003 2:22 AM
> > Subject: Re: [freenet-dev] System hogging with 5026 & 5027
> >
> >
> > > On Tuesday 19 August 2003 06:46 pm, Toad wrote:
> > > > On Tue, Aug 19, 2003 at 07:45:32AM -0400, Zlatin Balevsky wrote:
> > > > > >Or maybe it
> > > > > >is only so that my node has tried to Terminate the *same* (1c17c3a)
> > > > > >ConnectionHandler 16k times during those seconds?
> > > > >
> > > > > more probably the same connectionHandler gets enqueued over and over
> > to
> > > > > the closeQueue.  I believe I removed closeUniqueness some time ago
> > while
> > > > > debugging .. something else?  Try restoring that and see if you get
> > the
> > > > > same logs.
> > > >
> > > > I reproduced it locally and took a stack dump. The most obvious thing
> > > > about the stack dump was that lots of threads were waiting for an
> object
> > > > that was not locked (and it WASN'T the routing table this time). See
> my
> > > > other mail. Does the 100% CPU usage behaviour occur with 1.4.1?
> > >
> > > Yes, it happens with blackdown 1.4.1 .
> > > _______________________________________________
> > > devl mailing list
> > > [EMAIL PROTECTED]
> > > http://hawk.freenetproject.org:8080/cgi-bin/mailman/listinfo/devl
> > >
> >
> > _______________________________________________
> > devl mailing list
> > [EMAIL PROTECTED]
> > http://hawk.freenetproject.org:8080/cgi-bin/mailman/listinfo/devl
> >
> 
> _______________________________________________
> devl mailing list
> [EMAIL PROTECTED]
> http://hawk.freenetproject.org:8080/cgi-bin/mailman/listinfo/devl

-- 
Matthew J Toseland - [EMAIL PROTECTED]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to