RE: ULOGD: Log file size limitation?

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

 



> -----Original Message-----
> From: netfilter-owner@xxxxxxxxxxxxxxx [mailto:netfilter-
> owner@xxxxxxxxxxxxxxx] On Behalf Of Eric Leblond
> Sent: Thursday, March 05, 2009 11:52 AM
> To: dstorvik
> Cc: netfilter@xxxxxxxxxxxxxxx
> Subject: Re: ULOGD: Log file size limitation?
>
> Hi,
>
> dstorvik wrote:
> > I have ulogd running to track netfilter nat connections.  When my log
> file reaches 2147483647, exactly 2 gb it stops writing with no errors
> or warnings.  It then picks back up when logrotate rotates the file and
> kicks ulogd.  I am rotating daily so other than rotating on an intraday
> period, which I'd rather not do, I'm not sure what to do.   The file
> system is a Logical volume group with EXT3 filesystem, and I believe 1K
> blocks which should lead to a maximum file size of 16 Gigabytes from
> what I understood. Is that not true and I simply have a file system
> problem or is this some limitation or bug in ULogd?
> >
>
> This is quiet strange because AC_SYS_LARGEFILE is put in ulogd2
> configure.ac.
>
> Has autoconf put in your config.h :
>
>     /* Number of bits in a file offset, on hosts where this is
> settable. */
>     #define _FILE_OFFSET_BITS 64
>
> BR,
>
> --
> Eric Leblond <eric@xxxxxx>
> INL: http://www.inl.fr/
> NuFW: http://www.nufw.org/
> EdenWall: http://www.edenwall.com/

That is exactly what is in my config.h file

/* Number of bits in a file offset, on hosts where this is settable. */
#define _FILE_OFFSET_BITS 64

Should that be uncommented and recompiled?

Thanks
  Derek



--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux