[Bugs] [Bug 1157374] New: Hook script S31ganesha-reset.sh accounts for 100% CPU usage and doesn't terminate
bugzilla at redhat.com
bugzilla at redhat.com
Mon Oct 27 06:46:09 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1157374
Bug ID: 1157374
Summary: Hook script S31ganesha-reset.sh accounts for 100% CPU
usage and doesn't terminate
Product: GlusterFS
Version: 3.6.0
Component: cli
Severity: urgent
Priority: urgent
Assignee: bugs at gluster.org
Reporter: mmadhusu at redhat.com
CC: bugs at gluster.org, gluster-bugs at redhat.com,
jclift at redhat.com
Depends On: 1155489
Blocks: 1117822 (glusterfs-3.6.0)
+++ This bug was initially created as a clone of Bug #1155489 +++
Description of problem
S31ganesha-reset.sh hook script's CPU usage is seen to be 100%.
The script doesn't terminate by itself.
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
1. Execute gluster vol reset <volname> <option> <force> command
2. Check if the script is running and also check for its CPU usage
3.
Actual results:
The script that runs in the post phase of the reset command doesn't terminate.
It accounts for 100% CPU usage.
Expected results:
The script shouldn't do anything at all, when ganesha is not enabled. And also
the script should terminate in less than a second.
Additional info:
--- Additional comment from Anand Avati on 2014-10-22 06:16:40 EDT ---
REVIEW: http://review.gluster.org/8966 (Hooks : Infinite while loop introduced
by another change.) posted (#1) for review on master by Meghana M
(mmadhusu at redhat.com)
--- Additional comment from Anand Avati on 2014-10-24 04:17:03 EDT ---
COMMIT: http://review.gluster.org/8966 committed in master by Vijay Bellur
(vbellur at redhat.com)
------
commit a7a8a7507ca938b23d20a52931fa034cfaaa29f8
Author: Meghana Madhusudhan <mmadhusu at redhat.com>
Date: Tue Oct 21 19:50:29 2014 +0530
Hooks : Infinite while loop introduced by another change.
A change made to all the hook scripts introduced an
infinite while loop in the script S31ganesha-reset.sh.
It resulted in 100% CPU usage by this script.
Change-Id: If62d8f0e065c6e6511363b8b26eae433f59bc5c3
BUG: 1155489
Signed-off-by: Meghana Madhusudhan <mmadhusu at redhat.com>
Reviewed-on: http://review.gluster.org/8966
Reviewed-by: soumya k <skoduri at redhat.com>
Reviewed-by: Raghavendra Talur <rtalur at redhat.com>
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur at redhat.com>
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1117822
[Bug 1117822] Tracker bug for GlusterFS 3.6.0
https://bugzilla.redhat.com/show_bug.cgi?id=1155489
[Bug 1155489] Hook script S31ganesha-reset.sh accounts for 100% CPU usage
and doesn't terminate
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list