nginx taking too long to respond

Mathew Heard me at mheard.com
Mon Jul 19 12:31:18 UTC 2021


Alejandro,

Not all up in Lua is non blocking. In fact many libraries for file ok are
blocking.

I would check that

Also technically the engine (Lua script) processing is blocking and that
can also be an issue if there is heavy processing .

Hope that helps,
Mathew

On Mon, 19 Jul 2021, 10:26 pm mrgonza78, <nginx-forum at forum.nginx.org>
wrote:

> Thanks for the responde Maxim, I appreciate it.
>
>   In our case we're not using perl modules and we're not serving files
> either. We're using a bunch of known lua/resty libraries (we're using
> openresty), but AFAIK all IO in lua is non-blocking.
>
>   On the other hand, that 75s delay in processing was just the example I
> pasted, we saw cases where it took almost 3m to respond.
>
>   Thanks
>
> Posted at Nginx Forum:
> https://forum.nginx.org/read.php?2,292073,292076#msg-292076
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20210719/9691e705/attachment.htm>


More information about the nginx mailing list