Re: non-blocking connect and EAGAIN

2007-09-19 Thread Chad MILLER
Hi, Dmitriy, Vladimir! On 19 Sep 2007, at 07:40, Vladimir Shebordaev wrote: Hi, Dmitriy, would you please specify when you get those reconnects? The Linux connect() system call on non-blocking AF_UNIX sockets should return immediately with EAGAIN when the peer's backlog queue is full.

non-blocking connect and EAGAIN

2007-09-18 Thread Dmitriy MiksIr
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/