SSH command more Info Needed

Discussion in 'Site & Server Administration' started by Pathan, Dec 25, 2008.

  1. #1
    Hello,

    Can anybody please tell me what does the below command actually means I mean when we use it? and in which case it help us? and up to what value there is nothing to worry about? Waiting for detailed reply

    -Regards.
     
    Pathan, Dec 25, 2008 IP
  2. boltok

    boltok Active Member

    Messages:
    257
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    78
    #2
    It shows you the current count of connections to your web server. So if you have 10 people accessing your site, it will return "10". This is helpful in identifying the cause in case your site is slow or unresponsive. Too many connections means your server is having trouble serving up requests and you need to tweak the settings or add another server to the mix.
     
    boltok, Dec 25, 2008 IP
  3. Pathan

    Pathan Well-Known Member

    Messages:
    2,196
    Likes Received:
    218
    Best Answers:
    0
    Trophy Points:
    165
    #3
    Well thanks for your response i am getting connections to my website IP about 700-1500. is this normal? and secondly its worth to tell that server load seems to be perfectly OK.
     
    Pathan, Dec 26, 2008 IP
  4. boltok

    boltok Active Member

    Messages:
    257
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    78
    #4
    700-1500 simultaneous connections sounds a bit high, but it all depends on your hardware and how the server is configured.

    The server load average (as shown by the 'w' command) depends on how many CPUs it has. It should remain below this number. So if you have a dual-cpu system, and your load average is 0.32. You are safe. However, if it starts to go near 2.00 or above, you should start to worry.
     
    boltok, Dec 27, 2008 IP
  5. Pathan

    Pathan Well-Known Member

    Messages:
    2,196
    Likes Received:
    218
    Best Answers:
    0
    Trophy Points:
    165
    #5
    No load is always normal and under control the main thing memory usage is also under 30 %, Actually Apache is configured properly thats why its not creating any problems.

    Thanks for your time boltok. (Shukriya)
     
    Pathan, Dec 27, 2008 IP