blak3r / yaai

SugarCRM Asterisk integration
http://www.sugarforge.org/projects/yaai
GNU General Public License v3.0
81 stars 85 forks source link

Maximum execution time of 60 seconds exceeded #132

Open jappie11 opened 11 years ago

jappie11 commented 11 years ago

Fatal error: Maximum execution time of 60 seconds exceeded in \custom\modules\Asterisk\asteriskLogger.php on line 324

blak3r commented 11 years ago

I've seen this on some shared hosting providers. I do not know what the cause is.

Hmm maybe the shared hosting provider is killing the process... But, when I saw this before it would happen after a couple days of running (not something predictable like 60s after it started. It also seemed to happen after a hang up event.

Only other theory is its happening in a soap request to sugar... But, I'd think that error wouldn't cause the process to stop executing as it would just kill the http request. Perhaps that is happening and then the soap response is getting something back that it doesn't expect and then fatals. But, if that was the case I don't see why that error message would be getting printed. It's really odd.

If someone figures it out, would love to know. Or if someone knows how to get a stack trace of what line causes this... that'd also be good. But, even if the cause is identified... I'm not confident there is something that can be done to mitigate. Script is just doing soap requests and database queries.

Doesn't happen on a box of mine where I can reproduce so its up to the community to isolate this one.

I'd recommend getting a better provider. Will likely benefit in other areas.

~blake

On Jun 4, 2013, at 8:56 AM, jappie11 notifications@github.com wrote:

Fatal error: Maximum execution time of 60 seconds exceeded in \custom\modules\Asterisk\asteriskLogger.php on line 324

— Reply to this email directly or view it on GitHub.

blak3r commented 10 years ago

Were you able to resolve the issue?