httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <br...@hyperreal.org>
Subject Re: mmap and freebsd 2.2.x
Date Tue, 16 Mar 1999 06:24:14 GMT

It works fine for me, but I don't use NFS.  Do we have a platform-specific
hints file somewhere we could warn people about this?  How much does it
hurt performance to not mmap files?  

	Brian

On Mon, 15 Mar 1999, Dean Gaudet wrote:
> Looks like freebsd 2.2.x shouldn't define USE_MMAP_FILES. 
> 
> Dean
> 
> ---------- Forwarded message ----------
> > On Mon, 15 Mar 1999, Matthew H. North wrote:
> > 
> > > Something else that may be of interest to you:  we also had problems using
> > > USE_MMAP_FILES.  We were experiencing httpd processes that would 'stick' in
a
> > > 'D'isk access in the kernel, with 'nfsvin' listed (by top) as the state of
> > > such processes.  When this happened, these processes would not die, nor could
> > > they be killed (-9).  The server would eventually have to be restarted since
> > > these stuck processes would use up system resources.  We determined (we
> > > think) that the problem was due to the fact that we have our DocumentRoots
> > > nfs mounted from another machine.  FreeBSD2.2.x apparently has some problem
> > > making mmap work with nfs mounted file systems.  We have since recompiled
> > > 1.3.4 with USE_MMAP_FILES UNdefined, and we are watching the server to see
if
> > > that indeed solves the problem.  As of right now, *none* of the httpd
> > > processes are stuck in this 'nfsvin' state.  We went back and checked the
> > > 1.2.6 code (since 1.2.6 doesn't have this problem), and it appears that 1.2.6
> > > doesn't use mmap except for the scoreboard.
> > > 
> > > Matthew H. North
> > > CTSNET Assistant Administrator
> > >    ___  ____  ___
> > >   /      /   /__   Network | Tel 619/637-3600 | Mail: ctsmhn@cts.com
> > >  /__    /   ___/  Services | Fax 619/637-3630 | WWW: http://www.cts.com
> > > 
> > > 
> > 
> > 
> 
> 


Mime
View raw message