CNFS buffers bigger than 2 GB under Linux ?

Antoine Delvaux antoine.delvaux at belnet.be
Fri Mar 15 22:05:07 UTC 2002


Hello all,

I don't know what's exactly the status of running innd with CNFS buffer=20
bigger than 2 GB under Linux.  Can someone share its experience ?

I'm trying to setup a newsfeeder with two CNFS buffers of 54 GB.  The box=
=20
is running Linux 2.4.17 with enable large memory (64 GB) and I've=20
compiled innd with the --with-largefiles option (tweaking a bit with the=20
makefile and taking the compile options of hpux : -D_LARGEFILE_SOURCE=20
-D_FILE_OFFSET_BITS=3D64).

However innd behaves very well until the CNFS buffers are used to more=20
than 2 GB, then I've got the following log :

Mar 15 22:32:38 aotearoa innfeed[11261]: CNFS-sm: could not mmap token=20
@03015344423200000000008D12DC00000001@ SDB2:0x11a25b80c:1: Invalid=20
argument
Mar 15 22:32:38 aotearoa innfeed[11261]: Could not retrieve=20
@03015344423200000000008D12DC00000001@: mmap failed
Mar 15 22:32:38 aotearoa innfeed[11261]: CNFS-sm: could not mmap token=20
@03015344423100000000008C593700000001@ SDB1:0x118b26e0c:1: Invalid=20
argument
Mar 15 22:32:38 aotearoa innfeed[11261]: Could not retrieve=20
@03015344423100000000008C593700000001@: mmap failed
Mar 15 22:32:38 aotearoa innfeed[11262]: CNFS-sm: could not mmap token=20
@03015344423100000000008C594A00000001@ SDB1:0x118b2940c:1: Invalid=20
argument
Mar 15 22:32:38 aotearoa innfeed[11262]: Could not retrieve=20
@03015344423100000000008C594A00000001@: mmap failed
Mar 15 22:32:38 aotearoa innfeed[11261]: CNFS-sm: could not mmap token=20
@03015344423200000000008D1C0A00000001@ SDB2:0x11a38140c:1: Invalid=20
argument

Is there a special patch to enable innd working with bigger CNFS buffers=20
?  Or is this simply not possible under Linux ?  Should I use other=20
compile options ?  Or am I missing something ?

Thanks for your help,

Antoine.

--=20
http://www.belnet.be                              Tel: + 32 2 790 33 33
BELNET Service Support Team                       Fax: + 32 2 790 33 34


More information about the inn-workers mailing list