diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2024-01-29 10:31:37 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2024-01-29 10:31:37 +0300 |
commit | b794465178ecf48f13b37e4397145b05fd3fe6df (patch) | |
tree | f35d2c58a628ba0559ed04c9fcdf6c9097396bb3 /src/http/ngx_http_request.h | |
parent | cc4c3ee0a45ca3a2eeac2874e9199bf42560015c (diff) | |
download | nginx-b794465178ecf48f13b37e4397145b05fd3fe6df.tar.gz nginx-b794465178ecf48f13b37e4397145b05fd3fe6df.zip |
AIO operations now add timers (ticket #2162).
Each AIO (thread IO) operation being run is now accompanied with 1-minute
timer. This timer prevents unexpected shutdown of the worker process while
an AIO operation is running, and logs an alert if the operation is running
for too long.
This fixes "open socket left" alerts during worker processes shutdown
due to pending AIO (or thread IO) operations while corresponding requests
have no timers. In particular, such errors were observed while reading
cache headers (ticket #2162), and with worker_shutdown_timeout.
Diffstat (limited to 'src/http/ngx_http_request.h')
0 files changed, 0 insertions, 0 deletions