Unable to Deploy JIRA Due to MySQL 'max_questions' Resource Limit
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
症状
When trying to deploy JIRA, the following error appears in the JIRA logs:
SQL Exception while executing the following:
SELECT ID, ENTITY_NAME, ENTITY_ID, PROPERTY_KEY, propertytype FROM propertyentry
WHERE ENTITY_NAME=? AND ENTITY_ID=?
(User 'jirauser' has exceeded the 'max_questions' resource (current value: 100))
at com.opensymphony.module.propertyset.ofbiz.OFBizPropertySet.getKeys(OFBizPropertySet.java:100)
at com.opensymphony.module.propertyset.AbstractPropertySet.getKeys(AbstractPropertySet.java:292)
at com.opensymphony.module.propertyset.PropertySetCloner.cloneProperties(PropertySetCloner.java:114)
原因
MySQL has been configured to limit the number of queries a user can make in an hour.
ソリューション
Increase the max_questions property for the user. This will set it to unlimited:
use mysql;
update user set max_questions = 0 where user = 'jirauser';
Query OK, 0 rows affected (0.00 sec)
Rows matched: 4 Changed: 0 Warnings: 0
ℹ️ The above example assumes that the user used by JIRA to access mysql is 'jirauser'. You'll want to replace this with the appropriate username for your system.
この内容はお役に立ちましたか?