From owner-freebsd-questions Mon Nov 26 17:28:27 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tholian.rsasecurity.com (mail.rsasecurity.com [204.167.112.129]) by hub.freebsd.org (Postfix) with SMTP id CE06637B405 for ; Mon, 26 Nov 2001 17:28:22 -0800 (PST) Received: from sdtihq24.securid.com by tholian.rsasecurity.com via smtpd (for hub.FreeBSD.org [216.136.204.18]) with SMTP; 27 Nov 2001 01:28:23 UT Received: from ebola.securitydynamics.com (ebola.securid.com [192.168.7.4]) by sdtihq24.securid.com (Pro-8.9.3/Pro-8.9.3) with ESMTP id UAA11648 for ; Mon, 26 Nov 2001 20:28:21 -0500 (EST) Received: from spirit.dynas.se (localhost [127.0.0.1]) by ebola.securitydynamics.com (8.10.2+Sun/8.9.1) with SMTP id fAR1SJO13287 for ; Mon, 26 Nov 2001 20:28:19 -0500 (EST) Received: (qmail 21252 invoked from network); 27 Nov 2001 01:28:18 -0000 Received: from explorer.rsa.com (HELO mikko.rsa.com) (10.81.217.59) by spirit.dynas.se with SMTP; 27 Nov 2001 01:28:18 -0000 Received: (from mikko@localhost) by mikko.rsa.com (8.11.6/8.11.6) id fAR1SGL31811; Mon, 26 Nov 2001 17:28:16 -0800 (PST) (envelope-from mikko) Date: Mon, 26 Nov 2001 17:28:16 -0800 (PST) From: Mikko Tyolajarvi Message-Id: <200111270128.fAR1SGL31811@mikko.rsa.com> To: JHilgeman@ecx.com Cc: questions@freebsd.org Subject: Re: UNIX Socket Error (MySQL) Newsgroups: local.freebsd.questions References: <5D90F61EB6FDD411836500508B137F1AA3F077@mailsvr.ecx.com> X-Newsreader: NN version 6.5.6 (NOV) 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 In local.freebsd.questions you write: >I keep getting this error randomly when trying to connect to the MySQL >server: >Can't create UNIX socket (55) >It happens when trying to connect either through PHP or via the shell (mysql >command). I haven't had this problem before - any thoughts? It only happens >temporarily, and then resumes working immediately. man errno... 55 ENOBUFS No buffer space available. An operation on a socket or pipe was not performed because the system lacked sufficient buffer space or because a queue was full. Is this a busy server? Have you done any tuning? Unless you have already, start by building a new kernel with a higher "maxusers" value; try 128 (default is 32). You probably also need to raise the value of "option NMBCLUSTERS". See tuning(7) and LINT. $.02, /Mikko -- Mikko Työläjärvi_______________________________________mikko@rsasecurity.com RSA Security To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message