From owner-freebsd-isp Tue Nov 21 12:33:30 2000 Delivered-To: freebsd-isp@freebsd.org Received: from grok.example.net (cr479972-a.rct1.bc.wave.home.com [24.113.37.168]) by hub.freebsd.org (Postfix) with ESMTP id 615CC37B4C5 for ; Tue, 21 Nov 2000 12:33:29 -0800 (PST) Received: by grok.example.net (Postfix, from userid 1000) id EFEFA212E29; Tue, 21 Nov 2000 12:33:28 -0800 (PST) Date: Tue, 21 Nov 2000 12:33:28 -0800 From: Steve Reid To: Michael O Shea Cc: freebsd-isp@FreeBSD.ORG Subject: Re: apache+php+pgsql woes Message-ID: <20001121123328.A1190@grok> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from Michael O Shea on Mon, Nov 20, 2000 at 01:29:06PM +0100 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Nov 20, 2000 at 01:29:06PM +0100, Michael O Shea wrote: > I am trying to store my PHPSessions on Postgres and while it runs > fine under small load as soon as it gets busy I get the following in > the browser, > Warning: Unable to connect to PostgreSQL server: connectDBStart() -- > socket() failed: errno=55 No buffer space available in I've seen "No buffer space available" when running out of PCBs and/or sockets. Try `sysctl vm.zone` when that message is appearing and look at the "tcpcb" and "socket" utilization. If it looks like you're bumping against the limit then install a kernel with higher MAXUSERS setting. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message