I'll switch to use the OioServerSocketChannelFactory - and see if the CPU spin goes away and report back. <br><br><div class="gmail_quote">On Fri, Aug 7, 2009 at 6:15 PM, Ernesto A. <span dir="ltr"><<a href="mailto:eaneiros@gmail.com">eaneiros@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">> Thanks Ernesto,<br>
> Im not in a position to upgrade the jdk - and it will be a long while before<br>
> 1.6u16 is out - 14 is only just out the door.<br>
<br>
</div>Yes I know about about jdk u16 not being ready yet, I recommended<br>
upgrading to the latest, in this case 14, as it is recommended to<br>
always run the latest. But this is not your case.<br>
<div class="im"><br>
> There are some workarounds mentioned on the first post of this thread...is<br>
> it possible for me to pickup a patch and test it?<br>
<br>
</div>First you need to find out the exact problem you are having before<br>
doing any patching, it could be the described bug, but it could also<br>
be something else. And if you cannot upgrade the jdk, can you patch<br>
<div><div></div><div class="h5">it?<br>
<br>
><br>
> Regards<br>
> Neil.<br>
><br>
> On Fri, Aug 7, 2009 at 3:54 PM, Ernesto A. (via Nabble) <<br>
> <a href="mailto:ml-user%2B243346-445243325@n2.nabble.com">ml-user+243346-445243325@n2.nabble.com</a><<a href="mailto:ml-user%252B243346-445243325@n2.nabble.com">ml-user%2B243346-445243325@n2.nabble.com</a>><br>
>> wrote:<br>
><br>
>> Hi again,<br>
>><br>
>> a bit more of info, I see you are running jdk 1.6_u12, even though not<br>
>> exactly the same, check this link<br>
>> <a href="http://issues.apache.org/jira/browse/DIRMINA-678" target="_blank">http://issues.apache.org/jira/browse/DIRMINA-678</a> for a similar issue<br>
>> on mina, they mention that a fix for the bug mentioned on that post<br>
>> would be out for update 16 of jdk 6, so I think you should try and<br>
>> update to the last jdk version too.<br>
>><br>
>> best regards, ernesto.<br>
>><br>
>> On Fri, Aug 7, 2009 at 8:56 AM, neilson9<[hidden email]<<a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3404822&i=0" target="_blank">http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3404822&i=0</a>>><br>
>> wrote:<br>
>> ><br>
>> > Hi Trustin,<br>
>> > Im not 100% - but since porting onto OpenSolaris we are getting a CPU<br>
>> spin<br>
>> > and the only thing we can pin it on is the NIO bug - we dont see it on<br>
>> > Linux, OSX or windows platforms.<br>
>> ><br>
>> > We run an agent process and ensure its not doing any work and after a<br>
>> minute<br>
>> > or so it starts to spin up on the CPU.<br>
>> ><br>
>> > Do you have any suggestions we could try?<br>
>> ><br>
>> > platform: OpenSolaris/Sunos, Java1.6_u12, Netty 3.1.0 (nightly build -<br>
>> just<br>
>> > before GA)<br>
>> ><br>
>> > Regards Neil.<br>
>> > Dump<br>
>> > "New I/O server boss #2 (channelId: 22142166, /<a href="http://0.0.0.0:12004" target="_blank">0.0.0.0:12004</a>)" - Thread<br>
>> t@48<br>
>> > � java.lang.Thread.State: RUNNABLE<br>
>> > � � � �at sun.nio.ch.DevPollArrayWrapper.poll0(Native Method)<br>
>> > � � � �at<br>
>> sun.nio.ch.DevPollArrayWrapper.poll(DevPollArrayWrapper.java:164)<br>
>> > � � � �at<br>
>> sun.nio.ch.DevPollSelectorImpl.doSelect(DevPollSelectorImpl.java:68)<br>
>> > � � � �at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)<br>
>> > � � � �- locked sun.nio.ch.Util$1@174b8f3<br>
>> > � � � �- locked java.util.Collections$UnmodifiableSet@2861e0<br>
>> > � � � �- locked sun.nio.ch.DevPollSelectorImpl@403e75<br>
>> > � � � �at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)<br>
>> > � � � �at<br>
>> sun.nio.ch.ServerSocketAdaptor.accept(ServerSocketAdaptor.java:105)<br>
>> > � � � �- locked java.lang.Object@1c49654<br>
>> > � � � �at<br>
>> ><br>
>> org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink$Boss.run(NioServerSocketPipelineSink.java:216)<br>
>><br>
>> > � � � �at<br>
>> ><br>
>> org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:110)<br>
>><br>
>> > � � � �at<br>
>> ><br>
>> org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:53)<br>
>><br>
>> > � � � �at<br>
>> ><br>
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<br>
>><br>
>> > � � � �at<br>
>> ><br>
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<br>
>><br>
>> > � � � �at java.lang.Thread.run(Thread.java:619)<br>
>> ><br>
>> > � Locked ownable synchronizers:<br>
>> > � � � �- locked<br>
>> java.util.concurrent.locks.ReentrantLock$NonfairSync@16990c9<br>
>> ><br>
>> ><br>
>> > --<br>
>> > View this message in context:<br>
>> <a href="http://n2.nabble.com/Anyone-experiencing-100--CPU-consumption-in-Netty-NIO-transports--tp3140291p3404186.html" target="_blank">http://n2.nabble.com/Anyone-experiencing-100--CPU-consumption-in-Netty-NIO-transports--tp3140291p3404186.html</a><br>
>> > Sent from the Netty User Group mailing list archive at Nabble.com.<br>
>> > _______________________________________________<br>
>> > netty-users mailing list<br>
>> > [hidden email]<<a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3404822&i=1" target="_blank">http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3404822&i=1</a>><br>
>> > <a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
>> ><br>
>><br>
>> _______________________________________________<br>
>> netty-users mailing list<br>
>> [hidden email]<<a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3404822&i=2" target="_blank">http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3404822&i=2</a>><br>
>> <a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
>><br>
>><br>
>> ------------------------------<br>
>> �View message @<br>
>> <a href="http://n2.nabble.com/Anyone-experiencing-100--CPU-consumption-in-Netty-NIO-transports--tp3140291p3404822.html" target="_blank">http://n2.nabble.com/Anyone-experiencing-100--CPU-consumption-in-Netty-NIO-transports--tp3140291p3404822.html</a><br>
>> To unsubscribe from Re: Anyone experiencing 100% CPU consumption in Netty<br>
>> NIO transports?, click here< (link removed) =>.<br>
>><br>
>><br>
>><br>
><br>
> --<br>
> View this message in context: <a href="http://n2.nabble.com/Anyone-experiencing-100--CPU-consumption-in-Netty-NIO-transports--tp3140291p3404887.html" target="_blank">http://n2.nabble.com/Anyone-experiencing-100--CPU-consumption-in-Netty-NIO-transports--tp3140291p3404887.html</a><br>
> Sent from the Netty User Group mailing list archive at Nabble.com.<br>
> _______________________________________________<br>
> netty-users mailing list<br>
> <a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
><br>
<br>
_______________________________________________<br>
netty-users mailing list<br>
<a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
</div></div></blockquote></div><br>