My site is a messaging site ,There users can send messages to individual and group messages,In group there are about large number of people, if users send to message to group, the server time outs and the site got hang for 2 hrs. Any method to solve these problem.
Share
For maximum execution time try:
set_time_limit(0);Also try to optimize your query. And use sleep in between each interval of 50 or 100 slots.