Anyone experiencing 100% CPU consumption in Netty NIO transports?

neilson9 neil at liquidlabs.co.uk
Fri Aug 7 11:10:19 EDT 2009


Thanks Ernesto,
Im not in a position to upgrade the jdk - and it will be a long while before
1.6u16 is out - 14 is only just out the door.

There are some workarounds mentioned on the first post of this thread...is
it possible for me to pickup a patch and test it?

Regards
Neil.

On Fri, Aug 7, 2009 at 3:54 PM, Ernesto A. (via Nabble) <
ml-user+243346-445243325 at n2.nabble.com<ml-user%2B243346-445243325 at n2.nabble.com>
> wrote:

> Hi again,
>
> a bit more of info, I see you are running jdk 1.6_u12, even though not
> exactly the same, check this link
> http://issues.apache.org/jira/browse/DIRMINA-678 for a similar issue
> on mina, they mention that a fix for the bug mentioned on that post
> would be out for update 16 of jdk 6, so I think you should try and
> update to the last jdk version too.
>
> best regards, ernesto.
>
> On Fri, Aug 7, 2009 at 8:56 AM, neilson9<[hidden email]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3404822&i=0>>
> wrote:
> >
> > Hi Trustin,
> > Im not 100% - but since porting onto OpenSolaris we are getting a CPU
> spin
> > and the only thing we can pin it on is the NIO bug - we dont see it on
> > Linux, OSX or windows platforms.
> >
> > We run an agent process and ensure its not doing any work and after a
> minute
> > or so it starts to spin up on the CPU.
> >
> > Do you have any suggestions we could try?
> >
> > platform: OpenSolaris/Sunos, Java1.6_u12, Netty 3.1.0 (nightly build -
> just
> > before GA)
> >
> > Regards Neil.
> > Dump
> > "New I/O server boss #2 (channelId: 22142166, /0.0.0.0:12004)" - Thread
> t at 48
> >   java.lang.Thread.State: RUNNABLE
> >        at sun.nio.ch.DevPollArrayWrapper.poll0(Native Method)
> >        at
> sun.nio.ch.DevPollArrayWrapper.poll(DevPollArrayWrapper.java:164)
> >        at
> sun.nio.ch.DevPollSelectorImpl.doSelect(DevPollSelectorImpl.java:68)
> >        at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)
> >        - locked sun.nio.ch.Util$1 at 174b8f3
> >        - locked java.util.Collections$UnmodifiableSet at 2861e0
> >        - locked sun.nio.ch.DevPollSelectorImpl at 403e75
> >        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)
> >        at
> sun.nio.ch.ServerSocketAdaptor.accept(ServerSocketAdaptor.java:105)
> >        - locked java.lang.Object at 1c49654
> >        at
> >
> org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink$Boss.run(NioServerSocketPipelineSink.java:216)
>
> >        at
> >
> org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:110)
>
> >        at
> >
> org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:53)
>
> >        at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>
> >        at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>
> >        at java.lang.Thread.run(Thread.java:619)
> >
> >   Locked ownable synchronizers:
> >        - locked
> java.util.concurrent.locks.ReentrantLock$NonfairSync at 16990c9
> >
> >
> > --
> > View this message in context:
> http://n2.nabble.com/Anyone-experiencing-100--CPU-consumption-in-Netty-NIO-transports--tp3140291p3404186.html
> > Sent from the Netty User Group mailing list archive at Nabble.com.
> > _______________________________________________
> > netty-users mailing list
> > [hidden email]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3404822&i=1>
> > https://lists.jboss.org/mailman/listinfo/netty-users
> >
>
> _______________________________________________
> netty-users mailing list
> [hidden email]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3404822&i=2>
> https://lists.jboss.org/mailman/listinfo/netty-users
>
>
> ------------------------------
>  View message @
> http://n2.nabble.com/Anyone-experiencing-100--CPU-consumption-in-Netty-NIO-transports--tp3140291p3404822.html
> To unsubscribe from Re: Anyone experiencing 100% CPU consumption in Netty
> NIO transports?, click here< (link removed) =>.
>
>
>

-- 
View this message in context: http://n2.nabble.com/Anyone-experiencing-100--CPU-consumption-in-Netty-NIO-transports--tp3140291p3404887.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list