Menu

Running out of sockets

Help
rcayenne
2006-07-29
2013-04-17
  • rcayenne

    rcayenne - 2006-07-29

    Hi,

    I have libnns-mysql on a production FreeBSD 5.4 system, recently the following error message appears in the messages log file:

    service: libnss-mysql: Connection to server 'localhost' failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)

    This message comes from variuos services: postfix, authdaemond, radiusd etc. I figure that the problem is the number of connections between libnss-mysql and mysql server itself. I applied the wait_timeout variable to the mysql configuration, however it didn't solve the problem.

    Can you give me any other suggestion to resolve this problem?

    Thanks and regards,
    R.

     
    • Ben Goodwin

      Ben Goodwin - 2006-08-09

      I can't image that would be the error you get if you run out of sockets/connections.  If you issue a "show processlist" in MySQL when it happens, how may connections are owned by your libnss-mysql users?

       

Log in to post a comment.