Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 May 2002 14:37:15 -0700 (PDT)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Eugene Grosbein <eugen@grosbein.pp.ru>
Cc:        stable@FreeBSD.ORG
Subject:   Re: NFS problem with 4.6-PRERELEASE: SIGBUG in Apache
Message-ID:  <200205242137.g4OLbFmi058923@apollo.backplane.com>
References:   <3CEE5094.EFF31B42@grosbein.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
    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 
					<dillon@backplane.com>


: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




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