Re: data.tmp: file too big [SOLVED]

Jakob Hirsch <[email protected]>
Newsgroups gmane.network.djbdns
Message-ID <[email protected]>
Hugo Monteiro, 2009-05-19 01:45:

> Adding -D_FILE_OFFSET_BITS=64 to the compilation flags did the trick. I 
> now have a 2.9G data.cdb file. The bad news is that apparently 
> tinydns/the system isn't capable of coping with that volume of information.

With a 2.9G file, you are probably running into the 3G userspace memory 
limit of the Linux kernel's default 3G/1G kernel/userland memory split. 
Unfortunately, you can only change that by recompiling the kernel, but 
3.5G/0.5G is the most you can get, but I would not recommend that, as it 
could be too less for the kernel and you will run into the same problem 
soon. So I guess you have two options:
- split your data file and run 2 or more tinydns processes
- switch over to a 64 bit system
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.