@pollita, @derickr could either of you help me understand max_execution_time in PHP? What is it actually counting? The php docs say how long a script runs but that feels quite vague. I have a long running job that is kicked off by one command and it randomly hits max execution time every now and then. The job runs for a lot longer than the max execution time so I'm unsure how exactly this is counted. Any insights would be much appreciated as I have no idea who to ask about this
=> More informations about this toot | More toots from sephster@fosstodon.org
@pollita @derickr and sorry to contact you both directly. Any help you can give me would be greatly appreciated but no worries if you are unable to help. Thanks for your time
=> More informations about this toot | More toots from sephster@fosstodon.org
@sephster @pollita It counts CPU time, not wall time.
=> More informations about this toot | More toots from derickr@phpc.social
@sephster @pollita So if your script is waiting on IO, that doesn't get counted. I believe it uses a timer on Unix.
However, on Windows, it used to measure actual wall time. I'm not sure if that had been fixed recently.
=> More informations about this toot | More toots from derickr@phpc.social
@derickr @pollita and by script, it just means how long it spends waiting to execute commands a single file?
I think the issue I'm seeing is something to do with curl. The guzzle curl factory is hitting max execution time and I've no idea why at present. Thank you for your help Derick. Much appreciated
=> More informations about this toot | More toots from sephster@fosstodon.org This content has been proxied by September (ba2dc).Proxy Information
text/gemini