I keep on getting emails from the host that the php script on shared hosting uses excessive resources.
I do not know what resources the host is talking about - whether it's the cpu, ram or the disk i/o ?
Where do I start to find out what part of the script is causing the excessive resource usage? Is it the php code or the database/queries?
Once I find out the above, how do i go about correcting it?