Too much SWAP memory being used, what can I do?

Discussion in 'Server Operation' started by dealspiggy, Apr 12, 2008.

  1. dealspiggy

    dealspiggy New Member

    first, I ran this free -m command, below is the output:
    It shows 209M SWAP being used, right?

    To see what uses the memory, I ran 'top', below is the output:


    It looks to me that apache uses much of the SWAP memory, I wonder what I can do to reduce the SWAP usage?

    ps:
    my server specs:
    RAM: 256M
    OS: CentOS 5.1
    Webmin + Virtualmin
    Apache
    MySQL 5
    PHP 5.2.5
    Postfix

    This is a test server hosting 4 websites which all have low traffic.
     
    Last edited: Apr 12, 2008
  2. zcworld

    zcworld New Member

    install htop and see whats running
    type in "setup" ( if on an redhat core OS (fedora/centos/redhat)
    to see whats services are running
    google them to find out what they do BEFORE turning them off
    if you dont have local access it
     

Share This Page