Welcome! Log In Create A New Profile

Advanced

thread_pool in Windows

March 03, 2018 10:27PM
Hi,

I am running Nginx as a proxy for a single-threaded server (Shiny R) in Windows;both the proxy and the server are located on the same machine. There are delays due to timeout errors:
"upstream timed out: A connection attempt failed because the connected party did not properly respond after a period of time, request: "GET /shared/jquery.min.js HTTP/1.1""
(and similar for other js and css files).

This can probably be solved with 'location alias'. But this is tedious, since the required files are spread out in R/Lib subdirectories.

The proper fix seems to be by restricting thread_pool with
thread_pool io_pool threads=1;
and a corresponding directive under 'location'
aio threads=io_pool;
However, Nginx reports: unknown directive "thread_pool".

Is there a way to have 'thread_pool' supported in Windows?
Subject Author Posted

thread_pool in Windows

Sergey Sandler March 03, 2018 10:27PM

Re: thread_pool in Windows

Maxim Dounin March 04, 2018 10:50AM

Re: thread_pool in Windows

Sergey Sandler March 05, 2018 07:46PM

Re: thread_pool in Windows

Valentin V. Bartenev March 06, 2018 07:58AM

Re: thread_pool in Windows

Sergey Sandler March 06, 2018 10:38PM

Re: thread_pool in Windows

ru@nginx.com March 07, 2018 03:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 111
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