Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

OS-1797 log more process info when a GZ process blocks zone shutdown

  • Loading branch information...
commit 02a7cc8591556bd40e71d1646778f0e999be66e4 1 parent fb61207
@jjelinek jjelinek authored
View
10 overlay/generic/usr/lib/brand/joyent-minimal/statechange
@@ -19,7 +19,7 @@
#
# CDDL HEADER END
#
-# Copyright 2012 Joyent, Inc. All rights reserved.
+# Copyright 2013 Joyent, Inc. All rights reserved.
# Use is subject to license terms.
#
@@ -596,6 +596,14 @@ cleanup_mount()
echo "Error: GZ process $i under $1 blocking shutdown"
logger -p daemon.err "Error: zone $ZONENAME:" \
"GZ process $i under $1 blocking shutdown"
+
+ local args="pargs: `pargs $i`"
+ echo "$args"
+ logger -p daemon.err "$args"
+
+ local tree="ptree: `ptree $i`"
+ echo "$tree"
+ logger -p daemon.err "$tree"
fi
done
View
10 overlay/generic/usr/lib/brand/joyent/statechange
@@ -19,7 +19,7 @@
#
# CDDL HEADER END
#
-# Copyright 2012 Joyent, Inc. All rights reserved.
+# Copyright 2013 Joyent, Inc. All rights reserved.
# Use is subject to license terms.
#
@@ -596,6 +596,14 @@ cleanup_mount()
echo "Error: GZ process $i under $1 blocking shutdown"
logger -p daemon.err "Error: zone $ZONENAME:" \
"GZ process $i under $1 blocking shutdown"
+
+ local args="pargs: `pargs $i`"
+ echo "$args"
+ logger -p daemon.err "$args"
+
+ local tree="ptree: `ptree $i`"
+ echo "$tree"
+ logger -p daemon.err "$tree"
fi
done
Please sign in to comment.
Something went wrong with that request. Please try again.