サーバーが Apache httpd の MaxRequestWorkers に達するためにパフォーマンスの問題が発生する
Issue
-
接続数が 256 に達すると Apache httpd がハングします。error_log に以下のエラーメッセージが表示されます。
AH00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting -
Apache httpd サーバーが、MaxRequestWorkers をすぐに使い果たしてしまいます。MaxRequestWorkers を増やすにはどうすればいいですか?
Prefork mpmで httpd が許可する接続数が 256 しかありません。
Environment
-
Red Hat Enterprise Linux (RHEL) 7.x
- Apache httpd-2.4.6
-
Red Hat Enterprise Linux (RHEL) 8.x
- Apache httpd-2.4.37
-
Red Hat Enterprise Linux (RHEL) 9.x
- Apache httpd-2.4.x
-
JBoss Web Server (JWS) 3.x
- Apache httpd 2.4.x -
Jboss Core Services httpd 2.4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.