From owner-freebsd-questions Fri Nov 9 10:36:22 2001 Delivered-To: freebsd-questions@freebsd.org Received: from jcwren.com (dsl092-212-008.atl1.dsl.speakeasy.net [66.92.212.8]) by hub.freebsd.org (Postfix) with ESMTP id 119CB37B41A for ; Fri, 9 Nov 2001 10:36:19 -0800 (PST) Received: from kd4dts (kd4dts.private.com [172.16.0.2]) by jcwren.com (8.11.2/8.11.2) with SMTP id fA9IaGN17069 for ; Fri, 9 Nov 2001 13:36:18 -0500 Reply-To: From: "John Chris Wren" To: Subject: Problem with running out of buffers Date: Fri, 9 Nov 2001 13:36:15 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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