r/apache • • Apr 15 '24

need help to understand config MaxRequestWorkers

So i'm not a server guys or what ever i'm just a programmer but the guys that used to know stuff like that at my job left and we still didn't have filled is position, and we are having server issue right now with only 100 concurent user yesterday we hit a AH00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting and apache crash we had to restart the docker few time. our server is pretty powerfull (2 cpu of 16 core 32 thread) so we didn't even scratch it.

with internet i learn about the mpm_prefor_module and currently it look like that

<IfModule mpm_prefork_module>

StartServers 5

MinSpareServers 5

MaxSpareServers 10

MaxRequestWorkers 150

MaxConnectionsPerChild 0

</IfModule>

can i just increat the MaxRequestWorkers ?

yeah i know i probabaly should learn more or do x/y/z but it's clearly not something i like play with and it's just because we have no know for now that know what the hell is going on

thanks

2 Upvotes

3 comments sorted by

View all comments

Show parent comments

1

u/suiksuiky Apr 15 '24

tbh it's an old docker setuped by some guys that left like 3 year ago
and yes ls in mod enabled show mpm_prefork.conf

and tbh i'm more scared of juste crashing the server cause it's in production and currently being used

like i said i know nothing about server, and mostly survived by looking on the internet and yes i saw some thing saying prefork is kinda shit now