From owner-freebsd-hackers Tue Aug 6 18:48:25 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA21702 for hackers-outgoing; Tue, 6 Aug 1996 18:48:25 -0700 (PDT) Received: from csla.csl.sri.com (csla.csl.sri.com [192.12.33.2]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA21697 for ; Tue, 6 Aug 1996 18:48:22 -0700 (PDT) Received: from impulse.csl.sri.com (impulse.csl.sri.com [130.107.15.11]) by csla.csl.sri.com (8.7.3/8.7.3) with ESMTP id SAA19788 for ; Tue, 6 Aug 1996 18:47:50 -0700 (PDT) Received: from impulse.csl.sri.com (localhost [127.0.0.1]) by impulse.csl.sri.com (8.7.3/8.7.3) with ESMTP id SAA04598 for ; Tue, 6 Aug 1996 18:45:48 -0700 (PDT) Message-Id: <199608070145.SAA04598@impulse.csl.sri.com> To: hackers@freebsd.org Subject: mmap and NFS X-Mailer: Mew version 1.05+ on Emacs 19.30.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Tue, 06 Aug 1996 18:45:48 -0700 From: Fred Gilham Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk One of the users I support has written a program that uses mmap and two communicating processes. When he tries to mmap files on NFS mounted partitions, the processes forked by the program hang in an uninterruptable disk wait. The only way to get rid of the processes is to reboot. This happens whether the NFS mounted partition is from a SunOS 4 box or from a FreeBSD box. The same program works OK on a SunOS or Solaris machine. It also works if the file is on a locally mounted partition. A while back someone said something to the effect that he'd like to see examples that break mmap. If anyone would like to get more specifics including the code that demonstrates the problem please let me know. -Fred Gilham gilham@csl.sri.com