I have an application developed on PHP codeignitor and Mysql. this is hosted on XAMPP. The application was running fine and suddenly on may 22 the CPU usage has gone up to 95%. and mysqld shows more that 85%CPU usage screen shot and i am encountering the issue of fatal error error log and from then the issue is continuing. the URL shown in the log is calling an API…could the slowness in getting response from the API be a reason?
i tried increasing the memory in php.ini, but no use.
in the diagnostics there is no slow running query, nor there are any locks on row or table.
the the application continuously has low performance.
How to resolve this issue?
i tried increasing the memory in php.ini file and restarted Apache, but of no use.
i want to bring down the cpu usage and increase the performance of the application