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
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

62 views 3 2
Join discussion

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