Jira が "Failed to fork OS thread" メッセージでクラッシュする
プラットフォームについて: 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 は除く
症状
The JIRA instance crashes a couple of times due to OutOfMemoryError. However, a "Failed to fork OS thread" error message is shown instead of a common insufficient memory exception.
atlassian-jira.log に次のエラーが返される。
Cause:
java.lang.OutOfMemoryError: Failed to fork OS thread
Stack Trace: [hide]
java.lang.OutOfMemoryError: Failed to fork OS thread
at java.lang.Thread.startImpl(Native Method)
at java.lang.Thread.start(Thread.java:966)
at jcifs.util.transport.Transport.connect(Transport.java:171)
at jcifs.smb.SmbTransport.connect(SmbTransport.java:290)
at jcifs.smb.SmbSession.getChallenge(SmbSession.java:146)
...
原因
This error occurs when you are using IBM WebSphere Application Server. It indicates that the maximum number of concurrent VM's is exceeded.
ソリューション
Quoting the IBM article which covers this error: You can avoid this error by inserting a very small delay between starting successive threads (even as small as 1 millisecond). This delay can cause performance to decrease a little, but the error would disappear.
この内容はお役に立ちましたか?