Quick Code Optimization (cakephp)
May 18th, 2011
I have a script running on my server that is causing me two issues. One that is eating up my CPU..so much so that I needed to suspend the site. This is the issue.. should be a quick project..my budget is 100 max…
The CPU-heavy HTTPD processes are reading files out of the following directory:
/var/www/vhosts/(nameofsite).me/httpdocs/app/webroot
The site “nameofsite.me” appears to have a bug in it that is causing undue CPU usage.
Then, the code is running a bit slow.
But I also have that unmodified code running on another url on my server and it runs without a problem is runs very fast.
So I need to solve the issue with the cpu usage and the speed issue.

Categories: Bug, CakePHP, Code, Optimization, PHP, Programming, Quick, System Administration %cpu, CakePHP, Code, issue, Optimization, Quick, running


