Well.. That row does nothing but calling Sun:s select method. And the
locking is done by that very same method.

The stack you are listing below is where the "read interface thread"
(the thread that reads data from the network) waits for data from the
network.

/N

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Tom Kaitchuck
> Sent: den 6 november 2003 02:08
> To: Discussion of development issues
> Subject: Re: [freenet-dev] Memory induced CPU overload.
> 
> 
> On Wednesday 05 November 2003 03:00 pm, Tom Kaitchuck wrote:
> > I'm seeing a not enough Memory induced CPU overload on 
> build 5031. It 
> > is realy slowing down my node. This has been going on for several 
> > hours:
> 
> Humm, this doesn't seem to be a memory problem after all. It 
> seems most likely 
> caused by this:
> 
> " read interface thread" daemon prio=5 tid=0x825a168 nid=9777 
> runnable 
> [0xbe1ff000..0xbe1ff83c]
>         at sun.nio.ch.PollArrayWrapper.poll0(Native Method)
>         at sun.nio.ch.PollArrayWrapper.poll(PollArrayWrapper.java:100)
>         at 
> sun.nio.ch.PollSelectorImpl.doSelect(PollSelectorImpl.java:64)
>         at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:62)
>         - locked <0x44e88300> (a sun.nio.ch.SelectorImpl$Lock)
>         at 
> freenet.transport.AbstractSelectorLoop.mySelect(AbstractSelect
> orLoop.java:527)
>         at 
> freenet.transport.AbstractSelectorLoop.loop(AbstractSelectorLo
> op.java:675)
>         at 
> freenet.transport.ReadSelectorLoop.run(ReadSelectorLoop.java:506)
>         at java.lang.Thread.run(Thread.java:536)
> 
> This was the thread that was causing the problem, and this 
> exact printout 
> recered many times when SIGQUITing it. So can someone look 
> into what's going 
> on AbstractSelectorLoop.java:527. BTW why is NIO locked?
> 
> _______________________________________________
> Devl mailing list
> [EMAIL PROTECTED] 
> http://dodo.freenetproject.org/cgi-> bin/mailman/listinfo/devl
> 

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

Reply via email to