[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#341530: The apache logrotate config causes excessive reloads of apache

Subject: The apache logrotate config causes excessive reloads of apache
Package: apache
Version: 1.3.33-6sarge1
Severity: normal

*** Please type your report below this line ***

The logrotate config uses "postrotate" to reload apache.  This causes
one reload pr. log file matching the wildcard. Instead use "lastaction"
which runs once for the whole bunch of files, this works fine since the
config uses delaycompress and the apache may continue writing to the
old files untill they're all rotated.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.15-rc1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages apache depends on:
ii apache-common 1.3.33-6sarge1 support files for all Apache webse ii debconf Debian configuration management sy ii dpkg 1.10.28 Package maintenance system for Deb ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libdb4.2 4.2.52-18 Berkeley v4.2 Database Libraries [ ii libexpat1 1.95.8-3 XML parsing C library - runtime li ii libmagic1 4.12-1 File type determination library us
ii  logrotate                 3.7-5          Log rotation utility
ii mime-support 3.28-1 MIME files 'mime.types' & 'mailcap ii perl 5.8.4-8 Larry Wall's Practical Extraction

-- debconf information:
* apache/server-name: localhost
* apache/document-root: /home/httpd/html
* apache/server-port: 443
* apache/enable-suexec: true
* apache/init: true
* apache/server-admin: support@consorte.no

Reply to: