MySQL Forums
Forum List  »  French

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (11)
Posted by: Marc Miel
Date: May 06, 2010 09:34AM

Bonjour,
J'ai un serveur dédié (Linux) où se trouve mon site Web.
Le problème, c'est que MySQL plante de temps en temps avec cette erreur :

"Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (11)".

Cela rend mon site inaccessible puisque MySQL n'est pas dispo après ce crash.

Je suis obligé de faire un restart de mysql .

Voilà le contenu du log à chaque plantage :
=====================================

100503 7:04:54 - mysqld got signal 11;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.

key_buffer_size=16777216
read_buffer_size=258048
max_used_connections=45
max_connections=100
threads_connected=3
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 92783
K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

thd=0xb3707888
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
Cannot determine thread, fp=0xb518e7e8, backtrace may not be correct.
Stack range sanity check OK, backtrace follows:
0x818b878
0xb75a8e87
0x81de609
0x81de88d
0x81ee013
0x81f4212
0x81f48f5
0x81a2e59
0x81a916a
0x81aa14b
0x81aa8ab
0x81ab2b9
0xb75a2d51
0xb73fbe2a
New value of fp=(nil) failed sanity check, terminating stack trace!
Please read http://dev.mysql.com/doc/mysql/en/us...ack-trace.html and follow
instructions on how to resolve the stack trace. Resolved
stack trace is much more helpful in diagnosing the problem, so please do
resolve it
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd->query at 0x896c0f8 = SELECT COUNT(*) AS threads, SUM(IF(thread.lastpost > 1
272863094 AND open <> 10, 1, 0)) AS newthread

FROM vb_thread AS thread


WHERE forumid = 13
AND sticky = 0
AND visible = 1
thd->thread_id=439651
The manual page at http://www.mysql.com/doc/en/Crashing.html contains
information that should help you find out what is causing the crash.

=====================================

Peut-être que quelqu'un pourrait m'aider à corriger ce problème.

Dans les pages suivantes se trouvent les paramètres de MySQL :


Options: ReplyQuote


Subject
Views
Written By
Posted
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (11)
8051
May 06, 2010 09:34AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.