From owner-freebsd-stable Fri May 24 14:37:19 2002 Delivered-To: freebsd-stable@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 672C537B40A for ; Fri, 24 May 2002 14:37:16 -0700 (PDT) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.3/8.12.3) with ESMTP id g4OLbFeN058926; Fri, 24 May 2002 14:37:16 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.3/8.12.3/Submit) id g4OLbFmi058923; Fri, 24 May 2002 14:37:15 -0700 (PDT) Date: Fri, 24 May 2002 14:37:15 -0700 (PDT) From: Matthew Dillon Message-Id: <200205242137.g4OLbFmi058923@apollo.backplane.com> To: Eugene Grosbein Cc: stable@FreeBSD.ORG Subject: Re: NFS problem with 4.6-PRERELEASE: SIGBUG in Apache References: <3CEE5094.EFF31B42@grosbein.pp.ru> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG If another NFS client or the NFS server rips the file out from under Apache while Apache is trying to access the data via mmap(), then Apache will most certainly seg-fault. The file in question appears to be /mnt/main/netstat/index.html. So the question is: Are you modifying, copying, overwriting, or deleting this file on a different nfs client or on the server? -Matt Matthew Dillon :Hi! : :I have web server running Apache 1.3.23/FreeBSD. :It serves requests to small plain text files residing on NFS. :NFS server often updates files and web clients often download them. :All forked fine for years until I updated web server to 4.6-PRERELEASE. :Now web server sometimes fail to serve request due to SIGBUS in a child :trying to read file. Apache was not updated, NFS server was not touched. :NFS server is old FreeBSD 4.5-STABLE. : :I've recompiled Apache with CFLAGS="-O0 -g" and got coredump. :One can have binary, coredump and untouched build directory :at http://www.grosbein.pp.ru/apache/ :Binary and coredump are compressed to httpd.debug.tar.bz2 :Apache seem to fail trying to read mmap'ed file from NFS. : :Someone, please look at this. : :Eugene Grosbein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message