Re: [CentOS] Logrotate in CentOS 5.4 more brutal (to httpd at least) than in 5.3?

2010-02-03 Thread Matthew Miller
On Fri, Jan 15, 2010 at 11:47:40AM +0100, Peter Kjellstrom wrote: 5.4 does a kill -HUP which is what service httpd reload does too. The -HUP signal causes http to re-read stuff rather than shutting down. Still, I don't really understand why 5.4 doesn't use service reload which seems more

Re: [CentOS] Logrotate in CentOS 5.4 more brutal (to httpd at least) than in 5.3?

2010-02-03 Thread nate
Matthew Miller wrote: That said, *both* of them are too brutal, in that they'll kill any open connections. Signal USR1 (or service httpd graceful) is much nicer, since it lets any open connections complete. The downside is that these old connections might get written to the _rotated_ log

[CentOS] Logrotate in CentOS 5.4 more brutal (to httpd at least) than in 5.3?

2010-01-15 Thread Christopher Thorjussen
I've just updated a few CentOS 5.3 servers to 5.4. One of them were a Apache Webserver. Doing a diff/check on the new .rpmnew config files that are made, I saw that the logrotate command for apache was changed. In 5.3 it did a reload, but in 5.4 it does a hard kill: CentOS 5.3:

Re: [CentOS] Logrotate in CentOS 5.4 more brutal (to httpd at least) than in 5.3?

2010-01-15 Thread Peter Kjellstrom
On Friday 15 January 2010, Christopher Thorjussen wrote: I've just updated a few CentOS 5.3 servers to 5.4. One of them were a Apache Webserver. Doing a diff/check on the new .rpmnew config files that are made, I saw that the logrotate command for apache was changed. In 5.3 it did a reload,

Re: [CentOS] Logrotate in CentOS 5.4 more brutal (to httpd at least) than in 5.3?

2010-01-15 Thread Arturas Skauronas
On Fri, Jan 15, 2010 at 11:35 AM, Christopher Thorjussen christopher.thorjus...@carrot.no wrote: I've just updated a few CentOS 5.3 servers to 5.4. One of them were a Apache Webserver. Doing a diff/check on the new .rpmnew config files that are made, I saw that the logrotate command for

Re: [CentOS] Logrotate in CentOS 5.4 more brutal (to httpd at least) than in 5.3?

2010-01-15 Thread Christoph Maser
Am Freitag, den 15.01.2010, 13:08 +0100 schrieb Arturas Skauronas: On Fri, Jan 15, 2010 at 11:35 AM, Christopher Thorjussen christopher.thorjus...@carrot.no wrote: I've just updated a few CentOS 5.3 servers to 5.4. One of them were a Apache Webserver. Doing a diff/check on the new .rpmnew

Re: [CentOS] Logrotate in CentOS 5.4 more brutal (to httpd at least) than in 5.3?

2010-01-15 Thread Kai Schaetzl
Arturas Skauronas wrote on Fri, 15 Jan 2010 14:08:11 +0200: strange, because in my systems it does service reload logrotate-3.7.4-9 it doesn't depend on logrotate, but on the httpd package. I think it doesn't get replaced with a newer version if you changed the file. I have only updated

Re: [CentOS] Logrotate in CentOS 5.4 more brutal (to httpd at least) than in 5.3?

2010-01-15 Thread Brian Mathis
On Fri, Jan 15, 2010 at 4:35 AM, Christopher Thorjussen christopher.thorjus...@carrot.no wrote: I've just updated a few CentOS 5.3 servers to 5.4. One of them were a Apache Webserver. Doing a diff/check on the new .rpmnew config files that are made, I saw that the logrotate command for apache