I am having some problems with my server. I saw a spike in traffic today due to an event-related web site and I saw several problems:
-I got alerts from Health Monitoring that says "Apache CPU usage" is red. it is around 27%. 27% of CPU usage does not seem that high. Also, the total CPU usage never goes above 15%. Even if the 27% was high why would more CPU resources be allocated to Apache? is there a way to do that?
-Users started seeing (intermittently) 500 internal server error - nginx. The nginx error logs shows this "too many files open" entry that is discussed in several other threads. I saw some solutions that discussed raising some limits in the nginx config file. Is this the way to go?
-For now I turned off nginx. Can it be left off permanently? What benefits does it give being turned on? More security?
I also noticed the memory usage goes up steadily but slowly. I have a lot of memory so it doesn't get anywhere near the max but it seems to a symptom of some other problem and I suspect it may be related to the nginx issues.
-I got alerts from Health Monitoring that says "Apache CPU usage" is red. it is around 27%. 27% of CPU usage does not seem that high. Also, the total CPU usage never goes above 15%. Even if the 27% was high why would more CPU resources be allocated to Apache? is there a way to do that?
-Users started seeing (intermittently) 500 internal server error - nginx. The nginx error logs shows this "too many files open" entry that is discussed in several other threads. I saw some solutions that discussed raising some limits in the nginx config file. Is this the way to go?
-For now I turned off nginx. Can it be left off permanently? What benefits does it give being turned on? More security?
I also noticed the memory usage goes up steadily but slowly. I have a lot of memory so it doesn't get anywhere near the max but it seems to a symptom of some other problem and I suspect it may be related to the nginx issues.