MaxRequestsPerChild Directive in Apache 2.2
One of our servers run on apache which has mpm_winnt_module enabled. I was seeing memory consumption going up by time. Recently I checked httpd.conf to see it had directives configured correctly and discovered
MaxRequestsPerChild 0 |
Again based on Apache documentation setting MaxRequestsPerChild to a non-zero value limits the amount of memory that process can consume by (accidental) memory leakage.
I have changed that line to:
MaxRequestsPerChild 1000
This seems to stop memory leakage for our case. I will update this post if I see something else here on that configuration file.