From owner-freebsd-questions@FreeBSD.ORG Sun Dec 14 21:15:42 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03F7F16A4CE for ; Sun, 14 Dec 2003 21:15:42 -0800 (PST) Received: from mx1.au.itouchnet.net (nat2.au.itouchnet.net [144.135.23.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id F37DC43D36 for ; Sun, 14 Dec 2003 21:15:39 -0800 (PST) (envelope-from andrewjt@applecomm.net) Received: from nobody by mx1.au.itouchnet.net with scanned_ok (Exim 3.36 #1) id 1AVl4z-000LGM-00 for freebsd-questions@freebsd.org; Mon, 15 Dec 2003 16:15:37 +1100 Received: from [192.168.13.202] (helo=[192.168.13.202]) by mx1.au.itouchnet.net with esmtp (Exim 3.36 #1) id 1AVl4z-000LGF-00 for freebsd-questions@freebsd.org; Mon, 15 Dec 2003 16:15:37 +1100 From: Andrew Thomson To: freebsd-questions@freebsd.org Content-Type: text/plain Message-Id: <1071465321.7243.25.camel@itouch-1011.prv.au.itouchnet.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 15 Dec 2003 16:15:21 +1100 Content-Transfer-Encoding: 7bit X-Checked: Scanned for any viruses and unauthorized attachments at mx1.au.itouchnet.net X-iScan-ID: 81734-1071465337-39802@mx1.au.itouchnet.net version $Name: REL_2_0_2 $ Subject: socket: no buffer space available X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Dec 2003 05:15:42 -0000 I've got a perl script doing some p5-sybase stuff for me.. However after a while, it fails with the following error message: .."socket: No buffer space available"... I've seen other reports from other uses getting this problem however no clear responses on a fix. This script used to work find on my 5.0-RELEASE box now I'm trying it on a 5.1-RELEASE box. I admit the new box is a lower spec - less cpu and less memory - so that may affect some of the default sysctl values??? I've tried tweaking a couple of sysctl entries however nothing has gotten me over this hurdle. Below are some relevant(??) sysctls. kern.ipc.maxsockbuf: 1048576 kern.ipc.sockbuf_waste_factor: 8 kern.ipc.nmbufs: 17920 kern.ipc.nsfbufs: 2496 kern.ipc.mbuf_wait: 64 kern.ipc.mbuf_hiwm: 512 kern.ipc.mbuf_lowm: 128 kern.ipc.numopensockets: 94 kern.ipc.maxsockets: 4008 Any suggested tweaks appreciated. Regards, ajt.