Apache 2.2.9 - Prevent Overloads and Limiting number of connections

Discussion in 'Apache' started by evildude, Jul 4, 2010.

  1. #1
    Hello!

    I was wondering if someone can shed some light.

    I want to limit the max numbers of connection an IP can establish to just 30.

    How can i do that...?

    Debian Lenny, apache 2.29

    Now the problem i face 3 times a month is.

    I have a 100Mbit line, and I stream UFC/TNA/WWE PPVs. just before the PPV starts i get hit by a wave of 1000+ users, along with ~100 already accessing my Flash Media Server that causes a bottleneck.

    So I'm upgrading to 1Gbit, but would also appreciate some advice on this how to control it and prevent a accidental DDoS situation.

    Thanks!


    EG
     
    evildude, Jul 4, 2010 IP