[drmaa-wg] How long to use a Session?

Jeff White jsw at farecast.com
Mon Jun 26 18:03:13 CDT 2006


I have a daemon process that periodically submits jobs to SGE. I have a 
separate thread that uses Session.wait(JOBS_IDS_SESSION_ANY) to gather 
the JobInfo objects, for example to add to a completion queue. The 
session may be idle for long periods of time. Should I use a single 
Session for the entire duration of the application, for each submitted 
job, or something in between?

jeff





More information about the drmaa-wg mailing list