Re: How nginx stream module reuse tcp connections?

2021-03-07 Thread allenhe
Hi, Thanks for the reply! So, if there is no error and the downstream/upstream didn't actively close the connection, the nginx won't timeout and close the tcp connection with the downstream or with the upstream at all? is that correct? and I suppose the SO_KEEPALIVE option is turn on by default

invalid PID number in Big Sur

2021-03-07 Thread bee.lists
Trying to get nginx working in Big Sur. Upon trying to start the server (nginx.conf test passes fine), I get this: nginx: [error] invalid PID number “” in “/opt/homebrew/var/run/nginx.pid” The file is there, but it seems empty. Given that homebrew now chooses that location, and is set in ngin

worker_connections exceed open file resource limit

2021-03-07 Thread bee.lists
Big Sur has a warning that 1024 exceeds open file resource limit of 256. Is this normal, considering I’ve set my worker_connections to 1024 in nginx.conf? Also, is this a package manager designation? Cheers, Bee ___ nginx mailing list nginx@ng

Re: How nginx stream module reuse tcp connections?

2021-03-07 Thread Francis Daly
On Thu, Feb 25, 2021 at 09:31:36PM -0500, allenhe wrote: Hi there, > As we know there are some keepalive options in the nginx http modules to > reuse tcp connections, That is: the http protocol, which nginx speaks both as a server and as a client, includes a facility to request that multiple req

Re: How did nginx resolve names?

2021-03-07 Thread Francis Daly
On Fri, Mar 05, 2021 at 03:09:34PM +0100, basti wrote: Hi there, > Today I had the problem, that nginx run into "504 Gateway Time-out" when the > first nameserver in /etc/resolv.conf did not answer. > > The php application is query some names (db-server for example). > > Did nginx use nsswitch?

Re: unknown directive "thread_pool"

2021-03-07 Thread tarikislam8091
nginx: [emerg] unknown directive "thread_pool" in /etc/nginx/nginx.conf Posted at Nginx Forum: https://forum.nginx.org/read.php?2,259166,290904#msg-290904 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx