Swap 100%

Discussion in 'General' started by skoena, Jul 10, 2010.

  1. skoena

    skoena Member

    Hi,
    What could be wrong if swap is 100%?

    Rudolf
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Do you have munin installed? That could help to find out what's wrong.
     
  3. skoena

    skoena Member

    Hi Falko,
    I have it installed now.
    Can you give me some instructions what to do next?

    Rudolf.
     
  4. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Which applications use all the ram / swap? Check this with "top" command or with "ps aux".
     
  5. skoena

    skoena Member

    With ps aux I get this:

     
  6. skoena

    skoena Member

    How to get the pid's with the most used mem or cpu with top?
     
  7. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

  8. skoena

    skoena Member

    Mmmm I upgraded from Ispconfig 3.2.1 to Ispconfig 3.2.2 and the SWAP decreased from 100% to 24%.
     
  9. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    A ISPConfig update restarts all services, thats moost likely the vreason for the decrease as the memory was not consumed by ispconfig.
     
  10. skoena

    skoena Member

    Till,
    So the cause could be mysql or apache or something like that?
     
  11. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Yes. One of the services that is run on your server and that gets restarted on update. This are apache, mysql, php-fcgi processes, postfix, courier or dovecot, pure-ftpd, amavisd-new, clamav.
     

Share This Page