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 <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> 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:[EMAIL PROTECTED] | |
> | | / ___ ____ ____ |____ ____ | |
> | | / |/ / | \ / | \ | \ | \ __|__ |
> | | \ | | | \ / |____/ | | |____/ | |
> | | / | | | \ / | | | | | |
> | |__/ | \____\ \/ \____ | | \____ | |
> +_______________________________________________________________________+
> mv /lib/ld.so /lib/ld.so.old;echo "Damnit"
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message