[syslog-ng] Problem with large logfiles

Balazs Scheidler syslog-ng@lists.balabit.hu
Tue, 17 Jun 2003 17:31:41 +0200


On Tue, Jun 17, 2003 at 04:34:12PM +0300, Vuorilehto Saska wrote:
> Hi all,
> 
> I'm quite new to this list so forgive me if this has been discussed
> before...
> 
> Problem is that every time our logfiles grow larger than 2gb (2147483647 to
> be exact) syslog-ng dies and doesn't start until that specific logfile is
> renamed...
> 
> Syslog-ng is version 1.4.16 running on a RedHat 7.3 machine and yes, we have
> ext3 filesystem in use, which should support files over that. At least we
> can merge those logfiles to one big file anyway...
> 
> Any suggestions are welcome...

syslog-ng 1.4 did not have the configure test for O_LARGEFILE which is
needed to use 64 bit file offsets.

Please try upgrading to 1.6.0 (or hack O_LARGEFILE to open())

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1