"MySQL server has gone away" error

Moderator: crythias

Locked
dstover
Znuny advanced
Posts: 135
Joined: 04 Jun 2013, 23:14
Znuny Version: 3.3.3
Real Name: Dan Stover
Company: EMAC, Inc.

"MySQL server has gone away" error

Post by dstover »

On my OTRS 3.3.3 system, I am randomly experiencing "MySQL server has gone away" errors. I looked online and found information about the wait_timeout and interactive_timeout options, which are set by default to 28800 seconds. Theoretically I am thinking that maybe my MySQL is using up all its threads and then each thread is only timing out 8 hours later, leading to connection issues.

Am I on the right track with this? If not, please provide any insight that would be helpful. If so, please give me some input on the appropriate settings.

Thanks in advance for any assistance...Dan.
OTRS 3.3.3
Ubuntu 12.04
MySQL DB
wurzel
Znuny guru
Posts: 3274
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: "MySQL server has gone away" error

Post by wurzel »

Hi,

google helps. What about your Max_packet_size ?

Florian
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
dstover
Znuny advanced
Posts: 135
Joined: 04 Jun 2013, 23:14
Znuny Version: 3.3.3
Real Name: Dan Stover
Company: EMAC, Inc.

Re: "MySQL server has gone away" error

Post by dstover »

My max_packet_size is set to 8M. Looks like maybe that should be made larger. I will try that and let you know if it works.

Thanks for the tip...Dan.
OTRS 3.3.3
Ubuntu 12.04
MySQL DB
Locked