Cordal
Basic Pleskian
For a few days the apache service stops, intermittently, I restart it and it works correctly until it stops working again, inverted in the error log of apache these are the lines that appear just before stopping:
[Fri Jan 04 03:39:46.000595 2019] [mpm_prefork:notice] [pid 24244] AH00163: Apache/2.4.10 (Debian) mod_fcgid/2.3.9 OpenSSL/1.0.1t configured -- resuming normal operations
[Fri Jan 04 03:39:46.000607 2019] [core:notice] [pid 24244] AH00094: Command line: '/usr/sbin/apache2'
[Fri Jan 04 05:21:38.652601 2019] [mpm_prefork:error] [pid 24244] AH00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting
[Fri Jan 04 09:41:22.240587 2019] [mpm_prefork:notice] [pid 24244] AH00169: caught SIGTERM, shutting down
To which I have modified the file /etc/apache2/mods-enabled/mpm_prefork.conf increasing the /etc/apache2/mods-enabled/mpm_prefork.conf from 100 to 250 and adding the ServerLimit to 250 as well, leaving the file of the following way:
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 150
MaxRequestWorkers 250
ServerLimit 250
MaxConnectionsPerChild 0
</IfModule>
I have restarted the apache service after said modification, but after a few hours the service stops again.
Can someone give me some clue?
Thank you.
[Fri Jan 04 03:39:46.000595 2019] [mpm_prefork:notice] [pid 24244] AH00163: Apache/2.4.10 (Debian) mod_fcgid/2.3.9 OpenSSL/1.0.1t configured -- resuming normal operations
[Fri Jan 04 03:39:46.000607 2019] [core:notice] [pid 24244] AH00094: Command line: '/usr/sbin/apache2'
[Fri Jan 04 05:21:38.652601 2019] [mpm_prefork:error] [pid 24244] AH00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting
[Fri Jan 04 09:41:22.240587 2019] [mpm_prefork:notice] [pid 24244] AH00169: caught SIGTERM, shutting down
To which I have modified the file /etc/apache2/mods-enabled/mpm_prefork.conf increasing the /etc/apache2/mods-enabled/mpm_prefork.conf from 100 to 250 and adding the ServerLimit to 250 as well, leaving the file of the following way:
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 150
MaxRequestWorkers 250
ServerLimit 250
MaxConnectionsPerChild 0
</IfModule>
I have restarted the apache service after said modification, but after a few hours the service stops again.
Can someone give me some clue?
Thank you.