CNFS buffers bigger than 2 GB under Linux ?

Russ Allbery rra at stanford.edu
Sun Mar 17 07:58:06 UTC 2002


Antoine Delvaux <antoine.delvaux at belnet.be> writes:

> I don't know what's exactly the status of running innd with CNFS buffer
> 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
> is running Linux 2.4.17 with enable large memory (64 GB) and I've
> compiled innd with the --with-largefiles option (tweaking a bit with the
> makefile and taking the compile options of hpux : -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64).

I've never used CNFS on Linux, but I believe Linux shares with Solaris the
limitation that even with the latest kernels you can't mmap raw devices
larger than 2GB.  Are you using raw devices by any chance instead of
files?

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>

    Please send questions to the list rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.


More information about the inn-workers mailing list