Skip to main content.
home | support | download

Back to List Archive

Re: Max index size

From: David L Norris <dave(at)not-real.webaugur.com>
Date: Fri Sep 16 2005 - 14:46:04 GMT
On Fri, 2005-09-16 at 06:35 -0700, Ander wrote:
> correct me if I'm wrong, but I think it's a problem of the OS (linux, I supose) rather than swish-e.

32-bit UNIX/Linux applications must be compiled with 64-bit file offset:
  ./configure CPPFLAGS='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'

Downside: your index file is up to twice as large as a 32-bit index.
Upside: your index file isn't truncated at 2 GB.

Some specific references:
  http://swish-e.org/archive/2004-09/8278.html
  http://swish-e.org/archive/2004-07/7852.html
  http://swish-e.org/archive/2003-12/6690.html

> You'll have to recompile the kernell to allow big file sizes (>2GB).

Linux ext2/3 in its lowest configuration supports 16 GB files and 2 TB
filesystems:
  http://www.suse.de/~aj/linux_lfs.html

-- 
 David Norris
  http://www.webaugur.com/dave/
  ICQ - 412039
Received on Fri Sep 16 07:46:10 2005