Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Nov 2001 17:28:16 -0800 (PST)
From:      Mikko Tyolajarvi <mikko@dynas.se>
To:        JHilgeman@ecx.com
Cc:        questions@freebsd.org
Subject:   Re: UNIX Socket Error (MySQL)
Message-ID:  <200111270128.fAR1SGL31811@mikko.rsa.com>
References:  <5D90F61EB6FDD411836500508B137F1AA3F077@mailsvr.ecx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111270128.fAR1SGL31811>