[torquedev] [PATCH] Enhance pbs_mom logging to show SISTER_EOF
Chris Samuel
csamuel at vpac.org
Mon May 4 06:21:55 MDT 2009
This patch simply prints a different message when a SISTER_EOF is
received versus some other failure mode.
Not even compile tested yet, but just a cut'n'paste of the log
from the default case with the string changed. :-)
Signed-off-by: Chris Samuel <csamuel at vpac.org>
---
src/resmom/mom_main.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/resmom/mom_main.c b/src/resmom/mom_main.c
index 6a99054..98b73e9 100644
--- a/src/resmom/mom_main.c
+++ b/src/resmom/mom_main.c
@@ -5867,6 +5867,14 @@ int job_over_limit(
case SISTER_EOF:
+ sprintf(log_buffer, "node %d (%s) requested job terminate, '%s' (code %d) - received SISTER_EOF attempting to communicate with sister MOM's",
+ pjob->ji_nodekill,
+ pnode->hn_host,
+ "EOF",
+ pnode->hn_sister);
+
+ break;
+
default:
sprintf(log_buffer, "node %d (%s) requested job terminate, '%s' (code %d) - internal or network failure attempting to communicate with sister MOM's",
--
1.6.0.4
--
Christopher Samuel - (03) 9925 4751 - Systems Manager
The Victorian Partnership for Advanced Computing
P.O. Box 201, Carlton South, VIC 3053, Australia
VPAC is a not-for-profit Registered Research Agency
More information about the torquedev
mailing list