Length of buffers for cnfs?
Russ Allbery
rra at stanford.edu
Sat Nov 11 04:34:33 UTC 2000
Josh Higham <news at bigsky.net> writes:
> Correct; I assumed and/or believed that if the size listed in cycbuff.conf
> was smaller then the filesize, it would be ok, so listing 1024000 instead of
> 1048576 would be fine.
> So I recreated the buffers, and changed cycbuff.conf:
> cycbuff:01:/var/spool/news/buffers/buffer01:2097152
> -rw-r--r-- 1 news news 2097152000 Nov 10 14:45 buffer01
> However, I'm getting an error:
> Nov 10 15:02:46 news innfeed[373]: CNFS-sm: CNFSflushhead: write failed (-1
> bytes): Bad file descriptor
> Nov 10 15:02:46 news innfeed[373]: SM storage method 'cnfs' failed
> initialization
> Nov 10 15:02:46 news innfeed[373]: SM one or more storage methods failed
> initialization
> Nov 10 15:02:46 news innfeed[373]: Storage manager initialization failed
> Nov 10 15:02:47 news innd: CNFS-sm: CNFSinitdisks: mmap for
> /var/spool/news/buffers/buffer01 offset 0 len -507904 failed: Invalid
> argument
Reduce the size slightly; it looks like you have an INN compiled without
large file support, which means you need a buffer smaller than 2GB.
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
More information about the inn-workers
mailing list