Results 1 to 5 of 5

Thread: How to find what is slowing server

Hybrid View

  1. #1
    Join Date
    Jun 2005
    Location
    Durban, South Africa
    Beans
    93
    Distro
    Ubuntu 12.04 Precise Pangolin

    How to find what is slowing server

    Hi,

    I have my live virtual server running good, up until earlier today. I cant seem to find what is making it so so slow.

    I currently only have 6mb free, on my 512mb VPS. Is there a way to see what is using memory?

  2. #2
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: How to find what is slowing server

    Quote Originally Posted by Nixforce View Post
    Hi,

    I have my live virtual server running good, up until earlier today. I cant seem to find what is making it so so slow.

    I currently only have 6mb free, on my 512mb VPS. Is there a way to see what is using memory?
    I like to use htop.
    Code:
    sudo apt-get install htop
    When it's running just hit F6 and select MEM% to sort processes by memory use.
    Cheesemill

  3. #3
    Join Date
    Mar 2011
    Beans
    52
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How to find what is slowing server

    don't forget to check your logs too.

    Code:
    tail -f /var/log/messages
    or

    Code:
    tail -f /var/log/syslog

  4. #4
    Join Date
    Aug 2010
    Beans
    4
    Distro
    Ubuntu 9.10 Karmic Koala

    Lightbulb Re: How to find what is slowing server

    Top variants like mtop and htop are a good choice for this. I also sometimes loop 'w' with:
    Code:
    watch -n 1 w
    Another option: If you run 'byobi' as your screen session:
    Code:
    sudo apt-get install byobi
    you get some core metrics built into your screen display.

    Don't forget to check with your hosting provider in case there is any problem on the host server. You can also often request additional burstable RAM for your VPS - some hosts will increase the amount for your VPS, just for the asking.

  5. #5
    Join Date
    Sep 2011
    Location
    Behind you!
    Beans
    1,690
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: How to find what is slowing server

    Without installing anything, you can use "top" to check on processes and memory used by them. The "free" command is used to see how much memory is consumed and available. Make sure you know the difference between used memory and available memory (which may be in use by disk cache but immediately available to apps if needed).

    "htop" is very nice and I recommend it as a basic package for all servers but it is not necessary and in a pinch, just use what came with the OS (top)

    LHammonds

Bookmarks

Posting Permissions

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