Skip to content

Commit

Permalink
Merge pull request opensciencegrid#219 from rynge/relax-d-procs
Browse files Browse the repository at this point in the history
OSPool CM: relax the D proc check
  • Loading branch information
rynge authored Sep 17, 2024
2 parents 2ad84a5 + bd301c5 commit 1803833
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions opensciencegrid/ospool-cm/healthy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ fi

procs_z=$(ps axo pid,stat | awk '$2 ~ /^Z/ { print $1 }' | wc -l)
if [ "$procs_z" -gt 0 ]; then
echo "Found $procs_z zombie processes" >&2
echo "Found $procs_z zombie (Z) processes" >&2
exit 4
fi

procs_d=$(ps axo pid,stat | awk '$2 ~ /^D/ { print $1 }' | wc -l)
if [ "$procs_d" -gt 0 ]; then
echo "Found $procs_d deadlocked processes" >&2
if [ "$procs_d" -gt 3 ]; then
echo "Found $procs_d uninterruptible (D) processes" >&2
exit 5
fi

Expand Down

0 comments on commit 1803833

Please sign in to comment.