Re: data.tmp: file too big

Mark Johnson <[email protected]>
Newsgroups gmane.network.djbdns
Message-ID <[email protected]>
On Mon, May 18, 2009 at 1:20 PM, Hugo Monteiro <[email protected]> wrote:
> Complementary information:
>
> The (truncated) data.tmp file that gets created is 2GB.
>
> I have also tested for filesystem large file support, with dd, and i was
> able to create a 4GB zeroed file so all seems fine.

You probably need to recompile with Large File Support Enabled.  See:

  http://www.unix.org/version2/whatsnew/lfs20mar.html

Executive Summary:  Try tossing D_FILE _OFFSET_BITS=64 info conf-cc if
you're using stock / patched djbdns.  For anybody using zinq (all two
of you), try:

  ./configure CFLAGS="-D_FILE_OFFSET_BITS=64"

DISCLAIMER:  I'm no large files expert.  I haven't gotten around to
researching this issue and testing zinq-djbdns to make sure it works
with large ( > 2GB) files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.