Hi,
I got a setup of mysql/apache/php running on my home server. The server is not the most powerfull 1Go of memory 2.66 Ghz cpu, and a 2Mbits bandwith. It is running under Fedora core 3.
This should still be enough for the hosting of my home website and forum...
the issue I have is that often during the evening the connection to mysql failed for some users and for me as well from time to time. It is happening mainly when there is many visitors on the forum (100 or more)
The error message is the following :
PHP Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) in /var/ on line 30
Do you have any idea of the reason of this problem? to reproduce the issue it is easy i just have to try running the apache benchmark :
ab -c 50 -n 5000 -A "admin:btd3txwn"
this is really annoying for the visitors of my website and it seems that this is also happening on some other website : doing a google search with mysql.sock' (11) show many results ... but no answers !
thank you in advance for your help.
I got a setup of mysql/apache/php running on my home server. The server is not the most powerfull 1Go of memory 2.66 Ghz cpu, and a 2Mbits bandwith. It is running under Fedora core 3.
This should still be enough for the hosting of my home website and forum...
the issue I have is that often during the evening the connection to mysql failed for some users and for me as well from time to time. It is happening mainly when there is many visitors on the forum (100 or more)
The error message is the following :
PHP Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) in /var/ on line 30
Do you have any idea of the reason of this problem? to reproduce the issue it is easy i just have to try running the apache benchmark :
ab -c 50 -n 5000 -A "admin:btd3txwn"
this is really annoying for the visitors of my website and it seems that this is also happening on some other website : doing a google search with mysql.sock' (11) show many results ... but no answers !
thank you in advance for your help.