2

For my application I had to have this configuration for it works :

<IfModule mpm_prefork_module> 
    MaxRequestsPerChild   1
</IfModule>

What are the problem that I can encounter with this configuration.

Hunsu
  • 123
  • 5

2 Answers2

3

It would be very slow. The process that serves your requests will be restarted after every request (see documentation). Normally, this is not necessary.

Something is wrong with your application if it requires constant process restarting.

Cristian Ciupitu
  • 6,226
  • 2
  • 41
  • 55
Halfgaar
  • 7,921
  • 5
  • 42
  • 81
2

MaxRequestsPerChild controls the number of request the a child serves before the child is killed. This should not be set too low as it will put an unnecessary load on Apache.

Cristian Ciupitu
  • 6,226
  • 2
  • 41
  • 55
TBI Infotech
  • 1,536
  • 9
  • 15