gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject svn commit: r225386 - in /gump/trunk: cron/gump.py python/gump/util/process/launcher.py
Date Tue, 26 Jul 2005 20:27:53 GMT
Author: ajack
Date: Tue Jul 26 13:27:40 2005
New Revision: 225386

URL: http://svn.apache.org/viewcvs?rev=225386&view=rev
Log:
1) Retry at pre-post scripts.
2) Don't know why this ABRT didn't go in last commit.

Modified:
    gump/trunk/cron/gump.py
    gump/trunk/python/gump/util/process/launcher.py

Modified: gump/trunk/cron/gump.py
URL: http://svn.apache.org/viewcvs/gump/trunk/cron/gump.py?rev=225386&r1=225385&r2=225386&view=diff
==============================================================================
Binary files - no diff available.

Modified: gump/trunk/python/gump/util/process/launcher.py
URL: http://svn.apache.org/viewcvs/gump/trunk/python/gump/util/process/launcher.py?rev=225386&r1=225385&r2=225386&view=diff
==============================================================================
--- gump/trunk/python/gump/util/process/launcher.py (original)
+++ gump/trunk/python/gump/util/process/launcher.py Tue Jul 26 13:27:40 2005
@@ -204,6 +204,9 @@
         log.warn('Kill process group %s (i.e. anything launched by PID %s) [from %s, for
%s]' \
                     % (pgrpID, pid, os.getpid(), default.gumpid))  
         if -1 != pgrpID:
+            # Give cores time to be produced, then just get serious...
+            os.killpg(pgrpID,signal.SIGABRT)
+            time.sleep(10)
             os.killpg(pgrpID,signal.SIGKILL)
         else:
             log.warn('No such PID' + str(pid) + '.')    



Mime
View raw message