According to an article here it says " Setting a MaxConnectionsPerChild limit is a specific method for assuring Apache is periodically recycling programs to reduce the impact of leaked memory on the system. When using external code handlers like Mod_fcgid, PHP-FPM or mod_lsapi, it becomes necessary to set MaxConnectionsPerChild to 0 (unlimited), doing so prevents periodic error pages caused by Apache terminating threads prematurely. "
So the way I understand it, you set a MaxConnectionsPerChild to avoid memory leakage (is that still happening in these modern times?). But as the statement above, it will result to periodic error pages (does that really happen - I always thought it will always do a graceful restart and not terminate prematurely?)
I'm using MPM_worker, http/2, and mod_lsapi modules. As a best practice in general, what would be the recommended value for MaxConnectionsPerChild for this kind of setup?
So the way I understand it, you set a MaxConnectionsPerChild to avoid memory leakage (is that still happening in these modern times?). But as the statement above, it will result to periodic error pages (does that really happen - I always thought it will always do a graceful restart and not terminate prematurely?)
I'm using MPM_worker, http/2, and mod_lsapi modules. As a best practice in general, what would be the recommended value for MaxConnectionsPerChild for this kind of setup?