Results 1 to 6 of 6

Hybrid View

  1. #1

    Arrow How many Connection per IP

    I am on a VPS server and want to know in high traffic conditions how many connections per IP address can come... because on my site connections per IP going to 300 and mostly around 100.

    But these are fluctuating and from different locations... everytime.. so dont think as a Dos but so many connections per IP makes my server down for few minutes until connections dont go down.

    Please tell me how many maximum connections per IP will be fine... for a little popular site.

  2. #2
    Join Date
    May 2006
    Posts
    1,426
    you shouldnt have that many connections, maybe 30 at the most per user and that is still high. Make sure KeepAlive is on in httpd.conf. I know I had seeen a friends server once where he had this off and it would let connections build up

  3. #3
    what's the benefit of "KeepAlive on in httpd.conf"

  4. #4

    *

    please also tell me where i can set a maximum number of connections per IP on a apache server because server people saying there is no such thing. You have to install a anti-ddos script then you can setup and more connections from any IP will be block.

    Please guide.

  5. #5
    Join Date
    May 2006
    Posts
    1,426
    these two settings
    http://httpd.apache.org/docs/1.3/mod...html#keepalive

    Also you can try that mod_limipconn to try and limit connections, I just tied it on apache2 didnt work for me, You can use dos deflate and mod_evasive to help control maasive and aggresive connections

  6. #6
    i used the mod_evasive but that blocks the IP's of the genuine visitors too, in that i also added several times because dont have static IP.


    Please tell me i heared "Bind sshd to only 1 ip, and make it a different ip then your main site, and on a different high level port." , is that right thing to do ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •