Found the issue.  When a thread is rescheduled, the executor ID is left set 
so the thread cannot run until the executor it was running on comes back 
up.  Presumably this executorID should be blanked out so it can run on the 
next available executor.

I have also noticed a large time lag when you try to abort an application 
with such rescheduled threads probably because it needs to wait for the 
executor to come online again and respond to the abort command.

Had a quick search through the source code but its not my forte so I'll 
leave it to the developers to fix :-)


At 01:32 p.m. 26/05/2006, Tibor Biro wrote:
>Hi,
>
>I remember a bug that was manifesting itself in the same way. That one was
>due to a thread race. Maybe it is the same problem in a different location.
>
>Regards,
>Tibor
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:alchemi-users-
> > [EMAIL PROTECTED] On Behalf Of Reece Arnott
> > Sent: Thursday, May 25, 2006 9:19 PM
> > To: [email protected]
> > Subject: Re: [Alchemi-users] Problem re-scheduling threads (Alchemi 1.0.4)
> >
> > At 09:15 a.m. 24/05/2006, Reece Arnott wrote:
> > >I have run into a problem when running the pi calculator (5000 digits)
> > and
> > >stopping one of the executors as it is running a thread.  The thread is
> > >subsequently set to 'scheduled' but does not seem to ever be re-run.
> > >
> > >This also happens when using the 1.0.4 Alchemi_jsub.exe (and Core) to run
> > >the Blast Demo.
> >
> > It seems as if the problem may be related to how how long the Manager has
> > been running and how many threads have had to be rescheduled. Weird
> > 'memory
> > leak' maybe?
> >
> > Anyway, I fixed it by stopping the Manager, rebooting the computer and
> > restarting the Manager.
> >
> >
> > -------------------------
> > Reece Arnott
> > Learning Environments Specialist
> > School of Business
> > University of Otago
> > Dunedin
> > New Zealand
> >
> > [EMAIL PROTECTED]
> > -------------------------
> >
> >
> >
> > -------------------------------------------------------
> > All the advantages of Linux Managed Hosting--Without the Cost and Risk!
> > Fully trained technicians. The highest number of Red Hat certifications in
> > the hosting industry. Fanatical Support. Click to learn more
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
> > _______________________________________________
> > alchemi-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/alchemi-users

-------------------------
Reece Arnott
Learning Environments Specialist
School of Business
University of Otago
Dunedin
New Zealand

[EMAIL PROTECTED]
-------------------------



_______________________________________________
Alchemi-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alchemi-developers

Reply via email to