max_execution_time #1371
AlliBalliBaba
started this conversation in
General
Replies: 1 comment 6 replies
-
|
Yes, timeout is now properly supported (at least in normal mode) for both Linux and FreeBSD in ZTS mode. It's not possible to use |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I guess this is most of all a question for @dunglas. I'm still a bit confused as of the current state of max_execution timers. Are they only working on Linux with ZTS? What signal is being used to trigger the timeout? (Mostly regarding the hanging described in #1216)
I experimented a bit with triggering timeouts from the go side (via SIGPROF). This generally works, but it does not trigger the fatal PHP error. Ideally we would not have to do this from the go side, even if the go scheduler seems to handle this pretty efficiently.
Beta Was this translation helpful? Give feedback.
All reactions