After upgrading to Percona’s patched MySQL 5.1*, end users were having connectivity problems, and reporting errors such as:
OperationalError: (2003, "Can't connect to MySQL server on
'db-amo-ro' (110)")
TimeoutError: Request timed out after 5.000000
seconds
OperationalError: (1135, "Can't create a new thread (errno
11); if you are not out of available memory, you can consult the
manual for a possible OS-dependent bug")
We had these same problems a while back, before increasing ulimit
settings in /etc/sysconfig/mysqld. Oracle’s MySQL
startup script specifically sources this file:
[ -e /etc/sysconfig/$prog ] && .
/etc/sysconfig/$prog
However, we saw these errors again when we upgraded to Percona’s
MySQL 5.1. At first we thought that it was because Oracle’s
startup script is /etc/init.d/mysqld and Percona’s …