allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject git commit: add cautionary text to the taskd_cleanup --kill option
Date Wed, 10 Apr 2013 21:35:10 GMT
Updated Branches:
  refs/heads/master 76800ef64 -> 06a70ab32


add cautionary text to the taskd_cleanup --kill option


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/06a70ab3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/06a70ab3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/06a70ab3

Branch: refs/heads/master
Commit: 06a70ab322ce7b4cf21ad902051d007184b37847
Parents: 76800ef
Author: Dave Brondsema <dbrondsema@slashdotmedia.com>
Authored: Wed Apr 10 21:30:11 2013 +0000
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Wed Apr 10 21:30:11 2013 +0000

----------------------------------------------------------------------
 Allura/allura/command/taskd_cleanup.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/06a70ab3/Allura/allura/command/taskd_cleanup.py
----------------------------------------------------------------------
diff --git a/Allura/allura/command/taskd_cleanup.py b/Allura/allura/command/taskd_cleanup.py
index 0951f8b..96c32b7 100644
--- a/Allura/allura/command/taskd_cleanup.py
+++ b/Allura/allura/command/taskd_cleanup.py
@@ -13,7 +13,8 @@ class TaskdCleanupCommand(base.Command):
     parser = base.Command.standard_parser(verbose=True)
     parser.add_option('-k', '--kill-stuck-taskd',
             dest='kill', action='store_true',
-            help='automatically kill stuck taskd processes')
+            help='automatically kill stuck taskd processes.  Be careful with this, a taskd
process '
+                 'may just be very busy on certain operations and not able to respond to
our status request')
     parser.add_option('-n', '--num-retry-status-check',
             dest='num_retry', type='int', default=5,
             help='number of retries to read taskd status log after sending USR1 signal (5
by default)')
@@ -88,7 +89,7 @@ class TaskdCleanupCommand(base.Command):
             if self.options.kill:
                 base.log.info('...stuck taskd processes were killed')
             else:
-                base.log.info('...to kill these processes run command with -k flag')
+                base.log.info('...to kill these processes run command with -k flag if you
are sure they are really stuck')
         if self.error_tasks:
             base.log.info('Tasks marked as \'error\': %s' % self.error_tasks)
 


Mime
View raw message