-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2009-02-28 at 16:46 +0100, Anders Johansson wrote:
On Saturday 28 February 2009 16:36:59 Rajko M. wrote:
I looked zypper logs and they all are 6.5 MB since openSUSE 11.1 installation. It could be that enormous logs are result of mixed updates and factory usage. One can expect that default debug level of factory packages is elevated to give more details.
/etc/logrotate.d/zypper.lr says it will rotate a file once it hits 10MB, and it will keep 99 old versions. This should mean a max of 1GB (10MB*100) for all of them, but if something happens in the space of one day, to make one of the log files spin out of control and become several gigabytes in size, logrotate won't handle it, since it only runs once per day
I learnt recently that zip has a limit of 4 GiB; I don't know what is the limit for gzipped files (or bz2 which is the current default, I think). The problem is, that if there is such a limit, logrotate will fail to compress and rotate such a big file.
It would be interesting to know what is in those very large log files. There must be something wrong somewhere
Absolutely. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkmpj9cACgkQtTMYHG2NR9VxlQCdG1dw9VPN6Tduv2KTvXoHU5OO IqoAnjZA8Occ+Y2WEUrMEaEq1SnLf603 =J5tT -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org