httpd exhausted with smaller pool size after upgrading to JBCS httpd 2.4.51
Environment
- JBoss Core Services (JBCS)
- Apache httpd 2.4.51
- Apache httpd 2.4.57
Issue
- After upgrading to JBCS httpd 2.4.51 or later, we see fewer httpd threads, which are easily exhausted:
AH00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting
AH00326: Server ran out of threads to serve requests. Consider raising the ThreadsPerChild setting
Resolution
- Move your custom settings from conf.modules.d/00-mpm.conf to conf.d/mpm.conf moving forward.
Root Cause
- 2.4.51+ changed its mpm tunings to be located in conf.d/mpm.conf, overriding conf.modules.d/00-mpm.conf settings
SBR
Components
Category
Tags
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.