After using Globus WS GRAM to submit jobs to our Moab scheduler using Torque/PBS, we have found that files are piling up in .globus/persisted/%servername%/ManagedExecutableJobResourceStateType/ and .globus/persisted/%servername%/PersistentSubscription/.
I spent some time yesterday trying to figure out what our GRAM-client needed to do to get the server to recognize that it could remove these files, and have so far failed. I found the following page: http://www.globus.org/toolkit/docs/4.0/common/javawscore/developer-index.html with a section on clean-up, and tried adding code to our GlobusListener: if (!newStatus.isActive()) { try { _notifConsumerManager.removeNotificationConsumer(gramJob.getNotificationConsumerEPR()); _notifConsumerManager.stopListening(); gramJob.removeListener(this); gramJob.destroy(); } catch (Exception e) { _job.warn("Exception trying to clean up GRAM", e); } } The code executes without complaint, but we continue to leak these files. Any help, would be much appreciated. Thanks Brian
