Page MenuHomePhabricator
Paste P10292

race condition on "PROBLEM - Ensure acme-chief-backend is running only in the active node on acmechief1001 is CRITICAL: PROCS CRITICAL: 2 processes with args acme-chief-backend"
ActivePublic

Authored by jcrespo on Jan 30 2020, 11:16 AM.
Tags
None
Referenced Files
F31539902: raw.txt
Jan 30 2020, 11:16 AM
Subscribers
None
root@acmechief1001:~$ sudo -u nagios /usr/lib/nagios/plugins/check_procs -v -v -c 1:1 -a acme-chief-backend
CMD: /bin/ps axwwo 'stat uid pid ppid vsz rss pcpu etime comm args'
Matched: uid=111 vsz=61964 rss=49956 pid=22912 ppid=1 pcpu=1.80 stat=Ss etime=1-20:09:12 prog=acme-chief-back args=/usr/bin/python3 /usr/bin/acme-chief-backend
Matched: uid=0 vsz=6208 rss=2496 pid=28439 ppid=12240 pcpu=0.00 stat=S+ etime=12:29 prog=grep args=grep acme-chief-backend
PROCS CRITICAL: 2 processes with args 'acme-chief-backend' | procs=2;;1:1;0;