Date: Fri, 9 Nov 2001 13:36:15 -0500 From: "John Chris Wren" <jcwren@jcwren.com> To: <freebsd-questions@FreeBSD.ORG> Subject: Problem with running out of buffers Message-ID: <NDBBKBJHGFJMEMHPOPEGCEAGDFAA.jcwren@jcwren.com>
next in thread | raw e-mail | index | archive | help
I'm not subscribed, so please CC on any replies. I've been running FreeBSD 4.3-STABLE for some time, and occasionally get messages such as 'socket: No buffer space available'. I did the research, and the usual suggestions are bumping up MAXUSERS and/or bumping up NMBCLUSTERS (A lot of mythology around these values. There seem to be two schools of thought on this last one. Either numbers like 8192, or 65536. I've seen cautions about setting it too high may cause instability). I had though perhaps this problem was endemic to 4.3-STABLE, so I decided to upgrade to 4.4-RELEASE. Same problem. I might be doing a 'make install' in a ports directory, when all of a sudden it can no longer connect to an ftp server. I nslookup up the ftp server, it resolves. I try to ftp to it by hand, ftp says "ftp: ftp.gnu.org: No address associated with hostname". I nslookup up again, I start getting these errors: perlmonk# nslookup ftp.gnu.org *** Can't find server name for address 66.92.212.8: No response from server *** Can't find server name for address 216.27.175.2: No response from server *** Can't find server name for address 216.231.41.2: No response from server *** Default servers are not available I try to "ping localhost", I get the "socket: No buffer space available" message. I can't run ifconfig (same error). Apache still seems to be running fine. I can SSH into the machine. If I log out, and log back in, I still can't ping. I'm pretty sure it's got to be a configuration error on my end. What it is, I don't know. I really hoped that bumping up MAXUSERS would do the job. This is not a heavily loaded machine. It runs apache, sendmail, and ssh, and on a good day maybe gets 500 - 1000 hits. I have reached my wits end (admittedly, a rather short trip...). I've created a page at http://perlmonk.org/parms.pl that reports the current status of the most commonly asked for commands, along with the dmesg log, and my kernel config file. This page is updated in real time, so multiple reloads should show a change. If anyone needs addition information, I will be more than happy to find it. Thanks to everyone, --John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NDBBKBJHGFJMEMHPOPEGCEAGDFAA.jcwren>