On Thu, Apr 14, 2022 at 9:12 AM Stefan Eissing <ste...@eissing.org> wrote: > > I have the feeling we are in need of some sort of stress tests on > the overall child management scenarios. Offering my help.
Thanks Stefan for offering! Say we have a MPM event configuration like this: StartServers 1 ServerLimit 4 or 16 ThreadLimit 2 ThreadsPerChild 2 MinSpareThreads 2 MaxSpareThreads 4 MaxRequestWorkers 8 MaxConnectionsPerChild 0 The test would be to have 1 to 8 clients continuously requesting something that takes e.g. 1s to complete (mod_ratelimit or mod_proxy to a backend of yours that controls the rate?), and then issuing restarts simultaneously (graceful and ungraceful). Depending on ServerLimit (4 or 16) there should (or not) be spare room in the scoreboard for children processes to be spawned on restart. If not they will have to wait for the old generation ones to exit before new connections get accepted, but it should still "work". Not sure which of mod_status or the error_log is the best way to monitor the results.. Is something like this conceivable? Or maybe someone has a better idea? Cheers; Yann.