Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一些用于托管openx横幅系统的网络服务器最近我发现错误日志告诉我有一些错误 - Can't connect to local MySQL server through socket while the peak time,但它是随机的,并不总是,有时它工作正常,有时会引发此错误。
任何想法?
增加此处找到的值/proc/sys/fs/file-max。通过做echo "200" > /proc/sys/fs/file-max
/proc/sys/fs/file-max
echo "200" > /proc/sys/fs/file-max
还要确保增加用户限制:ulimit -n
ulimit -n