The CPU and memory limits are based upon time, as if your sites are using too much cpu time then the process will get killed off and the only memory limit is the memory limit for php and apache. You will also have 25 process limit, if you go over this you will start seeing 500 errors and other issues. I hope this fully answers your questions.