Re: [RFC] [Discussion] Measuring maximum execution time based on wall-time

From: Date: Wed, 06 Jan 2021 16:26:13 +0000
Subject: Re: [RFC] [Discussion] Measuring maximum execution time based on wall-time
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-112783@lists.php.net to get a copy of this message
On Sun, Dec 13, 2020 at 1:25 AM Máté Kocsis <kocsismate90@gmail.com> wrote:

> Hi Everyone,
>
> Thanks for all the insightful feedbacks so far, I went ahead, and wrote a
> proper
> RFC: https://wiki.php.net/rfc/max_execution_wall_time
>
> Regards:
> Máté
>

Something potentially worth pointing out (and assuming I'm inferring the
correct behavior here): If max_execution_wall_time is exceeded during an
internal function call (which seems quite likely, as that's where there is
the most potential for something to hang) and the function does not return
within hard_timeout seconds, then the a process abort will be triggered.
The hard_timeout is 2s by default. If any of the individual call timeouts
are >= 2s, then it's not unlikely that this situation occurs.

Regards,
Nikita


Thread (11 messages)

« previous php.internals (#112783) next »