[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] BUG : in log rotate
Spec
----
interchange-4.6.1-3.rh7
Rh7.0
2.2.18
logrotate-3.5.2-1
Synopsis
--------
RPM install adds to /etc/logrotate.d file "interchange" containing
/var/log/interchange/* {
rotate 4
weekly
compress
}
this causes the directory "/var/log/interchange/" to fill up with log files in
an exponential fashion.
i.e. error.log -> error.log.1.gz
error.log.1.gz -> error.log.1.gz.1.gz
etc. until soon you have 30,000 log files and logrotated takes out your machine.
Fix
----
Change /etc/logrotate.d/interchange to
/var/log/interchange/*log {
rotate 4
weekly
compress
}
This is similar to how my samba rpm installs it's logrotate conf.
The interchange RPM needs to be fixed in this respect.
Yours
Murray
--
____
\__/ Murray Gibbins murray@scotweb.ltd.uk
/ \ Programmer
_ \__/ _ ================================================
\\ || // Scotweb Limited, info@scotweb.ltd.uk
\\||// 13a Albert Terrace, http://www.scotweb.ltd.uk
\||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33
|| Scotland. Europe. Fax: +44 (0) 7020 93 49 04
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users