Getting 'Communications link failure' CommunicationsException Error when Making XML Backup

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

[Unable to render {include} The included page could not be found. ({include} をレンダリングできません。ページが見つかりませんでした)] を選択し、

症状

Using MySQL, when making a manual XML backup, the database connection is timing out. The following appears in the atlassian-confluence.log:

 
com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception

原因

According to the MySQL manual:

The number of seconds the server waits for activity on a non-interactive connection before closing it. This timeout applies only to TCP/IP and Unix socket file connections, not to connections made via named pipes, or shared memory.

On thread startup, the session wait_timeout value is initialized from the global wait_timeout value or from the global interactive_timeout value, depending on the type of client (as defined by the CLIENT_INTERACTIVE connect option to mysql_real_connect()). See also interactive_timeout.

ソリューション

This problem is resolved by adjusting the wait_timeout parameter to a higher value.

If problems persist after making the changes, switch to a different Production Backup Strategy.
























最終更新日 2021 年 8 月 11 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.