Skip Menu |

This queue is for tickets about the Helios CPAN distribution.

Report information
The Basics
Id: 81709
Status: resolved
Priority: 0/
Queue: Helios

People
Owner: LAJANDY [...] cpan.org
Requestors: LAJANDY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 2.60
  • 2.22
  • 2.23
  • 2.40
  • 2.41
Fixed in:
  • 2.601_3610
  • 2.601_3670
  • 2.601_3750
  • 2.61



Subject: WORKER_MAX_TTL parameter not always enforced
Client had a runaway process that was not killed after WORKER_MAX_TTL seconds passed. They have seen Helios act appropriately to kill such processes before, but it apparently is not always enforced.
On Tue Dec 04 17:46:06 2012, LAJANDY wrote: Show quoted text
> Client had a runaway process that was not killed after WORKER_MAX_TTL > seconds passed. They have seen Helios act appropriately to kill such > processes before, but it apparently is not always enforced.
The WORKER_MAX_TTL parameter is currently only enforced if MAX_WORKERS processes has been reached or HOLD is in effect. This is apparently an oversight by the <ahem> original developer. The cleanest place to enforce WORKER_MAX_TTL in normal operation (at least for now) is just after service registration. That way, helios.pl checks on the running workers often, but not so frequently it ends up spending more time checking for workers to kill than its primary job of actually launching workers. I have a proof-of-concept that works in a forked repo in github...I'll get an official patched release together soon.
Patch in above GitHub branch has been tested and works. We'll put together a new Helios release in a few days incorporating the change.
On Wed Dec 12 20:05:15 2012, LAJANDY wrote: Show quoted text
> Patch in above GitHub branch has been tested and works. We'll put > together a new Helios release in a few days incorporating the change.
On Fri Sep 13 16:51:59 2013, LAJANDY wrote: Show quoted text
> On Wed Dec 12 20:05:15 2012, LAJANDY wrote:
> > Patch in above GitHub branch has been tested and works. We'll put > > together a new Helios release in a few days incorporating the change.
>
On Sat Sep 14 18:47:37 2013, LAJANDY wrote: Show quoted text
> On Fri Sep 13 16:51:59 2013, LAJANDY wrote:
> > On Wed Dec 12 20:05:15 2012, LAJANDY wrote:
> > > Patch in above GitHub branch has been tested and works. We'll put > > > together a new Helios release in a few days incorporating the change.
> >
> >