This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Scala Actors problem

2 replies
Sagar Varpe
Joined: 2010-12-10,
User offline. Last seen 42 years 45 weeks ago.

Hi,
I our background processing there are about 14-15 scala Actors
working simultaneously.
All Actors are running on a single JVM within a single jar
file.
I have noticed that after continuous execution of jar file
for 2-3 days. Some actors stop working or their thread go into
waiting or blocked state.

I need you help to figure out the problem.

Thanks and Regards
Sagar

Jason Zaugg
Joined: 2009-05-18,
User offline. Last seen 38 weeks 5 days ago.
Re: Scala Actors problem

On Thu, Aug 25, 2011 at 10:01 AM, sagar wrote:
> Hi,
>        I our background processing there are about 14-15 scala Actors
> working simultaneously.
>        All Actors are running on  a single JVM within a single jar
> file.
>        I have noticed that after continuous execution  of jar file
> for 2-3 days. Some actors stop working or their thread  go into
> waiting or blocked state.

Please post your question to the scala-user mailing list, and provide
a thread-dump of your application, captured with jstack [1]

-jason

[1] http://download.oracle.com/javase/1.5.0/docs/tooldocs/share/jstack.html

tolsen77
Joined: 2008-10-08,
User offline. Last seen 1 year 38 weeks ago.
Re: Scala Actors problem
Do you have exception handling and restarting in place for your actors?

On 25 August 2011 10:01, sagar <sagar131@gmail.com> wrote:
Hi,
       I our background processing there are about 14-15 scala Actors
working simultaneously.
       All Actors are running on  a single JVM within a single jar
file.
       I have noticed that after continuous execution  of jar file
for 2-3 days. Some actors stop working or their thread  go into
waiting or blocked state.


   I need you help to figure out the problem.

Thanks and Regards
Sagar


Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland