Have a look at the Nginx module ngx_http_limit_req_module
http://nginx.org/en/docs/http/ngx_http_limit_req_module.html
It allows you to limit the number of requests coming from a single address.
This will probably be good enough to protect your site against a single
person running ab, but it wo
Hi,
No, the first message says it works with 6k requests, of which 350 are
concurrent, and doesn't work with 10k requests, of which 350 are concurrent. I
merely made some back-of-the-napkin calculation with some very crude assumptions
that 350 concurrent requests means you have a total of 100k use
First message clearly state that the site is running fine with 6,000
visitors but have issues with 10,000 and more.
I'm most intrigued by the error message from MySQL on bad value for user
agent.
On 2 Mar 2017 9:18 p.m., "Antonis Christofides" <
anto...@djangodeployment.com> wrote:
> 350 concurr
350 concurrent requests for a single machine is really much. If your app is very
fast (e.g. by caching stuff a lot) it might be possible, but again it might
require some tuning (for example, you could increase the gunicorn workers, but
you need to be monitoring RAM consumption).
Do you really need
Hi, ok i change the uwsgi to gunicorn right now, the problem with error 502
in this moment he disappeared
but the website in time it gets slow i dont now what is.
this is the all syslog for today i this moments
Mar 2 17:21:02 prueba gunicorn[1834]: [2017-03-02 17:21:02 +] [21405]
[INFO] Booti
Your logs contain this:
IOError: write error
However, more information is needed in order to understand what is going on. A
simple "write error" on its own is insufficient—is it a hardware error? Too many
open files? Out of disk space? Something else? If your system writes nothing
else in /va
Hello, Antonis i have debug = false, yes
uwsgi dont write anything in the log :/
When i see the syslog i see error but not understand!
i share this output
http://pastebin.com/69yvC8Tz
thak for you help
On Wed, Mar 1, 2017 at 12:58 AM, Antonis Christofides <
anto...@djangodeployment.com> wrote:
Hello,
502 usually means the backend isn't running. After you finish the test, has the
backend stopped running? Does it continue to throw 502s? If that is the case,
I'm wildly guessing that processes might be growing and growing in memory and
being eventually killed, but I don't really know. Do yo
Hi, all
i have one vps for one application,
vps description
16GB RAM
8 core processor
160 GB SSD
6TB Transfer
ok, i am using, uwsgi(2.0.14), nginx(1.10), mysql(5.6 )and ubuntu 16.04 LTS
this site working well when is visited or hits 1k even 6k, but when visited
10k or 12k
raiser error 502,
Whe
9 matches
Mail list logo