Hello,

I have PHP site hosted locally with MYSQL. With normal load its working fine but error occurring in case of heavy load with mysql: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11)

The OS error code 11 means 'Resource temporarily unavailable'.

I am using Fedora13 & MYSQL version: 5.1.52
My.conf is as below:
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0

[mysqld_safe]
log-error=null
pid-file=/var/run/mysqld/mysqld.pid

Please help me for further diagnose.