After running ps aux | grep php, I found about 10 php scripts ran by cron that have started over a week ago and are hanging.
Each script usually take 40 seconds to complete.
I have set ini_set('max_execution_time', 60) hoping it would terminate after 60 seconds.
How can I diagnose what is happening?
Thank you