comparison src/core/ngx_cycle.h @ 7697:b9071b875194

Core: added a warning about reusing connections. Previously, reusing connections happened silently and was only visible in monitoring systems. This was shown to be not very user-friendly, and administrators often didn't realize there were too few connections available to withstand the load, and configured timeouts (keepalive_timeout and http2_idle_timeout) were effectively reduced to keep things running. To provide at least some information about this, a warning is now logged (at most once per second, to avoid flooding the logs).
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 10 Aug 2020 18:52:59 +0300
parents fc4d82c13c04
children f18db38a9826
comparison
equal deleted inserted replaced
7696:45764bca69b0 7697:b9071b875194
53 ngx_uint_t modules_n; 53 ngx_uint_t modules_n;
54 ngx_uint_t modules_used; /* unsigned modules_used:1; */ 54 ngx_uint_t modules_used; /* unsigned modules_used:1; */
55 55
56 ngx_queue_t reusable_connections_queue; 56 ngx_queue_t reusable_connections_queue;
57 ngx_uint_t reusable_connections_n; 57 ngx_uint_t reusable_connections_n;
58 time_t connections_reuse_time;
58 59
59 ngx_array_t listening; 60 ngx_array_t listening;
60 ngx_array_t paths; 61 ngx_array_t paths;
61 62
62 ngx_array_t config_dump; 63 ngx_array_t config_dump;