This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

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
Thanks given by:
#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
Thanks given by:
#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
Thanks given by:
#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
Thanks given by: Me.B
#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
Thanks given by:


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

Forum Jump:


Users browsing this thread: 3 Guest(s)