Make client connections speed lower?
#1
Make client connections speed lower?
Hi! I was looking this weird search on Google, but no useful answers... Is there a way to SLOW DOWN a client connection? I mean, slow down every http and/or sql request made to that client...

My little brother uses a LOT of bandwidth, and I want to slow down the connections... Is there a way?

Google just returns the opposite: how to speed up! Smile
Reply
#2
RE: Make client connections speed lower?
You can't in current zpanel setup.

But if you have a dedicated server, you can setup openVZ or KVM to create a linux virtual machine where you can allocate res sources like 1 core & 512 MB RAM instead of allowing him to use all ram ;-).

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
#3
RE: Make client connections speed lower?
Hi, thanks for your answer... yes, I have a dedicated with 16 gigs of ram, but no openVZ or KVM installed... The server is fully working, I will test on other one...

Thanks!
Reply
#4
RE: Make client connections speed lower?
Well, I have the answer:

How to rate limit server UPLOAD speed (so, the speed the web visitor use)

First of all, lets activate apache module called mod_ratelimit: (that is installed by default)
Edit /etc/httpd/conf.modules.d/00-base.conf
and uncomment the line:

Code:
#LoadModule ratelimit_module modules/mod_ratelimit.so

Then, just add the following to CUSTOM ENTRY (Module Admin>Apache Config>Override a Virtual Host Setting>[select domain]>Custom Entry):

Code:
<IfModule mod_ratelimit.c>    <Location /downloads>        SetOutputFilter RATE_LIMIT        SetEnv rate-limit 350    </Location> </IfModule>

Where:
"/downloads" indicates the domain folder. Eg: "/" for all locations inside client root.
"SetEnv rate-limit 350" indicates speed in KB/s.

Using apache 2.4, and CentOS 7.

If you use Windows, you need to fix the paths.

PS: This is just for HTTP, SQL and FTP will not change their speed.
Reply
#5
RE: Make client connections speed lower?
Ok intersting

We will check this for sure.
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Update extplorer and panels client poseidon97 0 4 ,852 02-06-2020, 11:40 PM
Last Post: poseidon97
confused to make an decision please help nscloud 4 11 ,464 09-14-2018, 09:52 AM
Last Post: wormsunited
Change client's data folder problem dimnas 1 6 ,715 02-14-2018, 03:49 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)