From owner-freebsd-hackers Wed Jan 10 13:50:30 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.colltech.com (ausproxy.colltech.com [208.229.236.19]) by hub.freebsd.org (Postfix) with ESMTP id 062A237B400 for ; Wed, 10 Jan 2001 13:50:06 -0800 (PST) Received: from mail2.colltech.com (mail2.colltech.com [208.229.236.41]) by mx1.colltech.com (8.9.3/8.9.3/not) with ESMTP id PAA22329; Wed, 10 Jan 2001 15:50:01 -0600 Received: from colltech.com (dhcp5212.wdc.colltech.com [10.20.5.212]) by mail2.colltech.com (8.9.3/8.9.3/not) with ESMTP id PAA13241; Wed, 10 Jan 2001 15:48:10 -0600 Message-ID: <3A5CD933.C4FD1EFE@colltech.com> Date: Wed, 10 Jan 2001 16:50:43 -0500 From: Daniel Hagan X-Mailer: Mozilla 4.72 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: Dan Phoenix , freebsd-hackers@freebsd.org Subject: Re: apache PMAP_SHPGPERPROC (fwd) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 > 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