Re: zend_timeout and the SIGPROF signal
| From: | wmeler at wp-sa dot pl | Date: | Thu, 20 Feb 2003 14:58:43 +0000 |
| Subject: | Re: zend_timeout and the SIGPROF signal | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-94392@lists.php.net to get a copy of this message | ||
> 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. Also, I've found that it doesn't seem to "unwind" the
> stack
I've reported it as bug #16820 and submited a patch, but no one
answered ...
I think it is better to use the same method as in Windows environment -
set a EG(timeout) flag.
regards,
Wojtek