Everyone handle high traffic loads on Apache server. During down-time they forget to check server memory . Apache not used lot of memory still server not responding. All time we restart Apache service and all things will start working good. I also faced same issue numerous time and all-time used same solution : Restart Apache. After lots of research and reading found one solution. In this blog you see step-by-step guide to apache2 performance settings. System environment: Intel(R) Xeon(R) CPU 3.10GHz, 4 cores | 8GB RAM Ubuntu 16.04 Apache2 version using mpm_event PHP FPM (5.6,7.1) First, Calculate process size : Download : python script file “ps_mem.py” from Github Open this and ps_mem.py file upload on you server : https://github.com/raj412/ps_mem chmod a+x ps_mem.py sudo python ps_mem.py Output like this: See here : 12 Apache processes, consuming a total of 35.7MiB, so each Apache process is using roughl...
Amazon Cloud Site provide information about AWS(Amazon Cloud), Linux server tips, tricks & tutorials and DevOps with full statistics also information about Linux systems, OS, server any other web-hosting as well as AWS information, exam tips and may more.