fix some problems that happen when there are many mysqld instances

This commit is contained in:
Baron Schwartz
2012-06-03 20:53:57 -04:00
parent da86c409da
commit 48f642551e
2 changed files with 4 additions and 1 deletions

View File

@@ -43,6 +43,7 @@ collect_mysqld_instances () {
echo "internal::oom_of_$pid $oom" >> "$variables_file"
done
pids="$pids"
pids="$(echo $pids | sed -e 's/ /,/g')"
ps ww -p "$pids" 2>/dev/null
else