1651
Web applications / Re: Migrating Apache Web Server
« on: September 08, 2019, 12:13:07 am »
Hey Neil,
Lewis, Massimo and a few others are using the 2019 build on their server with reasonable success.
One of the keys is to make sure you have a valid setting for MaxRequestsPerChild - I suggest 1000 based on the below from Lewis...
Cheers,
Paul
I selected Paul Smedley's latest Apache 2.2 HTTPD
https://os2ports.smedley.id.au/index.php?page=apache2
I adjusted the conf/httpd.conf, and the website is running.
But not all is well. The server stops serving after a few days. Is anyone running this software? The logs seem to show nothing unusual, and there isn't really very much traffic. What could cause the server to stop?
Lewis, Massimo and a few others are using the 2019 build on their server with reasonable success.
One of the keys is to make sure you have a valid setting for MaxRequestsPerChild - I suggest 1000 based on the below from Lewis...
Code: [Select]
I can report a similar experience.
I'm currently running with MaxRequestsPerChild of 1000, and have seen uptime of over 10 days, no more every-four-hour scheduled daemon restarts and no more every-three-days scheduled server reboots. Memory consumption seems generally low (under 1GB in use under normal operating conditions, and memory is returned to the pool when load decreases - wow!).
I had an issue yesterday where the server fell over, but I think we were being hammered. After the restart and the inevitable autocheck passes, the server has been up.
Nice work, Paul!
Cheers,
Paul