I get every now and then the following error on my MySQL + PHP web page:
Warning: MySQL Connection Failed: Can't create a new thread (errno 11). If
you are not out of available memory, you can
consult the manual for any possible OS dependent bug in global.inc on line
49
Line 49 of global.inc is:
$_sql = mysql_connect("hostname", "username");
If I run /usr/local/mysql/bin/mysqladmin status I get:
/usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't create a new thread (errno 11). If you are not out of
available memory, you can consult the manual for any possible OS dependent
bug'
And, I'm definitely not out of memory since my swap is empty, top says:
11:24am up 49 days, 1:43, 2 users, load average: 0.24, 0.11, 0.04
33 processes: 31 sleeping, 2 running, 0 zombie, 0 stopped
CPU states: 17.1% user, 0.9% system, 0.1% nice, 82.1% idle
Mem: 63100K av, 58896K used, 4204K free, 15160K shrd, 6856K buff
Swap: 66492K av, 972K used, 65520K free 33088K cached
What might cause this problem?
Tomy.