Definitely NOT normal. Three things to check:
- Make sure the log rotation system doesn't try to compress tle log Apache is writing to. You can do this by setting the "DelayCompress" flag in logrotate's config file.
- Make sure your logrotate configuration has a postrotate command that makes Apache re-open its logfiles (graceful restart should be OK).
- In the (very unlikely) event that gzip is saturating your CPU, see if you can renice the gzip process (Not sure if logrotate supports that but you could hack it with a postrotate script)
ответ дан
4 December 2019 в 22:10
Ссылка