Project

General

Profile

Actions

Bug #16859

closed

rudder-agent check sleep and process pile-up

Added by Marek Haluška almost 5 years ago. Updated about 3 years ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
43
Name check:
To do
Fix check:
To do
Regression:

Description

Hello,

what is purpose of sleep in /opt/rudder/share/commands/agent-check when it's still running every 5 minutes?

My situation:
  • run agent every 1h
  • first run time 0
  • maximum delay 15m

Rudder server OS: CentOS 8
Rudder server version: 6.0.4
Rudder client OS: CentOS 8, Debian 10
Rudder client version: 6.0.3 and 6.0.4

This is resulting to this behavior, so agent is is still started every 5 mins and server spammed with rudder processes:

root     30127    77  0 06:50 ?        00:00:00 /usr/sbin/CROND -n
root     30128 30127  0 06:50 ?        00:00:00 /bin/sh -c /opt/rudder/bin/rudder agent check -q >> /var/log/rudder/agent-check/check.log 2>&1
root     30129 30128  0 06:50 ?        00:00:00 /bin/sh /opt/rudder/share/commands/agent-check -q
root     30174 30129  0 06:50 ?        00:00:00 sleep 1663
root     30249    77  0 06:55 ?        00:00:00 /usr/sbin/CROND -n
root     30250 30249  0 06:55 ?        00:00:00 /bin/sh -c /opt/rudder/bin/rudder agent check -q >> /var/log/rudder/agent-check/check.log 2>&1
root     30251 30250  0 06:55 ?        00:00:00 /bin/sh /opt/rudder/share/commands/agent-check -q
root     30296 30251  0 06:55 ?        00:00:00 sleep 1663
root     30367    77  0 07:00 ?        00:00:00 /usr/sbin/CROND -n
root     30368 30367  0 07:00 ?        00:00:00 /bin/sh -c /opt/rudder/bin/rudder agent check -q >> /var/log/rudder/agent-check/check.log 2>&1
root     30369 30368  0 07:00 ?        00:00:00 /bin/sh /opt/rudder/share/commands/agent-check -q
root     30414 30369  0 07:00 ?        00:00:00 sleep 1663
root     30950    77  0 07:05 ?        00:00:00 /usr/sbin/CROND -n
root     30951 30950  0 07:05 ?        00:00:00 /bin/sh -c /opt/rudder/bin/rudder agent check -q >> /var/log/rudder/agent-check/check.log 2>&1
root     30953 30951  0 07:05 ?        00:00:00 /bin/sh /opt/rudder/share/commands/agent-check -q
root     31003 30953  0 07:05 ?        00:00:00 sleep 1663
root     31577    77  0 07:10 ?        00:00:00 /usr/sbin/CROND -n
root     31578 31577  0 07:10 ?        00:00:00 /bin/sh -c /opt/rudder/bin/rudder agent check -q >> /var/log/rudder/agent-check/check.log 2>&1
root     31579 31578  0 07:10 ?        00:00:00 /bin/sh /opt/rudder/share/commands/agent-check -q
root     31624 31579  0 07:10 ?        00:00:00 sleep 1663
root     31923    77  0 07:15 ?        00:00:00 /usr/sbin/CROND -n
root     31924 31923  0 07:15 ?        00:00:00 /bin/sh -c /opt/rudder/bin/rudder agent check -q >> /var/log/rudder/agent-check/check.log 2>&1
root     31925 31924  0 07:15 ?        00:00:00 /bin/sh /opt/rudder/share/commands/agent-check -q

Thanks


Subtasks 2 (0 open2 closed)

Bug #18040: rudder-agent check sleep and process pile-up in 6.0ReleasedAlexis MoussetActions
Bug #18163: rudder-techniques makefile does not build, and prevent building sourcesReleasedBenoît PECCATTEActions
Actions

Also available in: Atom PDF