简体   繁体   中英

Randomly Can't connect to local MySQL server through socket

I have some webserver which use to host an openx banner system Recently I found that the error log told me there are some error - Can't connect to local MySQL server through socket while the peak time, but it is randomly, not always, sometime it works normal and sometime it throws this error.

any idea?

increase the values found here /proc/sys/fs/file-max . By doing echo "200" > /proc/sys/fs/file-max

Also make sure you increase the user limits: ulimit -n

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM