Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
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.

Limit concurrent connection httpd

HI,

I am using httpd 2.4 to make my webserver.

I want to make webserver as storage server to store files here.
When guest downloads my file. I want to limit per file as 2MB/s and 4 connections is maximum.
But they can request many files at the same time on same server.

Is it ok?

I tried with mod limitconnect and mod ratelimit. But i cant do :( Please give me some advices or solutions.

Thanks in advance.

Comments

  • bohdansbohdans Member
    edited February 2016

    http://lmgtfy.com/?q=Limit+concurrent+connection+httpd
    Third link looks like it should do what you want

    Reading a little further, seems like you would have to do something server side with sessions, as you want to limit bandwidth and connections per user.

  • I think you dont understand what i mean
    mod_cband & mod_bw & mod_bandwidth didnt provide my solution.

    User 1 download 10 file at server A

    I want to limit A by
    file 1 : 2MB/s 4 concurrent connections
    file 2 : 2MB/s 4 concurrent connections
    file 3 : 2MB/s 4 concurrent connections
    file 4.....10

    Clear ?

  • Yea, edited my post above.
    I can't see anything in the httpd documentation that would do what you want.

  • @bohdans said:
    Yea, edited my post above.
    I can't see anything in the httpd documentation that would do what you want.

    THank you.....

  • Apache declare maxClients (like 'concurrent connections' that you tell) as 'global' paramenter. It's mean every user/website will be share it.

    If using event/worker mpm, it's possible limiting via php.

  • norival1992norival1992 Member
    edited February 2016

    Yes, i am finding a way via php, i am viewing fread to limit speed and connection. Looks like it works well with speed but, i dont know how to increase connection because it is 1 connection at default. Also i cant resume download through it.

Sign In or Register to comment.