how to increase connection limit ?? VPS Server

Discussion in 'Apache' started by hostimizer, Jul 23, 2009.

  1. #1
    hi freinds

    I am New On DigitalPoint comming for Help

    i have a site who have havy traffic

    but some day before i change Server now site on godaddy VDS
    apache Software installed

    server defolte connection limit is 100
    sql server defolte connection limit 100

    but i want to server defolte connection limit 200

    becoz at a time on my site 100+ visitors are online

    please help me in this

    and body have tutorial so please provide or any tips

    Thanks Freinds
     
    hostimizer, Jul 23, 2009 IP
  2. Tropp

    Tropp Well-Known Member

    Messages:
    108
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    110
    #2
    All your editable paramenters are in httpd.conf
    You need to change the max clients value



    Connect via SSH

    nano /usr/local/apache/conf/httpd.conf

    service httpd restart
     
    Tropp, Jul 23, 2009 IP
  3. hostimizer

    hostimizer Well-Known Member

    Messages:
    548
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    150
    #3
    can you please tell me the step by step becoz i dont know the commands on ssh

    i 1 time use VDS
     
    hostimizer, Jul 25, 2009 IP
  4. molten

    molten Member

    Messages:
    75
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #4
    ok first ... get putty (SSH clicnet for windows) ... put your connection params .. and once you login -..

    nano /usr/local/apache/conf/httpd.conf <------type this ...

    if u don't have installed "nano" then u need to install it for example in centos type yum install nano
    or Debian apt-get install nano or aptitude install nano

    once installed .. and if u go to editor ... u can see many params there ...

    go and find connection limit and increase the value ... then u can save the file
    and type

    service httpd restart

    it should work ... but please

    DO IT CAREFULLY!! u can crash your VPS if do anything wrong !


    i suggest you ask for some support , i can do it free this time for you :D PM me if intrested
     
    molten, Jul 26, 2009 IP
  5. Pathan

    Pathan Well-Known Member

    Messages:
    2,196
    Likes Received:
    218
    Best Answers:
    0
    Trophy Points:
    165
    #5
    yep change your limit from /usr/local/apache/conf/httpd.conf but I remember there is one another thing i.e. Server Hard Limit try increasing its value too.
     
    Pathan, Aug 1, 2009 IP
  6. hostimizer

    hostimizer Well-Known Member

    Messages:
    548
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    150
    #6
    any way to increasing Limit via WHF or cPanel ?

    if yes so please tell me steps by steps please ................
     
    hostimizer, Aug 1, 2009 IP
  7. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #7
    Sure can, for the web server only though. Just need to use the "Include Editor" for Apache. In WHM go to:

    Main >> Service Configuration >> Apache Configuration >> Include Editor

    You will want it to be the last thing loaded, so, open up the "Post VirtualHost Include" section for All Versions, and then add in your changes. Save, and restart the server.
     
    RHS-Chris, Aug 1, 2009 IP
  8. hostimizer

    hostimizer Well-Known Member

    Messages:
    548
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    150
    #8
    how can i chick my server connection limit thru WHM ? ? ?
     
    hostimizer, Aug 2, 2009 IP
  9. hostimizer

    hostimizer Well-Known Member

    Messages:
    548
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    150
    #9
    please tell me what is the currant connection limit

    and how can i change it step by step

    this is my server /usr/local/apache/conf/httpd.conf file

    [​IMG]

    please tell me what is the currant connection limit

    and how can i change it step by step

    thanks
     
    hostimizer, Aug 7, 2009 IP
  10. Codex-m

    Codex-m Peon

    Messages:
    36
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Ok, can you download your httpd.conf file using FTP? Download it if you do not know SSH. Then
    1. Edit it using notepad (if you have a php editor , much better)(remember to backup it first).
    2. Find MaxClients
    3. Change it to your desired settings say 200 (currently it is set as 100 , according to your info above), only touch this numerical value, do not ever move or touch other syntax.
    4. Click File and save as : httpd.conf ,remember to set, save as type: "all files"
    5. Then upload it to the same location in your server using FTP.
    6. Then restart your apache server
     
    Codex-m, Aug 7, 2009 IP
  11. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #11
    It sounds like you need to find a someone to manage your server for you. If you need your site online, its worth the little extra cost to have someone making changes that knows what they are doing.
     
    RHS-Chris, Aug 7, 2009 IP
  12. hostimizer

    hostimizer Well-Known Member

    Messages:
    548
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    150
    #12
    i want change my connection limit to 150 please tell me steps

    thanks
     
    hostimizer, Aug 7, 2009 IP
  13. hostimizer

    hostimizer Well-Known Member

    Messages:
    548
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    150
    #13
    friends

    /usr/local/apache/conf/httpd.conf

    this is limit for how much visitors online at a time on site ?

    becoz on my site at 2 pm to 8 pm hi traffic all time 100-130 visitors online on site

    but some visitors said site not open when 100+ visitors online on site

    so i want increase server connection limit becoz i want max 150 visitors online on site at a time

    my server have • 512 MB RAM Guaranteed / (2 GB RAM Bursted)

    please tell me max how much sapport on my server connection lemet ?

    and if i change 150 connection limit this is normal for the serer ?

    my limit is RLimitMEM 1059002026
    RLimitCPU 240
    [​IMG]


    please tell me which value i change for make it 150 connection limit

    Thanks For The Help
     
    hostimizer, Aug 7, 2009 IP
  14. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #14
    Go to the bottom of the file, and type this:

    MaxClients 150

    Then, restart your httpd. A side note, there are many other variables that you should be looking into, do you know whether you compiled with any kind of mpm?
     
    RHS-Chris, Aug 7, 2009 IP
  15. hostimizer

    hostimizer Well-Known Member

    Messages:
    548
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    150
    #15
    just i go bottam and type

    MaxClients 150

    and restart my server is that ok ?

    one more qustion on my server have 512 MB RAM Guaranteed / (2 GB RAM Bursted)

    so its good for 150 clints ?

    if i want more tell me how much is max limit ?

    i have godaddy VDS plane 1
    http://www.godaddy.com/gdshop/hosting/virtual.asp?ci=9013&display=virtual
    + 512 MB RAM Guaranteed / (2 GB RAM Bursted)

    Thanks for help
     
    hostimizer, Aug 7, 2009 IP
  16. hostimizer

    hostimizer Well-Known Member

    Messages:
    548
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    150
    #16
    Thanks for all information
     
    hostimizer, Mar 10, 2010 IP