large history: 2GB shared memory limit

Patrick Schreurs patricks at support.nl
Wed Jun 9 20:20:17 UTC 2004


Hi all,

Today we hit the 2GB limit in shared memory (mmap) with innd. This
is mainly caused by a large history:

-rw-rw-r--    1 news     news     9343510653 Jun  9 21:56 history
-rw-rw-r--    1 news     news     1352977086 Jun  9 21:56 history.hash
-rw-rw-r--    1 news     news     1803969448 Jun  9 21:56 history.index

This resulted is this error:
Jun  9 16:26:54 news3 innd: CNFS-sm: CNFSinitdisks: mmap for /spool1/13 offset 0 len 4620288 failed: Cannot allocate memory

This 2GB limit seems to be a known issue on 32-bit platforms.

As a workaround i've disabled INND_DBZINCORE in config.h

Is the only solution for this problem to use a 64-bit platform?
I've read something about a history api. Any development on this subject?
Does anyone have any experience with history in ramdisk with inn?

Thanks for your input.

Patrick Schreurs


More information about the inn-workers mailing list