Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2017 15:47:01 -0600
From:      Dustin Wenz <dustinwenz@ebureau.com>
To:        freebsd-stable@freebsd.org
Subject:   Jailed periodic daily scripts smashing CPU
Message-ID:  <321260F8-95D8-4C21-90B5-FDB0F6FF98F9@ebureau.com>

next in thread | raw e-mail | index | archive | help
I have a number of servers with roughly 60 jails running on each of =
them. On these hosts, I've had to disable the periodic security scans =
due to overly high disk load when they run (which is redundant in jails =
anyway). However, I still have an issue at 3:01am where the CPU is =
consumed by dozens of 'xz -c' processes. This is apparently daily log =
rolling, which I can't exactly disable.

The effect is that our processing applications experience a major =
slowdown for about 15 seconds every morning, which is just enough that =
it's starting to get people's attention.

What is the best way to mitigate this? I'm aware of the cron jitter =
feature, but I'm not sure of the 60-second jitter maximum would be =
enough (especially if I wanted to start utilizing more jails).

	- .Dustin=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?321260F8-95D8-4C21-90B5-FDB0F6FF98F9>