Currently there's no mention about net.core.somaxconn parameter needs
to be adjusted if max_connections is large and UNIX domain socket is
used for connection. Since the default for the kernel parameter is
small (typically 128), it is easy to hit the limitation and you will
get errors something like:
could not connect to server: Resource temporarily unavailable
I don't know if this should be applied to other OS as well though.
Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp