[Swift-devel] worker.pl IDLETIMEOUT

wilde at mcs.anl.gov wilde at mcs.anl.gov
Tue Oct 12 18:56:10 CDT 2010


I think Ive already got these mods for the worker in trunk.

IDLETIMEOUT is in seconds

I think you need to set the timer up high in the service as well (see diff below).

But Im not sure if this mod is breaking normal coaster behavior (in the normal automated mode) - see my note on that on the list a few posts back.

- Mike


Index: src/org/globus/cog/abstraction/coaster/service/CoasterService.java
===================================================================
--- src/org/globus/cog/abstraction/coaster/service/CoasterService.java  (revision 2902)
+++ src/org/globus/cog/abstraction/coaster/service/CoasterService.java  (working copy)
@@ -41,7 +41,7 @@
     public static final Logger logger = Logger
             .getLogger(CoasterService.class);
 
-    public static final int IDLE_TIMEOUT = 120 * 1000;
+    public static final int IDLE_TIMEOUT = 120 * 1000 /* extend it: */ * 30 * 240;
 
     public static final RequestManager COASTER_REQUEST_MANAGER = new CoasterRequestManager();
 



----- "Allan Espinosa" <aespinosa at cs.uchicago.edu> wrote:

> Poking at worker.pl, I see that it accepts a third argument for idle
> time.  Is
> this in seconds?
> 
> Also, I'm using swift to driver a number of passive workers.  The
> worker jobs
> fail due to this timeout.  I may have to modify things to suit this
> kind of
> setup.
> 
> Thanks,
> -Allan
> 
> -- 
> Allan M. Espinosa <http://amespinosa.wordpress.com>
> PhD student, Computer Science
> University of Chicago <http://people.cs.uchicago.edu/~aespinosa>
> _______________________________________________
> Swift-devel mailing list
> Swift-devel at ci.uchicago.edu
> http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel

-- 
Michael Wilde
Computation Institute, University of Chicago
Mathematics and Computer Science Division
Argonne National Laboratory




More information about the Swift-devel mailing list