I have a question in regards to page timeouts and how the initial
I've noticed if a query takes longer than the default 30 seconds to
execute, php returns a timeout message to the user. From what I can
tell, php uses the SIGPROF signal to stop execution when the 30
seconds
has expired.
- Original Message -
On timeout, the engine will call zend_bailout(), which performs a
longjmp(). It does unwind the stack, but since we're dealing with
C and
not C++ and there are no destructors, it's your responsibility to
clean
after yourself. You can do it by properly
- Original Message -
I looked into the bug report, and it is true that
BLOCK_INTERRUPTIONS
should indeed block SIGPROF. I'll fix this in the weekend.
I'm not sure if after unblocking interruptions PHP will get SIGPROF ...
it could cause long scripts. I'd rather use EG(timeout).