Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jan 2001 13:46:00 -0800 (PST)
From:      Dan Phoenix <dphoenix@bravenet.com>
To:        freebsd-hackers@freebsd.org
Subject:   apache PMAP_SHPGPERPROC (fwd)
Message-ID:  <Pine.BSO.4.21.0101101344580.5775-100000@gandalf.bravenet.com>

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

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




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