When using wildcards in logrotate scripts such as /home/*/logs/access_log, the postrotate commands get executed each time the wildcard is matched, rather than executing once after the loop is finished. This has adverse effects on apache, especially when used with mod_ssl with virtual domains and certificates need to be reread and random bits regenerated. The killall -HUP httpd postrotate sometimes causes apache to die when many are sent in a short time.
Reformatted to have line breaks to be easier to read: When using wildcards in logrotate scripts such as /home/*/logs/access_log, the postrotate commands get executed each time the wildcard is matched, rather than executing once after the loop is finished. This has adverse effects on apache, especially when used with mod_ssl with virtual domains and certificates need to be reread and random bits regenerated. The killall -HUP httpd postrotate sometimes causes apache to die when many are sent in a short time.
logrotate-3.4 allows you to specify "sharedscripts", which will cause the scripts to be executed exactly once.