Nginx performance data
jamesread5737 at gmail.com
Sat Jan 8 22:02:00 UTC 2022
On Sat, Jan 8, 2022 at 9:21 PM Francis Daly <francis at daoine.org> wrote:
> On Sat, Jan 08, 2022 at 08:53:44PM +0000, James Read wrote:
> > > On Fri, Jan 07, 2022 at 01:36:04PM +0000, James Read wrote:
> Hi there,
> > > > Does anybody know what timeout is used in Nginx call to
> > > > epoll_wait()?
> > which of the many source files should I look in to get the answer?
> $ grep -rl epoll_wait nginx-1.21.5
> I'd probably start there.
Yeah. Thanks. In line 800 of
nginx-1.21.5/src/event/modules/ngx_epoll_module.c it says events =
epoll_wait(ep, event_list, (int) nevents, timer); Thus the variable timer
is used. Line 123 and 124 seem to give the definition of the function call
which supplies the timer variable static ngx_int_t
ngx_epoll_process_events(ngx_cycle_t *cycle, ngx_msec_t timer,
So then I did:
grep -rl ngx_epoll_process_events nginx-1.21.5
I can't find any calls to that function in that file. Only the
definition of the function itself. So I still have no idea how the timer
variable is calculated.
> Good luck with it,
> Francis Daly francis at daoine.org
> nginx mailing list
> nginx at nginx.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx