New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
How to enable multiple (more than usual) connections from 1 IP to HTTP?
Hi! Thanks for help in topic before!
Does anyone have any tips&tricks or experience in this field.
Basically I'm sending HTTP GET request from IP#1 to IP#2, but I want to send many requests at once (in same milisecond almost) and that is near ddos/brute I guess and the server which receives HTTP GET starts to ditching the connections...
I'm using Ubuntu 16 with Apache/PHP.
Any suggestions?
Thanks!
Comments
Yeah, me too experienced this on ALMOST ALL OF SHARED HOSTING.
Imagine 100 students send Login POST Request almost at the same time. The hosting will block my IP, I mean WTF !
Whitelist the IP in firewall and increase connections limit in apache. Maybe it's apache which is running out of idle workers or could be php(fpm?).
How many is many to you?
I have managed to configure apache and php to handle everything... atm I'm doing 480 requests per minute without a glitch.
Increased apache workers etc... but I'm testing on 20core 80gb ram xD
Gross.
How about upgrading to nginx, and enable http2 module.
The http2 has multiplexing connection, that you can read more about it, here..
@eva2000
Any solution if you are on Shared or Reseller Hosting ?
Just make sure that a) the firewall and b) the http server doesn't limit connections per client/ip.
Btw: 480 req/Minute? I guess (and hope for you) you meant "per second".
Yeah, i was quite suprised by that number too. I mean seriously that's like 8 sorry requests per second and he's throwing 20 cores at it??? I really don't want to know what kind of frankenstein php script he's calling.