Wdym "catch the TimeoutException"? You were blocking on the future?
On Tue, Oct 7, 2014 at 11:28 AM, <[email protected]> wrote: > Really strange bug. So I had an ask when it should have been tell, but it > was timing out correctly after a couple seconds. The thing is that the ask > I was using was written in jruby, just a thin wrapper. After catching the > TimeoutException the code moves on, nothing is blocking, but the thread is > still there. I think I might be importing some stuff from the java side > that's conflicting, like Timeout from one library and Await from another, > or something similar that's causing something to get confused and not > interrupt the thread correctly. > > Chris > > On Tuesday, October 7, 2014 1:19:19 AM UTC-7, √ wrote: >> >> My bet: You're doing blocking (either Await or scala.concurrent.blocking >> {}) >> >> On Tue, Oct 7, 2014 at 10:09 AM, <[email protected]> wrote: >> >>> Never seen this before and curious what I'm doing to trigger it. >>> >>> I'm seeing akka start up one dispatcher thread for each of a specific >>> actor I am using. 500 actors 500 threads. Then over a couple of minutes >>> they all go away, down to what it normally is, just a small pool of 10 or >>> so. >>> >>> This is a single node cluster where I manually have it join itself. >>> >>> Any idea what I could be doing to trigger this? >>> >>> Chris >>> >>> -- >>> >>>>>>>>>> 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 [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at http://groups.google.com/group/akka-user. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Cheers, >> √ >> > -- > >>>>>>>>>> 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- Cheers, √ -- >>>>>>>>>> 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
