Show us the nginx.conf, maybe you're using some weird large value somewhere.by itpp2012 - Nginx Mailing List - English
Roman Arutyunyan Wrote: ------------------------------------------------------- > Thanks, we’re planning to commit the fix. > > Could you say your name so we could add it to the commit message? Just stick to itpp2012, everyone knows by now we produce nginx for Windows based on the Linux version, the code base is not too different.by itpp2012 - Nginx Mailing List - English
Roman Arutyunyan Wrote: ------------------------------------------------------- > > On 30 Jun 2015, at 15:01, itpp2012 <nginx-forum@nginx.us> wrote: > > > > Roman Arutyunyan Wrote: > > ------------------------------------------------------- > >> What compiler do you have? > > > > A proper one :) vc++ > > version? 2010, 2013,by itpp2012 - Nginx Mailing List - English
Roman Arutyunyan Wrote: ------------------------------------------------------- > What compiler do you have? A proper one :) vc++by itpp2012 - Nginx Mailing List - English
(1066) : warning C4244: '=' : conversion from 'off_t' to 'size_t', possible loss of data diff line 1066: if (size > (size_t) limit) { - size = limit; + size = (size_t) limit; }by itpp2012 - Nginx Mailing List - English
It's recently been ported over, http://hg.nginx.org/nginx/rev/8807a2369b1aby itpp2012 - Nginx Mailing List - English
19:19 12-6-2015 nginx 1.9.2.1 Lizard Based on nginx 1.9.2 (9-6-2015) with; + Openssl-1.0.1o (upgraded 12-6-2015) + Naxsi WAF v0.53-3 (upgraded 12-6-2015) + Openssl-1.0.1n (CVE-2015-4000, CVE-2015-1788, CVE-2015-1789, CVE-2015-1790, CVE-2015-1792, CVE-2015-1791) + pcre-8.37b-r1566 (upgraded 10-6-2015, overflow fixes) + nginx-module-vts (fix for 32bit overflow counters including totals)by itpp2012 - Nginx Mailing List - English
Maxim Dounin Wrote: ------------------------------------------------------- > Hello! > > On Wed, Jun 10, 2015 at 06:06:22AM -0400, itpp2012 wrote: > > > Try the latest 1.9.2, in 191 is was added but not working. > > This is not true. I stand corrected, mistakenly took http://hg.nginx.org/nginx/rev/f654addf0eea for a http issue.by itpp2012 - Nginx Mailing List - English
Try the latest 1.9.2, in 191 is was added but not working.by itpp2012 - Nginx Mailing List - English
Have a look at /conf/nginx-simple-WAF.conf on this site http://nginx-win.ecsds.eu/ Works on any OS.by itpp2012 - Nginx Mailing List - English
That long will timeout any client, the best way I can think of is using Lua to start the php process and return some info page to the client so the client doesn't timeout and kill the php process. You will also need to use a Lua co-socket and most likely it will block a worker for that amount of time. You could also do something else, like create a que system externally which you feed from nby itpp2012 - Migration from Other Servers
sacon Wrote: ------------------------------------------------------- > Do I need to set some kind of max connections for each host:port (to > 1?) or will Nginx just figure this out and queue requests for that > host:port? Not directly, see http://forum.nginx.org/read.php?29,252517,252522 https://groups.google.com/forum/#!topic/openresty-en/NS2dWt-xHsY For now I'd say you needby itpp2012 - How to...
sacon Wrote: ------------------------------------------------------- > So say we had an 8 core CPU. If I fired up 10 to 12 processes on the > backend, each with its own port, could I use Nginx to load balance > HTTP requests to those ports, as if they were multiple backends. Yes thats possible, you would do this like you would create a pool of php-cgi, 10 of them each reacting in aby itpp2012 - How to...
Any backend loadbalancing solution depends on having multiple backends, if your legacy application can only handle 1 connection and you add another 9 you still can handle only 10 concurrent users. nginx can handle thousands of concurrent users and pass them on to a backend, so in your case you are going to get a very large que. Can your legacy application handle requests on different ports?by itpp2012 - How to...
Because the last tryfiles value is taken into consideration, which seems to always be true. Without it the api is always true.by itpp2012 - How to...
Ok, but that can be anything, client poor/low upload, saturation somewhere along the way, your storage not fast enough, etc... If there is no error logged anywhere it's not the backend or nginx but something behind the backend or before it reaches nginx.by itpp2012 - How to...
Enable debug for error logging, if something is getting dropped it will get logged. In your first post you attached an image, this forum doesn't do well with that, so if you want anyone to see that image you have to put it elsewhere.by itpp2012 - How to...
Attachments don't work too well here, please use some pastebin service. Do you have logfile entries that show what is going on? the logs often will tell why a client link is dropped.by itpp2012 - How to...
If the backend on 9090 can handle connections non-blocking there is no real limit, so what is currently the problem?by itpp2012 - How to...
In that case whats running on http://127.0.0.1:9090 needs to be able to handle many (proxy_passed) connections on its own, unless you have multiple instances which you then loadbalance using the same technique as with php(-cgi).by itpp2012 - How to...
B.R. Wrote: ------------------------------------------------------- > Will you make everyone using nginx on Debian using > that > trick, as soon as they need DNS on a default 'hotplug' interface with > sysvinit? No I'd make everyone use IP addresses with the EBLB I've introduced a while ago with sources. For a fast acting webservice DNS is outdated, outperformed and is only useby itpp2012 - Nginx Mailing List - English
Is the problem php? see the service installer on site how that one creates a PHP pool. Then look at the myLoadBalancer example in nginx-win.confby itpp2012 - How to...
B.R. Wrote: ------------------------------------------------------- > The keyword here is 'dynamic'. > > I even modified the service configuration to depend on 'named', but > the > thing is that being dynamic, the network and name resolution > dependency Why not simplify things, set nginx start to manual, create a service that runs a script, inside that script attemptby itpp2012 - Nginx Mailing List - English
See here http://hg.nginx.org/nginx for fixes about this, no idea if this fixes your issue.by itpp2012 - How to...
Which version? nginx or mine? with mine you can use 32k/worker and multiple workers are supported.by itpp2012 - How to...
Such amount of redirects can be best done with 'map', if you want dynamic redirects then you need Lua, a table read from sql into memory and an optimized Lua routine which does the rewrite (so not map). Map is static until nginx is reloaded, with Lua you can read sql data, store in ram and periodically re-read sql for a refresh. https://groups.google.com/forum/#!forum/openresty-en But all iby itpp2012 - How to...
If you got a json output then it should be easy to stuff this into something like a database for nagios to read, or use perl as a html client to parse this for nagios. Or go the Lua way, read json internally and have it read via a co-socket by nagios.by itpp2012 - How to...
This addon https://github.com/vozlt/nginx-module-vts is usable for such tasks where you can store the results anywhere.by itpp2012 - How to...
Something similar http://stackoverflow.com/questions/18117625/how-to-configure-nginx-to-try-files-first-if-not-exists-follow-the-request-uriby itpp2012 - How to...
http://nginx.org/en/docs/stream/ngx_stream_core_module.html Which is now in the opensource version, just google around for 'stream' And go through the added sources http://hg.nginx.org/nginx/rev/61d7ae76647d to find out which stream features are available.by itpp2012 - Other discussion
![]() |
![]() |
![]() |
![]() |
|