DB max allowed packet size

In Confluence Administration, (Menu : Administration -> Support Tools - Instant Health)
I saw the message

  'Max Allowed Packet'

      -> checks if the max_allowed_packet variable in your MySQL database is appropriate.

       -> change max_allowed_packet variable to 34M



So I changed the max_allowed_packet variable 16M to 32M as maria DB
recommendation (two times 16M).

Is it a must to change the max_allowed_packet variable size to 34M?


If it is difficult to change, what is the result?

1 answer

0 votes
Gonchik Tsymzhitov Community Champion Oct 10, 2017



  • You need to change max_allowed_packet  in my.cnf, by default it is located in /etc/my.cnf
  • After change parameter you need to restart mysql. before stop your confluence instance. 
  • That's all







Tsymzhitov Gonchik

Thank for your reply.


But I want to know what value is max_allowed_packet variable?

In confluence system, it recommend to set 34M,

but system administrator in my confluence server recommend max_allowed packet size in maria DB is multiple of 2, so 32M.


Is it 34M or 32M?


Gonchik Tsymzhitov Community Champion Oct 11, 2017

Unfortunately, in my experience I have set different values for mysql, percona - different values not multiple of 2.

And in documentation in Maria DB, I have not seen any info about multiple of 2.  



For my instance have set max_allowed_packet = 256M

Because it is need for faster backup. 

Hence you can set 64M, for to be in deal with your system administrator:)



Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,034 views 2 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you