How many proxies can i host

Discussion in 'Site & Server Administration' started by livewirerules, Mar 7, 2007.

  1. #1
    i bought a dedicated server with a 1gb of ram.I like to know what is the maximum amount of proxies i can host on it
     
    livewirerules, Mar 7, 2007 IP
  2. clixxer

    clixxer Peon

    Messages:
    47
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    0.5 if they are large.
    2 if they are normal sized
    10 if they are small.

    Seriously, it depends on how acive and well maintained they are.
     
    clixxer, Mar 7, 2007 IP
  3. ThreeGuineaWatch

    ThreeGuineaWatch Well-Known Member

    Messages:
    1,489
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    140
    #3
    Other considerations might be:

    - which script are you using?
    - are you running other sites on the box?
    - have you tuned the httpd?
    - do you wish to factor in growth?

    Lots of questions and no real answer. 15 PHP based proxies on one box, pushing 100+ GB per day to 2-3K uniques per day is easily attainable - so many factors involved that it doesn't make much sense to guess at how many you can run on a particular box.
     
    ThreeGuineaWatch, Mar 7, 2007 IP
  4. livewirerules

    livewirerules Active Member

    Messages:
    276
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    58
    #4
    Im using PHProxy

    Im running 3 proxies.2 small ones and a big one about 1000 uniques per day.im

    How do i tune httpd??

    my proxy is using about 5 gb perday
     
    livewirerules, Mar 7, 2007 IP
  5. nnet

    nnet Peon

    Messages:
    347
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #5
    it's all relative to traffic. I've got 50 proxies on one box, and yet I've only got a small number on another. There's no set right or wrong, you just need to work it out as you go...and if you're growing you'll need another box before you know it :)
     
    nnet, Mar 8, 2007 IP
  6. ilxeon

    ilxeon Peon

    Messages:
    336
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    0
    #6
    optimization of server matter alot :)
     
    ilxeon, Mar 8, 2007 IP
  7. ThreeGuineaWatch

    ThreeGuineaWatch Well-Known Member

    Messages:
    1,489
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    140
    #7
    Optimising Apache depends on your server configs, OS, how people use your site, the type of content etc.

    If you are not seeing any performance degradation with your current settings, then you might want to leave them alone. Otherwise, start by reading up a little on it - Google is full of good references on basic Apache performance tuning.
     
    ThreeGuineaWatch, Mar 8, 2007 IP
  8. livewirerules

    livewirerules Active Member

    Messages:
    276
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    58
    #8
    my memory usage is very very high

    Total memory: 1008 MB
    Used memory: 946 MB
    Free memory: 62 MB

    1 minute: 0.45
    5 minutes: 0.35
    15 minutes: 0.34


    only 300 uniques upto now
     
    livewirerules, Mar 8, 2007 IP
  9. nikg

    nikg Well-Known Member

    Messages:
    642
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    120
    #9
    Don't worry to much about the used physical memory, since that is the way linux works.

    You need to worry when you see Swap Memory being used.
     
    nikg, Mar 8, 2007 IP
  10. rllunzmann

    rllunzmann Active Member

    Messages:
    1,796
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    80
    #10
    Its hard to say at this point how many proxies you'll be able to host. Traffic changes all the time for a domain, so keep a close eye out and that will better help you decide.
     
    rllunzmann, Mar 8, 2007 IP
  11. livewirerules

    livewirerules Active Member

    Messages:
    276
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    58
    #11
    What is the Average System Load that should be and what is the limit which make overloaded
     
    livewirerules, Mar 9, 2007 IP
  12. tanfwc

    tanfwc Peon

    Messages:
    579
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #12
    it depends on your server spec...maybe we can then advice you :)

    Have you try to install lighttpd to surf proxy sites?
     
    tanfwc, Mar 9, 2007 IP
  13. rllunzmann

    rllunzmann Active Member

    Messages:
    1,796
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    80
    #13
    can you give us the specs on the CPU? Single or dual processor? also what type?
     
    rllunzmann, Mar 9, 2007 IP
  14. livewirerules

    livewirerules Active Member

    Messages:
    276
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    58
    #14
    Server specs are

    120 GB disk drive
    • 500GB bandwidth
    • 1 GB RAM
    • Celeron® 2.0GHz processor
    • Red Hat Fedora Core 4 OS

    It was the standard httpd installation.... How do i install lighttpd and what are the differences

    Thanks
     
    livewirerules, Mar 9, 2007 IP
  15. rllunzmann

    rllunzmann Active Member

    Messages:
    1,796
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    80
    #15
    Plenty of ram, i would think the celeron will be decent for a while, it should fit your needs for now, be sure to stick with a host that can upgrade you easily with no hassle.
     
    rllunzmann, Mar 13, 2007 IP
  16. stugs

    stugs Peon

    Messages:
    157
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #16
    Your server load isn't the same as processor load. A load of 2 means that there are always 2 processes actively running. If you find that you have a load of 2-5 it's not a huge deal. Once you get beyond that you typically want to look at a more powerful server because processes are probably waiting around to finish.

    In an ideal world your load should be 1-2.

    SSH to your server and run 'top'. It shows in real time the system resources being used in a more familiar way.

    Cpu0 : 8.4%us, 1.2%sy, 0.0%ni, 87.2%id, 2.2%wa, 0.4%hi, 0.6%si, 0.0%st
    Cpu1 : 9.1%us, 1.0%sy, 0.0%ni, 89.4%id, 0.5%wa, 0.0%hi, 0.1%si, 0.0%st

    If you see the # before the us (user process) or wa (io wait) hold at more than 50-60% for 30-60 seconds you probably don't have enough server.
     
    stugs, Mar 14, 2007 IP
  17. livewirerules

    livewirerules Active Member

    Messages:
    276
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    58
    #17
    I have a problem coz my swap memory has been used

    Average System Load
    1 minute: 0.37
    5 minutes: 0.34
    15 minutes: 0.32

    Memory Usage
    Total memory: 1008 MB
    Used memory: 376 MB
    Free memory: 632 MB

    Swap Usage
    Total swap: 1953 MB
    Used swap: 137 MB
    Free swap: 1816 MB

    Is this a problem?? :confused:
     
    livewirerules, Mar 23, 2007 IP
  18. ThreeGuineaWatch

    ThreeGuineaWatch Well-Known Member

    Messages:
    1,489
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    140
    #18
    Do you see this changing when your box gets hit hard? Having some swap space occupied is not a big deal. What is a big deal is if your box is repeatedly reading and writing from swap when the box in is use (because disk access is significantly slower than physical memory access.)

    Some the things you can also try to do are: reduce the memory footprint of Apache by stripping out unused modules etc.; [ii] disabling all unused daemons and other unused memory occupants.
     
    ThreeGuineaWatch, Mar 23, 2007 IP