-
-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Description
One of the Nectar nodes in Melbourne (SUT) has started to use patchman (thanks to TomF) and every ~second month it has an OOM issue.
At 6:30 in the morning, there is a step of ~1 GB of memory usage.
We altered on the clients (puppet erb code below) -
was originally 3 and 15 minutes
Sleep between 3 and 120 minutes before running to avoid "herding":
SLEEP_MINUTES=$(/usr/bin/shuf -i 3-120 -n 1)
SLEEP_SECONDS=$((60 * $SLEEP_MINUTES))
Since we can sleep up to 90 minutes, we put the command in the background so it
does not block any other cron jobs.
sleep $SLEEP_SECONDS && patchman-client -c <%= @patchman_conf_path %> -s http://<%= @patchman_server %>/patchman &
and now the step up in memory usage at ~6:30 is more modest (0.2 GB)
The patchman server currently has 32 GB.
Just wondering what settings and where we can can keep patchman running without an OOM episode.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels