Hello!
I got a lot of mysql errors "Can't connect to local MySQL server through
socket '/var/lib/mysql/mysql.sock' (11)".
I trace one of this error and see, what non-blocking connect return
EAGAIN. See:
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(3, {sa_family=AF_FILE, path="/var/lib/mysql/mysql.sock"}, 110) =
-1 EAGAIN (Resource temporarily unavailable)
Mysql's connect do not detect this error:
if ((res != 0) && (s_err != EINPROGRESS))
{
errno= s_err; /* Restore it */
return(-1);
}
Is this kernel bug (Linux 2.6.16-std26-smp-alt1)?... which return EAGAIN
instead of EINPROGRESS, or some other troubles can force EAGAIN on unix
socket connect?
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]