Index: ext/socket/socket.c =================================================================== --- ext/socket/socket.c (revision 32242) +++ ext/socket/socket.c (working copy) @@ -1281,7 +1281,7 @@ arg->fd = -1; if (type == INET_SERVER) - listen(fd, 5); + listen(fd, 1024); /* create new instance */ return init_sock(arg->sock, fd);