Its a shared server and I am unable to modify the domains CloudFlare/DNS
settings.
As said the question mostly is why Nginx is freezing for the same setup and
traffic while Apache handles it just fine.
If its an issue with the Nginx setting, what should I change? or is it a bug
in Nginx?
Nginx
Is your nginx/Apache site visible on the internet without any authentication?
If so, I recommend that you access your site directly, not through cloud flare
with redbot.org, which is the best HTTP debugger ever, for both the nginx and
Apache versions of the site and see how they compare.
Why is
1. What does GET / return?
2. You said that nginx was configured as a reverse proxy. Is / proxied to a
back-end?
3. Does GET / return the same content to different users?
4. Is the user-agent identical for these suspicious requests?
Sent from my iPhone
> On Jan 10, 2019, at 11:19 PM, gnusys wr
The TCP state graph for the situation is:
https://i.imgur.com/USECPtc.png
You can see at 16:55 the FIN_WAIT1 ,CLOSE_WAIT and ESTABLISHED takes a steep
climb, At this point Nginx hangs as the server has a script that checks stub
status and this doesn't finish. The server itself and all other servi
The domain is proxied over cloudflare and the access log shows a large
number of requests to the website from the cloudflare servers
121115 162.158.88.4
121472 162.158.89.99
121697 162.158.90.176
122265 162.158.91.97
122969 162.158.93.113
125020 162.158.91.103
126132 162.158.90.194
128913
On Thu, 10 Jan 2019 08:50:33 +
Francis Daly wrote:
> On Wed, Jan 09, 2019 at 06:14:04PM -0800, li...@lazygranch.com wrote:
>
> Hi there,
>
> > location / {
> > if ($badagent) { return 403; }
> > }
> > location = /feeds {
> > try_files $uri $uri.xml $uri/ ;
> >
How do you know that this is an attack and not “normal traffic?”
How are these requests different from regular requests?
What do the weblogs say about the “attack requests?"
> On 10 Jan 2019, at 10:30 PM, gnusys wrote:
>
> My Current settings are higher except the worker_process
>
> worker_pro
Can multi_accept be on cause this?
I have now set multi_accep to off and set up the Nginx again as a reverse
proxy. The attack is not ongoing now, so can't tell immediately if that
setting helps/not
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,282613,282646#msg-282646
_
My Current settings are higher except the worker_process
worker_processes 1;
worker_rlimit_nofile 69152;
worker_shutdown_timeout 10s;
thread_pool iopool threads=32 max_queue=65536;
I think the issue is that nginx accumulate ESTABLISHED and CLOSE_WAIT and
FIN_WAIT1
>From successive netstat -apn
On Thu, Jan 10, 2019 at 02:54:14AM -0500, nevereturn01 wrote:
Hi there,
> I have 2 internal web hosts & 1 dedicate Nginx as reverse proxy, eg 10.1.1.1
> & 10.1.1.2
>
> Now, I need to access the different hosts via sub-url. eg:
>
> 1. https://www.domain.com/site1 -> https://10.1.1.1/
> https
On Thu, Jan 10, 2019 at 05:14:17PM +0800, David Ni wrote:
Hi there,
> I have one requirement right now,we are using nginx with ldap auth
...
> my requirement is that whether datanode02.bddev.test.net
> datanode03.bddev.test.net
can share cookies between each other,
Read about http cookies,
Your web server logs should have the key to solving this.
Do you know what url was being requested? Do the URLs look valid?
Are there requests all for the same resource?
Are the requests coming from a single IP range?
Are the requests all coming with the same user-agent?
Does the time this starte
Try this;
worker_processes 2;
worker_rlimit_nofile 32767;
thread_pool iopool threads=16 max_queue=32767;
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,282613,282640#msg-282640
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org
I have more info on the system state at the time the CLOSE_WAIT connections
went sky rocketing
Memory
###
KiB Mem : 13174569+total, 8684164 free, 28138264 used, 94923264 buff/cache
KiB Swap: 4194300 total, 4194300 free,0 used. 86984112 avail Mem
This server is not using network drives and the only thing I can think of
is the temp paths set to /dev/shm
--http-client-body-temp-path=/dev/shm/client_temp
--http-proxy-temp-path=/dev/shm/proxy_temp
--http-fastcgi-temp-path=/dev/shm/fastcgi_temp
--http-uwsgi-temp-path=/dev/shm/uwsgi_temp
--http-
The issue was identified to be an enormous number of http request ( attack)
to one of the hosted domains that was using cloudflare. The traffic is
coming in from cloudflare and this was causing nginx to be exhausted in
terms of the TCP stack
#
# netstat -tn|
Hello!
On Thu, Jan 10, 2019 at 08:27:08AM +0530, Anoop Alias wrote:
> Have had a really strange issue on a Nginx server configured as a reverse
> proxy wherein the server stops responding when the network connections in
> ESTABLISHED state and FIN_WAIT state in very high compared to normal
> work
Hello!
On Thu, Jan 10, 2019 at 10:32:28AM +0200, Andrei wrote:
> Thanks again for the pointers. I have caching enabled, and the purpose of
> this is to set different expire times based on the request (if it's
> cacheable). So I have 3 locations: 1 for frontpage, 1 for dynamic pages and
> another
Hi Experts,
I have one requirement right now,we are using nginx with ldap auth,and I
create many servers like datanode02.bddev.test.net
datanode03.bddev.test.net,so if I access these servers ,we need to input the
correct username and password which stored in ldap,my requirement is that
whe
On Wed, Jan 09, 2019 at 06:14:04PM -0800, li...@lazygranch.com wrote:
Hi there,
> location / {
> if ($badagent) { return 403; }
> }
> location = /feeds {
> try_files $uri $uri.xml $uri/ ;
> }
> The "=" should force an exact match, but the badagent map is
> chec
Hello!
Thanks again for the pointers. I have caching enabled, and the purpose of
this is to set different expire times based on the request (if it's
cacheable). So I have 3 locations: 1 for frontpage, 1 for dynamic pages and
another for static content. I can't use your example though because it wi
21 matches
Mail list logo