Anyone experiencing 100% CPU consumption in Netty NIO transports?
"이희승 (Trustin Lee)"
trustin at gmail.com
Tue Aug 11 22:37:03 EDT 2009
That is interesting. I thought the issue exists only in Linux and you
are seeing the problem in Solaris not in Linux. Please keep us posted
with your experiment with OIO transports.
Thanks,
Trustin
On 08/07/2009 09:56 PM, neilson9 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
>
>
More information about the netty-users
mailing list