Forum Moderators: coopster

Message Too Old, No Replies

Erono 11?

A Strange Error

         

ahmedtheking

5:49 pm on May 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Ok, I just got this:

Warning: 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 in /home/.sites/75/site8/web/inc/config.php on line 6

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 a possible OS-dependent bug in /home/.sites/75/site8/web/inc/config.php on line 6

Warning: Supplied argument is not a valid MySQL-Link resource in /home/.sites/75/site8/web/inc/config.php on line 6

Warning: Supplied argument is not a valid MySQL-Link resource in /home/.sites/75/site8/web/inc/templates/1/mainmenu.inc.php on line 13
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

Any ideas?

Stormfx

9:14 pm on May 1, 2005 (gmt 0)

10+ Year Member



It sounds to me like your connection link was broken. Just make sure you are setting the link resource and selecting a database prior to running a query.

e.g.

$linkid = mysql_connect($host,$user,$pass);
mysql_select_db('mydatabase');

$queryid = mysql_query('SELECT whatever FROM wherever', $linkid);

You also might want to verify that the server is running. If it is, it might need restarting.

ahmedtheking

10:23 am on May 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The actual server or just the mysql? How would I restart it via SSH?

Stormfx

5:09 pm on May 2, 2005 (gmt 0)

10+ Year Member



Sorry, I meant make sure MySQL is running. If it running, try restarting it (MySQL).

If you don't have desktop access to the machine, I'd call the tech people for the server and tell them it's buggered :)

ahmedtheking

9:15 am on May 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Ah I've found what the error was, the server was very overloaded and has been restarted!