[5.800] Swap Usage

Uh...Is it a problem when my box starts using swap. I have 512MB of RAM and am using HTTP, DNS, SOCKS and POP3 proxies. Virus and Content filtering turned on. I noticed that it was using only a little of swap when it first started after the installation. However it has steadily grown to 35MB is this normal?

I am only using 350MB of my 512MB of RAM. Why does Astaro use swap at all? It would be better to run from RAM surely?

Just my two cents.
Parents
  • Linux in general will swap out processes that are inactive for a while to free up memory for active processes.  If you start seeing 300 megs of swap or more then you need to add more ram and/or turn off some goodies..[:)]

    Owner:  Emmanuel Technology Consulting

    http://etc-md.com

    Former Sophos SG(Astaro) advocate/researcher/Silver Partner

    PfSense w/Suricata, ntopng, 

    Other addons to follow

  • Thanks William. I will keep an eye out and see. The box has been running since the Beta release. So its stable. I haven't noticed any performance issues.
  • I am using nearly all features of ASL (for home use). System has 256MB of RAM and 666 MHZ CPU. It swaps more than 100MB at peaks, but it's still running fine. So don't worry. A litte bit of swap usage is normal.

    Xeno
  • Ok my swap usage has grown to 213MB. All I am using is HTTP Proxy with surf control, virus protection and spyware protection. POP3 Proxy with virus and spam protection. DNS Proxy, SOCKS Proxy and IPS with anomaly protection turned on. I am using around 380MB or my 512MB RAM. Is this normal? Also had to restart my POP3 Proxy as it was not letting my clients connect to their mail servers.
  • [ QUOTE ]
    Ok my swap usage has grown to 213MB. All I am using is HTTP Proxy with surf control, virus protection and spyware protection. POP3 Proxy with virus and spam protection. DNS Proxy, SOCKS Proxy and IPS with anomaly protection turned on. I am using around 380MB or my 512MB RAM. Is this normal? Also had to restart my POP3 Proxy as it was not letting my clients connect to their mail servers. 

    [/ QUOTE ]
    right now I wouldlet it ride.  Remember the 512 specification is the minimum for v6 and the beta is a beta.  I am willing to bet squid is chewing up ram, like it does with its default settings).  I am willing to bet you can greatly reduce RAM usage by installing my squid tweaks that i have posted a few times. Squid in its default configuration will grab ram for its file cache first and then disk second.  My tweaks switch it to disk first and ram hardly at all.   If you want to test the system's stability login via ssh..switch to root and type swapoff -a .  This will turn off swap completly.  This may lead to instabilility though.  Try my squid tweaks first..[:)]

    Owner:  Emmanuel Technology Consulting

    http://etc-md.com

    Former Sophos SG(Astaro) advocate/researcher/Silver Partner

    PfSense w/Suricata, ntopng, 

    Other addons to follow

Reply
  • [ QUOTE ]
    Ok my swap usage has grown to 213MB. All I am using is HTTP Proxy with surf control, virus protection and spyware protection. POP3 Proxy with virus and spam protection. DNS Proxy, SOCKS Proxy and IPS with anomaly protection turned on. I am using around 380MB or my 512MB RAM. Is this normal? Also had to restart my POP3 Proxy as it was not letting my clients connect to their mail servers. 

    [/ QUOTE ]
    right now I wouldlet it ride.  Remember the 512 specification is the minimum for v6 and the beta is a beta.  I am willing to bet squid is chewing up ram, like it does with its default settings).  I am willing to bet you can greatly reduce RAM usage by installing my squid tweaks that i have posted a few times. Squid in its default configuration will grab ram for its file cache first and then disk second.  My tweaks switch it to disk first and ram hardly at all.   If you want to test the system's stability login via ssh..switch to root and type swapoff -a .  This will turn off swap completly.  This may lead to instabilility though.  Try my squid tweaks first..[:)]

    Owner:  Emmanuel Technology Consulting

    http://etc-md.com

    Former Sophos SG(Astaro) advocate/researcher/Silver Partner

    PfSense w/Suricata, ntopng, 

    Other addons to follow

Children
No Data