Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jan 2001 15:51:33 -0800 (PST)
From:      Dan Phoenix <dphoenix@bravenet.com>
To:        Daniel Hagan <dhagan@colltech.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: apache PMAP_SHPGPERPROC (fwd)
Message-ID:  <Pine.BSO.4.21.0101101551060.11728-100000@gandalf.bravenet.com>
In-Reply-To: <3A5CD933.C4FD1EFE@colltech.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Ok i fixed it....nfsbufs or something and maxusers i increased
solved this problem.



On Wed, 10 Jan 2001, Daniel Hagan wrote:

> Date: Wed, 10 Jan 2001 16:50:43 -0500
> From: Daniel Hagan <dhagan@colltech.com>
> To: Dan Phoenix <dphoenix@bravenet.com>, freebsd-hackers@freebsd.org
> Subject: Re: apache PMAP_SHPGPERPROC (fwd)
> 
> Are you running out of mbufs?  Try running netstat -m and comparing peak
> and max mbuf allocations.  If you're running out, you'll need to
> recompile your kernel (I can't remember the option off-hand, but it
> should be in LINT).
> 
> Daniel
> 
> Dan Phoenix wrote:
> > 
> > I have tried much ..increasing limits in the kernel etc....
> > real questions is ......how do you increase the socket buffer space?
> > 
> > ----------
> > 
> > example....
> > 
> > 230 User dphoenix logged in.
> > Remote system type is UNIX.
> > Using binary mode to transfer files.
> > ftp> ls
> > ftp: socket: No buffer space available
> > ftp> ls
> > 425 Can't open passive connection: No buffer space available.
> > Passive mode refused.
> > ftp>
> > 
> > ---------- Forwarded message ----------
> > Date: Fri, 5 Jan 2001 17:44:55 -0800 (PST)
> > From: Dan Phoenix <dphoenix@bravenet.com>
> > To: questions@FreeBSD.ORG
> > Subject: apache PMAP_SHPGPERPROC
> > 
> > Jan  5 15:42:53 www /kernel: pmap_collect: collecting pv entries --
> > suggest increasing PMAP_SHPGPERPROC
> > Jan  5 15:49:59 www /kernel: pmap_collect: collecting pv entries --
> > suggest increasing PMAP_SHPGPERPROC
> > Jan  5 16:11:04 www /kernel: pmap_collect: collecting pv entries --
> > suggest increasing PMAP_SHPGPERPROC
> > Jan  5 16:16:44 www /kernel: pmap_collect: collecting pv entries --
> > suggest increasing PMAP_SHPGPERPROC
> > 
> > apache is running with 170 deamons.
> > ftp telling me it us running out of buffer space....there is 256 megs of
> > ram.....top reports 11 megs left. What is this from?
> > PMAP_SHPGPERPROC=201 from lint apparently.
> > so going to increase it to 500 and see if that fixes this........
> > it is a php apache server than connects to another internal mysql server.
> > 
> > i get this error trying to connect with mysql every third time or so.
> > ERROR 2004: Can't create TCP/IP socket (55)
> > 
> > yet when apache is not running ....it seems to work alright!
> > 
> > --
> > Dan
> > 
> > +-----------------------------------------------------------------------+
> > | -----     Daniel Phoenix      Mail to:dan@bravenet.com            |   |
> > | |   /     ___    ____               ____    |____      ____       |   |
> > | |  /    |/      /    |  \      /   |    \   |    \    |    \    __|__ |
> > | |  \    |      |     |   \    /    |____/   |     |   |____/      |   |
> > | |   /   |      |     |    \  /     |        |     |   |           |   |
> > | |__/    |       \____\     \/       \____   |     |    \____      |   |
> > +_______________________________________________________________________+
> >         mv /lib/ld.so /lib/ld.so.old;echo "Damnit"
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-hackers" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSO.4.21.0101101551060.11728-100000>