Re: Questions regarding worker_connections

2018-08-27 Thread Alder Netw
should be set if we want to support expected number of active connections, say 150? Thanks, On Mon, Aug 27, 2018 at 4:56 AM, Maxim Dounin wrote: > Hello! > > On Fri, Aug 24, 2018 at 02:54:31PM -0700, Alder Netw wrote: > > > Got a question regarding the worker_connections c

Questions regarding worker_connections

2018-08-24 Thread Alder Netw
Got a question regarding the worker_connections configuration. Is a worker_connection essentially a tcp socket connection or http session? Via the http_stub_status_module, I can see there are connections in waiting state, but any new request will result in a "worker connections are not enough" ale

Re: Quick question about using kill -USR1 to recreate access.log

2017-09-27 Thread Alder Netw
Hi Maxim, We came across a case where kill -USR1 doesn't cause nginx reopen the access.log. And we need to run nginx with "daemon off" and "master-process off". Is that a known issue and is there any workaround? On Tue, May 20, 2014 at 4:33 AM, Maxim Dounin wrote: > Hello! > > On Mon, May 19, 2

nginxize an existing procdess

2017-09-18 Thread Alder Netw
Wonder any has experimented with expanding an existing process by spawning a thread running a thin layer of nginx code so the process can process http and support rest interface? Thanks, - Alder ___ nginx mailing list nginx@nginx.org http://mailman.nginx

questions on module developer

2017-03-04 Thread Alder Netw
Anybody here can tell me when these twe function init_process(), and exit_process() in a module (ngx_module_t) be called? init_process being called once when nginx starts or when a query matched with a location defined in nginx.conf is received? When would the exit_process() gets called? At proc

Re: Nginx with a ICAP-like front-end

2017-02-28 Thread Alder Netw
GET? > > On Mon, Feb 27, 2017 at 10:41 PM, Rajeev J Sebastian < > rajeev.sebast...@gmail.com> wrote: > >> From the docs it seems that this will work for all requests EXCEPT that, >> the @success fallback request will always be GET. >> >> On Mon, Feb 27, 2017 a

Re: Nginx with a ICAP-like front-end

2017-02-27 Thread Alder Netw
gt; error_page 510 = @success; > } > > location @success { > proxy_pass http://realbackend; > } > > > On Mon, Feb 27, 2017 at 3:41 AM, Alder Netw > wrote: > >> Or is there any existing module that can be adapted to achieve this? >> Appreciate if someone can sh

Re: Nginx with a ICAP-like front-end

2017-02-26 Thread Alder Netw
Or is there any existing module that can be adapted to achieve this? Appreciate if someone can shed some light. Thx, - Alder On Sat, Feb 25, 2017 at 9:24 PM, Alder Netw wrote: > Hi I want to add an ICAP-like front-end validation server V with nginx. > The user scenario is like this: &

Nginx with a ICAP-like front-end

2017-02-25 Thread Alder Netw
Hi I want to add an ICAP-like front-end validation server V with nginx. The user scenario is like this: The client will usually access the real app server R via nginx, but with a validation server V, the client request will first pass to V, V will dp certain validation and upon sucess the request