Welcome! Log In Create A New Profile

Advanced

Re: NGINX module reporting 0 time to access.log

Valentin V. Bartenev
December 02, 2014 08:16AM
On Monday 01 December 2014 22:09:14 chase.holland wrote:
> Hey all,
>
> We've written a module to connect NGINX / OpenResty with ZMQ endpoints
> (https://github.com/neloe/ngx_zmq), but all requests through the module
> report a 0.000 time back to access.log, making it impossible to determine
> which of our subsystems is the problem area in terms of latency. Is there a
> flag or callback somewhere that needs to be implemented in order to report
> this time properly?
[..]

The whole code is one big problem. It just blocks a worker process on network
IO and endless loops. You should never write code this way in nginx.

wbr, Valentin V. Bartenev

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

NGINX module reporting 0 time to access.log

chase.holland December 01, 2014 10:09PM

Re: NGINX module reporting 0 time to access.log

Valentin V. Bartenev December 02, 2014 08:16AM

Re: NGINX module reporting 0 time to access.log

chase.holland December 02, 2014 03:57PM

Re: NGINX module reporting 0 time to access.log

Yichun Zhang (agentzh) December 02, 2014 05:18PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 186
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready