Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

memory swap high

I have an ASG120 with 1G of memory.  Over the past few weeks our memory swapping has been very high compared to previous weeks.  Internet connectivity is also slowed pretty drastically.  See the following from the dashboard - "The memory usage of this system during the last 7 days was high. The memory either averaged over 75% utilization or experienced multiple periods of full memory use. High memory usage can cause hard disk swapping which reduces throughput and increases latency of several applications."
I am not well versed in this product but if someone can point me in a direction to look for problems (in plainspeak), I would greatly appreciate it.


This thread was automatically locked due to age.
  • Hi,

    You didn't say what firmware version you're running... if it's UTM version 9.x, there's been lots of reports of very high memory usage. Restarting the http proxy regularly seems to help some users.

    If you're not running v9, please post the Process List from WebAdmin -> Support, when the memory usage is high.

    Barry
  • Sorry - version 8.308
    root     15280  5.4  2.1  51452 22092 ?        S    15:08   0:09      \_ confd [worker[:P]rpc:webadmin]
    root     15382 33.3  0.0   2616   940 ?        R    15:11   0:00      |   \_ ps auxwf
    root     15367  0.8  0.0      0     0 ?        Z    15:10   0:00      \_ [confd.plx] 
    root      4928  0.0  0.2   7632  2380 ?        S     2012  31:54 /usr/local/bin/sysmond
    root      5024  0.0  0.3  15424  3816 ?        S     2012   0:01 /var/aua/aua.bin
    root     15281  0.1  0.0      0     0 ?        Z    15:08   0:00  \_ [aua.bin] 
    root      5193  0.0  0.0  13996   944 ?        S     2012   0:07 /usr/local/bin/notifier.plx -d
    at        5202  0.0  0.0   2236    60 ?        Ss    2012   0:00 /usr/sbin/atd
    root      5285  0.0  0.0   2116    44 ?        Ss    2012   0:00 /usr/local/bin/asg_ha_zeroconf
    postgres  5328  0.0  0.0  46780   652 ?        S     2012   3:02 /usr/bin/postgres -D /var/storage/pgsql/data
    postgres  5340  0.0  1.3  46780 13720 ?        Ss    2012  14:22  \_ postgres: writer process                    
    postgres  5341  0.0  0.0  46780   328 ?        Ss    2012  12:19  \_ postgres: wal writer process                
    postgres  5342  0.0  0.0  47076   616 ?        Ss    2012   5:40  \_ postgres: autovacuum launcher process       
    postgres  5343  0.0  0.0   7228   404 ?        Ss    2012  11:11  \_ postgres: stats collector process           
    postgres  6091  0.2  0.7  49592  7548 ?        Ss    2012 125:51  \_ postgres: reporting reporting [local] idle  
    postgres  6751  0.0  0.0  49192  1016 ?        Ss    2012   0:02  \_ postgres: postgres smtp 127.0.0.1(41258) idle
    postgres 11209  0.3  0.2  49260  2980 ?        Ss   00:21   3:29  \_ postgres: postgres smtp 127.0.0.1(47109) idle
    root      5396  0.0  1.2  71528 12404 ?        S     2012   3:01 /var/mdw/mdw.plx
    root      5452  0.0  0.0   1796   236 ?        S     2012   0:00  \_ logger -p daemon.debug -t middleware[5396]
    root      5428  1.2  0.2  11388  2988 ?        S     2012 655:43 /usr/local/bin/selfmonng.plx
    root      5454  0.0  0.0  11132   700 ?        S     2012   0:19  \_ [timewarp check]
    root      5439  0.0  0.0   1792   280 ?        Ss    2012  17:12 /usr/local/bin/daemon-watcher selfmonng.plx /usr/local/bin/selfmonn
    root      5440  0.0  0.0   2320    44 tty1     Ss+   2012   0:00 /sbin/mingetty --noclear --no-hostname tty1
    root      5441  0.0  0.0   2320    44 tty2     Ss+   2012   0:00 /sbin/mingetty --no-hostname tty2
    root      5442  0.0  0.0   2320    44 tty3     Ss+   2012   0:00 /sbin/mingetty --no-hostname tty3
    root      5443  0.0  0.0   2320    44 tty4     Ss+   2012   0:00 /sbin/mingetty --no-hostname tty4
    root      5444  0.0  0.0   2040    44 ttyS0    Ss+   2012   0:00 /sbin/mingetty ttyS0
    root      5451  0.1  0.1   4556  1304 ?        S
  • Which size is your reporting-db?
    du -h /var/log/reporting/pgsql/


    I´m experiencing the same issue.
    Support checked the box and stopped some crontabs because the maintenance task (e.g. autovacuum) can´t run successful because of  interruptions from other tasks. [8-)]
    Second step was to drill down the reporting settings to 1 month and the web security reporting detail level to '1 level of URL'

    Maybe my system is running fine tomorrow and I can post some more hints...
  • Hi, Snort and the HTTP Proxy appear to be using the most memory...

    1. make sure you've tuned the IPS ruleset and disabled groups that are not relevant to your network.

    2. disable and re-enable the http proxy and see if that makes any difference (probably will only be temporary)

    Barry
  • I have an ASG120 with 1G of memory.  Over the past few weeks our memory swapping has been very high compared to previous weeks.  Internet connectivity is also slowed pretty drastically.  See the following from the dashboard - "The memory usage of this system during the last 7 days was high. The memory either averaged over 75% utilization or experienced multiple periods of full memory use. High memory usage can cause hard disk swapping which reduces throughput and increases latency of several applications."
    I am not well versed in this product but if someone can point me in a direction to look for problems (in plainspeak), I would greatly appreciate it.


    v8 or higher will not run well in 1 gig..anything below v9 will kinda run in 2 gigs..v9 really needs 4 at a very minimum.