I have an issue with my Cakephp application. I find that once a day or maybe once every two days PHP will lock up and become unresponsive resulting the the process crashing and restarting.
From what i've read this may be caused by a method in an endless loop. As the application is very large is there anyway that I can capture activity of all my users in logs and see what methods arent finishing.
If anyone can suggest plugins, components or methodologies that I could use to do something like this. FYI I would like to avoid adding a log statement to every method in my application.
Additional Info:
- Cakephp 2.1
Error Message in PHP error logs: PHP Fatal error:
Maximum execution time of 300 seconds exceeded in ...lib\Cake\Model\Datasource\CakeSession.php on line 609