CNFS mmap memory error

Katsuhiro Kondou Katsuhiro_Kondou at
Sat Mar 23 09:00:47 UTC 2002

In article <20020322154609.K6969 at>,
	Antoine Delvaux <antoine.delvaux at> wrote;

} sm output seems to work, at least there's an article existing.
} What can the error be then ?

Here are how the thing goes;

- article is written by writev() also with article header
  for cnfs(not article headers)
- the header includes article size
- token is build after above writev()
- token includes buffer name, where above begins in the
  buffer and cycle num
- token is passed to innfeed
- innfeed tries to read the article from the token
- article header for cnfs is read at first
* then innfeed tries to mmap() the article from the size
  info written in the header
In your case the size is *NOT* somewhat updated correctly
when 'innfeed' tries to read the header, but it's ok when
'sm' tries to read.  I'm not sure how this comes.  Inn at
least expects the same data should be read written by
Katsuhiro Kondou

More information about the inn-workers mailing list