Howdy, Stranger!

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


Limit concurrent connection httpd
New on LowEndTalk? Please Register and read our Community Rules.

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.

VPSCheaper.com - Cheapest Premium VPS begin from $1.59 - STOP SELLING

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 ?

    VPSCheaper.com - Cheapest Premium VPS begin from $1.59 - STOP SELLING

  • 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.....

    VPSCheaper.com - Cheapest Premium VPS begin from $1.59 - STOP SELLING

  • 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.

    ..:: Kloxo-MR - hosting and forum ::..

  • 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.

    VPSCheaper.com - Cheapest Premium VPS begin from $1.59 - STOP SELLING

Sign In or Register to comment.