How to , and other stuff about linux, photo, php … A linux, photography blog. To remember some linux situation, and fix them quickly.

December 12, 2011

MySQL Error Messages: MySQL server has gone away

Filed under: Linux — admin @ 2:22 pm

Recently I have a huge problem. Some site stop working after a cpanel update ( we think ) .
Email client start to be slow, mysql give mysql server has gone away, some curl give us error.
After a few hour of research we find out that gethostbyaddr was the php function that kill the apps.
When we check our resolv.conf we see that one of the dns was working verry slow.
We exclude that, add google nameserver and everything was back to normal.
Also please check to not have your own server listed there.

Regards

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress