Yii rises too many processes that never end

My application keeps crashing with 500 Internal Server Error. People from my hosting tells me that there are too many php processes running that never ends and after a while memory just ends. I use Yii 1.1. What can be wrong ? Please help me.

Check if you have infinite loop.

Post your code.