D
D
Dmitry2016-02-16 10:40:29
MySQL
Dmitry, 2016-02-16 10:40:29

Why does mysql work every other time?

Hello. The problem is this: when adding a task via Gearman to one of the servers, it writes the error "MySQL server has gone away" to the log. Usually, about 10 tasks are sent in turn, but it is the first one that always has this error. The rest are all ok. And so every day. I tried to change localhost to 127.0.0.1 in the connection, but it does not help. Uptime is fine. Where to look for a joint? Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2016-02-16
@dmitrydeco

study www.mysql.ru/docs/man/Gone_away.html
usually because of the code that opens, but does not close a bunch of connections,
when some of them fall off by timeout, and a request goes through them - then here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question