Re: [akka-user] LEAK: You are creating too many HashedWheelTimer instances

2016-07-05 Thread Yan Pei
Patrik,
  I suspected it might be from Cassandra client driver too. I haven't seen 
those errors for two days. Will add the "ch.qos.logback' like you suggested 
below. Thank you very much!

Yan

On Tuesday, July 5, 2016 at 5:11:19 AM UTC-5, Patrik Nordwall wrote:
>
> Could it be that these are created by Netty via Cassandra client driver 
> via akka-persistence-cassandra? You can try to add "ch.qos.logback" % 
> "logback-classic" % "1.1.3" dependency and enable logging in logback.xml 
> for 
> 
>
> That might show you what the Cassandra driver is doing, e.g. scheduling 
> reconnects or something.
>
> /Patrik
>
> On Fri, Jul 1, 2016 at 7:59 PM, Yan Pei > 
> wrote:
>
>> We run this application via a scheduler, every three hours. We did 
>> shutdown ActorSystem at the end of each run and restart ActorSystem at the 
>> beginning of each run. Will it cause problem?
>>
>> Thanks,
>> Yan
>>
>> On Friday, July 1, 2016 at 12:47:45 PM UTC-5, √ wrote:
>>>
>>> I would suspect that you may be creating new ActorSystem instances 
>>> instead of reusing a single one.
>>>
>>> -- 
>>> Cheers,
>>> √
>>> On Jul 1, 2016 7:05 PM, "Yan Pei"  wrote:
>>>
 Hello All,

   I am using AKKA 2.4.4 and Cassandra 2.x.
   Today I found there is an error from the thread of 
 'actor-system-cassndra-plugin-default-dispatcher-380': 

 LEAK: You are creating too many HashedWheelTimer instances.  
 HashedWheelTimer is a shared resource that must be reused across the 
 JVM,so that only a few instances are created.

 Could anybody give me an hint which part cause the error? AKKA or 
 Canssandra? How to fix it?

 Thanks,
 Yan





 -- 
 >> Read the docs: http://akka.io/docs/
 >> Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
 >> Search the archives: 
 https://groups.google.com/group/akka-user
 --- 
 You received this message because you are subscribed to the Google 
 Groups "Akka User List" group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to akka-user+...@googlegroups.com.
 To post to this group, send email to akka...@googlegroups.com.
 Visit this group at https://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.

>>> -- 
>> >> Read the docs: http://akka.io/docs/
>> >> Check the FAQ: 
>> http://doc.akka.io/docs/akka/current/additional/faq.html
>> >> Search the archives: https://groups.google.com/group/akka-user
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Akka User List" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to akka-user+...@googlegroups.com .
>> To post to this group, send email to akka...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
>
> Patrik Nordwall
> Akka Tech Lead
> Lightbend  -  Reactive apps on the JVM
> Twitter: @patriknw
>
>

-- 
>>  Read the docs: http://akka.io/docs/
>>  Check the FAQ: 
>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


Re: [akka-user] LEAK: You are creating too many HashedWheelTimer instances

2016-07-05 Thread Patrik Nordwall
Could it be that these are created by Netty via Cassandra client driver via
akka-persistence-cassandra? You can try to add "ch.qos.logback" %
"logback-classic" % "1.1.3" dependency and enable logging in logback.xml
for


That might show you what the Cassandra driver is doing, e.g. scheduling
reconnects or something.

/Patrik

On Fri, Jul 1, 2016 at 7:59 PM, Yan Pei  wrote:

> We run this application via a scheduler, every three hours. We did
> shutdown ActorSystem at the end of each run and restart ActorSystem at the
> beginning of each run. Will it cause problem?
>
> Thanks,
> Yan
>
> On Friday, July 1, 2016 at 12:47:45 PM UTC-5, √ wrote:
>>
>> I would suspect that you may be creating new ActorSystem instances
>> instead of reusing a single one.
>>
>> --
>> Cheers,
>> √
>> On Jul 1, 2016 7:05 PM, "Yan Pei"  wrote:
>>
>>> Hello All,
>>>
>>>   I am using AKKA 2.4.4 and Cassandra 2.x.
>>>   Today I found there is an error from the thread of
>>> 'actor-system-cassndra-plugin-default-dispatcher-380':
>>>
>>> LEAK: You are creating too many HashedWheelTimer instances.
>>> HashedWheelTimer is a shared resource that must be reused across the JVM
>>> ,so that only a few instances are created.
>>>
>>> Could anybody give me an hint which part cause the error? AKKA or
>>> Canssandra? How to fix it?
>>>
>>> Thanks,
>>> Yan
>>>
>>>
>>>
>>>
>>>
>>> --
>>> >> Read the docs: http://akka.io/docs/
>>> >> Check the FAQ:
>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>> >> Search the archives:
>>> https://groups.google.com/group/akka-user
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Akka User List" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to akka-user+...@googlegroups.com.
>>> To post to this group, send email to akka...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/akka-user.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> >> Read the docs: http://akka.io/docs/
> >> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Patrik Nordwall
Akka Tech Lead
Lightbend  -  Reactive apps on the JVM
Twitter: @patriknw

-- 
>>  Read the docs: http://akka.io/docs/
>>  Check the FAQ: 
>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


Re: [akka-user] LEAK: You are creating too many HashedWheelTimer instances

2016-07-01 Thread Yan Pei
We run this application via a scheduler, every three hours. We did shutdown 
ActorSystem at the end of each run and restart ActorSystem at the beginning 
of each run. Will it cause problem?

Thanks,
Yan

On Friday, July 1, 2016 at 12:47:45 PM UTC-5, √ wrote:
>
> I would suspect that you may be creating new ActorSystem instances instead 
> of reusing a single one.
>
> -- 
> Cheers,
> √
> On Jul 1, 2016 7:05 PM, "Yan Pei" > wrote:
>
>> Hello All,
>>
>>   I am using AKKA 2.4.4 and Cassandra 2.x.
>>   Today I found there is an error from the thread of 
>> 'actor-system-cassndra-plugin-default-dispatcher-380': 
>>
>> LEAK: You are creating too many HashedWheelTimer instances.  
>> HashedWheelTimer is a shared resource that must be reused across the JVM,so 
>> that only a few instances are created.
>>
>> Could anybody give me an hint which part cause the error? AKKA or 
>> Canssandra? How to fix it?
>>
>> Thanks,
>> Yan
>>
>>
>>
>>
>>
>> -- 
>> >> Read the docs: http://akka.io/docs/
>> >> Check the FAQ: 
>> http://doc.akka.io/docs/akka/current/additional/faq.html
>> >> Search the archives: https://groups.google.com/group/akka-user
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Akka User List" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to akka-user+...@googlegroups.com .
>> To post to this group, send email to akka...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
>>  Read the docs: http://akka.io/docs/
>>  Check the FAQ: 
>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


Re: [akka-user] LEAK: You are creating too many HashedWheelTimer instances

2016-07-01 Thread Viktor Klang
I would suspect that you may be creating new ActorSystem instances instead
of reusing a single one.

-- 
Cheers,
√
On Jul 1, 2016 7:05 PM, "Yan Pei"  wrote:

> Hello All,
>
>   I am using AKKA 2.4.4 and Cassandra 2.x.
>   Today I found there is an error from the thread of
> 'actor-system-cassndra-plugin-default-dispatcher-380':
>
> LEAK: You are creating too many HashedWheelTimer instances.
> HashedWheelTimer is a shared resource that must be reused across the JVM,so
> that only a few instances are created.
>
> Could anybody give me an hint which part cause the error? AKKA or
> Canssandra? How to fix it?
>
> Thanks,
> Yan
>
>
>
>
>
> --
> >> Read the docs: http://akka.io/docs/
> >> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>  Read the docs: http://akka.io/docs/
>>  Check the FAQ: 
>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.