Re: Logfiles above 2G
Stipe Tolj <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | tolj.org system architecture |
| Message-ID | <[email protected]> |
Peter Christensen wrote:
> Hi,
>
> The problem is not the kernel - 32-bit linux kernels have no problem
> handling files larger than 2GB. But if the program is not compiled with
> support for large files, it will receive an interrupt when it attempts
> to write past the 2GB barrier. The solution is to compile with the
> CFLAGS "-D_LARGE_FILES -D_FILE_OFFSET_BITS=64". Actually this just makes
> the program call open64() and lseek64() instead of open() and lseek().
>
> Compile kannel in this way, and kannel can handle enormous logs without
> crashing.
>
> I thought that large file support was actually enabled by default now
> (in the latest CVS) - I believe I saw a note about that some time ago.
yep, I can confirm that Alex has commited this as default compile behaviour in
the autoconf macro configure.in in the CVS HEAD branch.
So, Andreas: what version? CVS being used?
Stipe
-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany
tolj.org system architecture Kannel Software Foundation (KSF)
http://www.tolj.org/ http://www.kannel.org/
mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------