[Xapian-discuss] Re: Removing items from index results in adding?

Olly Betts olly at survex.com
Sat Aug 21 11:58:52 BST 2004


On Sat, Aug 21, 2004 at 01:12:30AM +0200, Eric Bus wrote:
> Eric Bus wrote:
> >"File size limit exceeded"

This isn't a message from scriptindex or Xapian - it must be coming from
the C library or OS.

> I guess that was just a 'random' error due to a corrupt database.

If the database is corrupt, quartz might try to access a really high
block number.  With the default blocksize (8KB) the database could
grow to up to 32TB, whereas the OS filesize limit is probably lower
than this (Linux 2.4 has a 2TB limit).  That's my best guess as to
what's happening.

However, you shouldn't be able to corrupt a database unless you defeat
the locking and run two updates at once, have an OS or hardware problem
which corrupts the file, or are using the "dangerous" patch and an
update was interrupted uncleanly.

Cheers,
    Olly



More information about the Xapian-discuss mailing list