My EC2 micro instance doesn’t often respond: Cannot access websites, Webmin, FTP or even SSH due to high load. If Apache is stopped, website cannot be accessed (of course!), but other services work properly.
I have looked at error_log, but there are only “PHP Notice: Undefined variable” errors, I think this type of error cannot be the reason.
So, someone please help me to detect which scripts have caused the system high load? - or any suggestion for fixing this problem.
What sort of load are you seeing on your system? You can determine that by running the command “uptime”.
If you run the command “top”, it will tell you what processes are resource intensive… are there any in particular that are showing up at the top of that output?
Also, what is the output of the command “mailq | tail -1”. That will show how many email messages are sitting in the email queue.