Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Apr 1997 14:06:08 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        kachun@zippo.com (Kachun Lee)
Cc:        dyson@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: NFS/mmap freeze in 2.2R
Message-ID:  <199704102106.OAA09726@phaeton.artisoft.com>
In-Reply-To: <199704101748.KAA25163@dopey.pathlink.com> from "Kachun Lee" at Apr 10, 97 10:38:21 am

next in thread | previous in thread | raw e-mail | index | archive | help
> While you are at it, maybe, you want to check this out also. We noticed we have 
> been getting these messages:
> 
> -------------
> Apr  8 23:21:12 lois /kernel: vnode_pager_getpages: I/O read error
> Apr  8 23:21:12 lois /kernel: vm_fault: pager input (probably hardware) error, 
> P
> ID 11987 failure
> Apr  8 23:21:12 lois /kernel: pid 11987 (in.nnrpd), uid 7003: exited on signal 
> 11
> --------------
> 
> since 2.2R or later with our NFS mounted news servers. They appeared at
> the NFS clients during news was expiring at the NFS server. That leaded
> me to believe that the message was triggered when someone was reading
> an article while the NFS server removed it - both systems kept running
> though.

Are you running the INN msync() patch?  There is an error in the INN
use of mapped files when the file is extended.  The problem occurs when:

1)	The file is not a multiple of a page size in length
2)	The file is mmap'ed, and the last page is zero filled
3)	The file is extended
4)	The mmap'ed area is accessed between the previous end of the
	file and the page boundry following the end of the file, without
	an intervening msync().

This is a bug in INN's use of the mmap() interface, not a FreeBSD bug.


(If you are running the msync() patch, then never mind).


					Regards,
					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704102106.OAA09726>