We are running a apache server on google cloud. Below is the server spec
Machine type : n1-standard-1 (1 vCPU, 3.75 GB memory) CPU platform : Intel Ivy Bridge
I have hosted a wordpress customize template on above server. After some time site is not loading even though apache2 is up. Below is the memory usage of the server.
Used command is:
root@web-live:/etc/apache2/mods-available# ps -ylC apache2 | awk '{x += $8;y += 1} END {print "Apache Memory Usage (MB): "x/1024; print "Average Process Size (MB): "x/((y-1)*1024)}'
Result obtained:
Apache Memory Usage (MB): 11620.8
Average Process Size (MB): 46.2979
Command:
root@web-live:/etc/apache2/mods-available# free -ht
Result obtained:
total used free shared buffers cached
Mem: 3.6G 3.0G 601M 32M 56M 424M
-/+ buffers/cache: 2.6G 1.1G
Swap: 0B 0B 0B
Total: 3.6G 3.0G 601M
This is my mpm_prefork.conf
StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxRequestWorkers 250 ServerLimit 250 MaxConnectionsPerChild 0
I have clread the logs when this issue hapends first time and restarted the apache and waiting for the next occurance of this issue to extract the log files. But now I can't see any logs at /var/log/apache2. Can anybody provide a solution for this not responding issue?
Recent Questions...
ما را در سایت Recent Questions دنبال میکنید
برچسب:
نویسنده: استخدام کار
بازدید: 239
تاريخ: سه
شنبه
8 تير
1395 ساعت: 12:27