Re: Netty using 100% CPU

2018-03-28 Thread 'Norman Maurer' via Netty discussions
Yep that should fix it

> On 28. Mar 2018, at 21:20, Nat  wrote:
> 
> So look like it will be fixed with https://github.com/netty/netty/pull/7801 
>  ?
> 
> On Tuesday, March 20, 2018 at 3:52:26 AM UTC-7, Rogan Dawes wrote:
> So the real issue seems to be this one:
> 
> https://github.com/netty/netty/issues/7255 
> 
> 
> I'm using netty 4.1.22.Final on Linux (Ubuntu 16.04, OpenJDK 1.8.0_151).
> 
> Rogan
> 
> 
> On Monday, March 12, 2018 at 2:48:52 PM UTC+2, Rogan Dawes wrote:
> Hi Nat,
> 
> Thanks for the pointer. It does sound quite similar!
> 
> I've experienced the problem on both OS X and Linux, but more prevalent on OS 
> X, I'd say. Next time it happens, I'll try put a breakpoint in that method, 
> and trace it to see what is happening.
> 
> Rogan
> 
> 
> On Mon, Mar 12, 2018 at 1:05 PM Nat > wrote:
> Sounds similar to this issue: https://github.com/netty/netty/issues/2465 
>  Which platform is it? Linux 
> version?
> 
> 
> 
> On Tuesday, February 27, 2018 at 10:53:31 PM UTC-8, Rogan Dawes wrote:
> (Apologies if this is a duplicate post)
> 
> I am writing an app using Netty (4.1.16-Final), that after a while ends up 
> using 100% CPU (on multiple cores, in some cases).
> 
> I used VisualVM to try get an idea what was going on, and it showed up as 
> being:
> 
> io.netty.channel.nio.SelectedSelectionKeySetSelector.select() 
> 
> I have attached a screenshot showing a more detailed trace.
> 
> Any ideas what could be causing SelectedSelectionKeySetSelector.select() to 
> spin like this?
> 
> Thanks!
> 
> Rogan
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Netty discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to netty+un...@googlegroups.com <>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/netty/a7235d0e-7821-4a44-b8bd-caa553c2e68d%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Netty discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to netty+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/netty/7d0ca72d-16c3-4d94-9886-504a9332e7c4%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
You received this message because you are subscribed to the Google Groups 
"Netty discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to netty+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/netty/0E323250-D238-40E7-9A28-40620F6FB372%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Netty using 100% CPU

2018-03-28 Thread Nat
So look like it will be fixed with https://github.com/netty/netty/pull/7801 
?

On Tuesday, March 20, 2018 at 3:52:26 AM UTC-7, Rogan Dawes wrote:
>
> So the real issue seems to be this one:
>
> https://github.com/netty/netty/issues/7255
>
> I'm using netty 4.1.22.Final on Linux (Ubuntu 16.04, OpenJDK 1.8.0_151).
>
> Rogan
>
>
> On Monday, March 12, 2018 at 2:48:52 PM UTC+2, Rogan Dawes wrote:
>>
>> Hi Nat,
>>
>> Thanks for the pointer. It does sound quite similar!
>>
>> I've experienced the problem on both OS X and Linux, but more prevalent 
>> on OS X, I'd say. Next time it happens, I'll try put a breakpoint in that 
>> method, and trace it to see what is happening.
>>
>> Rogan
>>
>>
>> On Mon, Mar 12, 2018 at 1:05 PM Nat  wrote:
>>
>>> Sounds similar to this issue: https://github.com/netty/netty/issues/2465 
>>> Which platform is it? Linux version?
>>>
>>>
>>>
>>> On Tuesday, February 27, 2018 at 10:53:31 PM UTC-8, Rogan Dawes wrote:

 (Apologies if this is a duplicate post)

 I am writing an app using Netty (4.1.16-Final), that after a while ends 
 up using 100% CPU (on multiple cores, in some cases).

 I used VisualVM to try get an idea what was going on, and it showed up 
 as being:

 io.netty.channel.nio.SelectedSelectionKeySetSelector.select() 

 I have attached a screenshot showing a more detailed trace.

 Any ideas what could be causing 
 SelectedSelectionKeySetSelector.select() to spin like this?

 Thanks!

 Rogan


 -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Netty discussions" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to netty+un...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/netty/a7235d0e-7821-4a44-b8bd-caa553c2e68d%40googlegroups.com
>>>  
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Netty discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to netty+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/netty/7d0ca72d-16c3-4d94-9886-504a9332e7c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Netty using 100% CPU

2018-03-20 Thread Rogan Dawes
So the real issue seems to be this one:

https://github.com/netty/netty/issues/7255

I'm using netty 4.1.22.Final on Linux (Ubuntu 16.04, OpenJDK 1.8.0_151).

Rogan


On Monday, March 12, 2018 at 2:48:52 PM UTC+2, Rogan Dawes wrote:
>
> Hi Nat,
>
> Thanks for the pointer. It does sound quite similar!
>
> I've experienced the problem on both OS X and Linux, but more prevalent on 
> OS X, I'd say. Next time it happens, I'll try put a breakpoint in that 
> method, and trace it to see what is happening.
>
> Rogan
>
>
> On Mon, Mar 12, 2018 at 1:05 PM Nat > 
> wrote:
>
>> Sounds similar to this issue: https://github.com/netty/netty/issues/2465 
>> Which platform is it? Linux version?
>>
>>
>>
>> On Tuesday, February 27, 2018 at 10:53:31 PM UTC-8, Rogan Dawes wrote:
>>>
>>> (Apologies if this is a duplicate post)
>>>
>>> I am writing an app using Netty (4.1.16-Final), that after a while ends 
>>> up using 100% CPU (on multiple cores, in some cases).
>>>
>>> I used VisualVM to try get an idea what was going on, and it showed up 
>>> as being:
>>>
>>> io.netty.channel.nio.SelectedSelectionKeySetSelector.select() 
>>>
>>> I have attached a screenshot showing a more detailed trace.
>>>
>>> Any ideas what could be causing SelectedSelectionKeySetSelector.select() 
>>> to spin like this?
>>>
>>> Thanks!
>>>
>>> Rogan
>>>
>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Netty discussions" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to netty+un...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/netty/a7235d0e-7821-4a44-b8bd-caa553c2e68d%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Netty discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to netty+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/netty/1036701e-bed3-4c7d-ba0a-83b7dbfeb92c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Netty using 100% CPU

2018-03-12 Thread Rogan Dawes
Hi Nat,

Thanks for the pointer. It does sound quite similar!

I've experienced the problem on both OS X and Linux, but more prevalent on
OS X, I'd say. Next time it happens, I'll try put a breakpoint in that
method, and trace it to see what is happening.

Rogan


On Mon, Mar 12, 2018 at 1:05 PM Nat  wrote:

> Sounds similar to this issue: https://github.com/netty/netty/issues/2465
> Which platform is it? Linux version?
>
>
>
> On Tuesday, February 27, 2018 at 10:53:31 PM UTC-8, Rogan Dawes wrote:
>>
>> (Apologies if this is a duplicate post)
>>
>> I am writing an app using Netty (4.1.16-Final), that after a while ends
>> up using 100% CPU (on multiple cores, in some cases).
>>
>> I used VisualVM to try get an idea what was going on, and it showed up as
>> being:
>>
>> io.netty.channel.nio.SelectedSelectionKeySetSelector.select()
>>
>> I have attached a screenshot showing a more detailed trace.
>>
>> Any ideas what could be causing SelectedSelectionKeySetSelector.select()
>> to spin like this?
>>
>> Thanks!
>>
>> Rogan
>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Netty discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to netty+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/netty/a7235d0e-7821-4a44-b8bd-caa553c2e68d%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Netty discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to netty+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/netty/CAOYdKdhgfNjTRxrVHoPn3awgCvckt_SsGyMc_cm24fme8ZR1EA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Netty using 100% CPU

2018-03-12 Thread Nat
Sounds similar to this issue: https://github.com/netty/netty/issues/2465 
Which platform is it? Linux version?



On Tuesday, February 27, 2018 at 10:53:31 PM UTC-8, Rogan Dawes wrote:
>
> (Apologies if this is a duplicate post)
>
> I am writing an app using Netty (4.1.16-Final), that after a while ends up 
> using 100% CPU (on multiple cores, in some cases).
>
> I used VisualVM to try get an idea what was going on, and it showed up as 
> being:
>
> io.netty.channel.nio.SelectedSelectionKeySetSelector.select() 
>
> I have attached a screenshot showing a more detailed trace.
>
> Any ideas what could be causing SelectedSelectionKeySetSelector.select() 
> to spin like this?
>
> Thanks!
>
> Rogan
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Netty discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to netty+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/netty/a7235d0e-7821-4a44-b8bd-caa553c2e68d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.