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

[9.006-5] swap usage results

.
.
Script developed by Anonymous, automation by BAlfson:

How to grab theres stats very easy...Login as root and then copy and paste the following blocks of commands:

wget www.mediasoftusa.com/swapusage
md5sum swapusage

The result should be: 0ed29febd7d70393b43d7a86e92e257c

If that's correct, continue with:
mv swapusage swap-usage.pl
chmod u+x swap-usage.pl
./swap-usage.pl
free -m
uptime
version


#!/usr/bin/perl
use warnings;
use strict;

my $overall = 0;
my %out = ();

opendir(my $dh, '/proc/') || die "Can't open /proc: $!";
my @pids = grep { -d "/proc/".$_ && /^[0-9]+$/} readdir($dh);
closedir($dh);
foreach my $pid (@pids) {
    my $sum = 0;
    next unless -d "/proc/$pid";
    print ".";
    foreach my $swap ( `grep Swap /proc/$pid/smaps 2>/dev/null` ){
        next unless $swap;
        $swap = (split(/\s+/,$swap))[-2];
        $sum += $swap;
        $overall += $swap;
    }

    my $progname = `ps -p $pid  -o comm --no-headers`;
    chomp($progname);
    $sum = t($sum);
    $out{$pid} = [$progname,$sum] unless $sum == 0;
}
$overall = t($overall);
my $total = t(`grep SwapTotal /proc/meminfo`);
print "\nSwapTotal: $total MB\n";
print "SwapUsed:   $overall MB\n";
print "========================================\n";
print "MB\t%\tPID\tprocess\n";
foreach my $pid ( sort{ $out{$b}[1]  $out{$a}[1] } keys(%out) ) {
  print $out{$pid}[1]."\t".p($total,$out{$pid}[1])."\t".$pid."\t".$out{$pid}[0]."\n";
}

sub t {
    my $x = shift;
    $x = (split(/\s+/,$x))[-2] if $x =~ /\s/;
    sprintf("%.1f",$x/1024);
}

sub p {
    my $total = shift;
    my $x = shift;
    return sprintf("%.1f",100*$x/$total);
}


Here's my output:


SwapTotal: 1024.0 MB
SwapUsed:   358.6 MB
========================================
MB      %       PID     process
125.8   12.3    6813    snort_inline
52.3    5.1     5787    afcd
32.0    3.1     7548    snort_inline
23.8    2.3     3513    confd.plx
17.7    1.7     28339   index.plx
16.2    1.6     23224   confd.plx
15.5    1.5     16384   confd.plx
15.4    1.5     5659    screenmgr.plx
13.6    1.3     5711    httpproxy
11.8    1.2     3159    confd.plx
6.6     0.6     4060    mdw.plx
5.9     0.6     4135    selfmonng.plx
5.7     0.6     3286    aua.bin
3.7     0.4     3508    notifier.plx
2.7     0.3     4103    selfmonng.plx
1.8     0.2     3237    sysmond
1.3     0.1     3190    confd-qrunner.p
0.9     0.1     5377    named
0.7     0.1     3090    irqd
0.6     0.1     5724    ctasd
0.6     0.1     5709    ctipd.bin
0.3     0.0     6048    master
0.2     0.0     3550    rrdcached
0.2     0.0     2335    udevd
0.2     0.0     5435    sshd
0.2     0.0     31050   awed
0.2     0.0     1474    udevd
0.2     0.0     31027   awed
0.2     0.0     3054    hald-addon-inpu
0.2     0.0     3070    hald-addon-acpi
0.2     0.0     5719    ctasd
0.2     0.0     1473    udevd
0.1     0.0     2784    dbus-daemon
0.1     0.0     5693    frox
0.1     0.0     1       init
0.1     0.0     8730    smtpd.bin
0.1     0.0     3287    logger
0.1     0.0     5136    ipv6_watchdog
0.1     0.0     4130    mingetty
0.1     0.0     3032    hald
0.1     0.0     4129    mingetty
0.1     0.0     6811    argos
0.1     0.0     3104    lcm-162
0.1     0.0     3118    haveged
0.1     0.0     3579    atd
0.1     0.0     4131    mingetty
0.1     0.0     2768    acpid
0.1     0.0     4133    mingetty
0.1     0.0     4128    mingetty
0.1     0.0     4132    mingetty



 astaro:/tmp # free -m
             total       used       free     shared    buffers     cached
Mem:          7957       7711        246          0        249       4155
-/+ buffers/cache:       3307       4650
Swap:         1023        321        702



 astaro:/tmp # uptime
 15:02pm  up 12 days 12:58,  1 user,  load average: 3.11, 3.46, 3.31



 astaro:/tmp # version

Current software version...: 9.006005
Hardware type..............: 320C
Serial number..............:
Installation image.........: 9.004-33.1
Installation type..........: ssi
Installed pattern version..: 44684
Downloaded pattern version.: 44684
Up2Dates applied...........: 4 (see below)
                             sys-9.004-9.004-33.34.1.tgz (Jan 31 14:19)
                             sys-9.004-9.005-29.15.2.tgz (Feb 13 07:57)
                             sys-9.005-9.005-15.16.1.tgz (Mar  7 02:05)
                             sys-9.005-9.006-15.5.2.tgz (Apr  6 02:01)
Up2Dates available.........: 0
Factory resets.............: 0
Timewarps detected.........: 0


This thread was automatically locked due to age.
  • My  issue is this is a machine with 5 users in four gigs RAM swapping 10 percent.  I understand its minor but the swapping problems begin as minor and blew up into the monster it is now.   I warned about this before Astaro v8.5 came out and was told both in public and private…it’s minor it won't be a problem and it blew up in into exactly what I said it would do.  A properly tuned or with software that isn’t leaking machine with 1.5 gigs out of cache shouldn't be swapping at all there's no reason for it.  my machine here is running 4 gigs of ram and 5 users and swapping 10%.  Frankly this should have been taken out of cache and NOT hit swap at all.  Let’s hope Sophos continues to work on the leaks..[:)]
  • Is this problem fixed in 9.1 ?
  • Is this problem fixed in 9.1 ?


    ...not entirely

    It´s much better, but Swap is still creeping up (see Attachment)

    I did a fresh install two Weeks ago and the System is running with this Config:

    • Firewall is active with 20 rules
    • Intrusion Prevention is active with 7747 of 15806 patterns
    • Web Filtering is active, 350 requests served today
    • Network Visibility is active, 7 Application Control rules active
    • SMTP Proxy is active, 0 emails processed, 0 emails blocked
    • Endpoint Protection is active...
    • Remote Access is active with 0 online users
    • Antivirus is active for protocols HTTP/S, FTP, SMTP
    • Antispam is active for protocols SMTP
    • Antispyware is active


    and the folowing Options and "Tunig" Settings:

    • Endpoint Protection / Web Control (to use the new Sophos Content Servers instead of the cffs??.astaro.com) 
    • http sc_local_db = none (default)
    • vm.swappiness = 60 (default and i may change that to "10")
    • ips num_instances = 2 (default would be "0" = automatic, which confused Snort to use 3 Instances on my 2 Core with HT System)


    And here the "swap-usage" output:
    asg:/root # ./swap-usage.pl
    
    ..............................................................................................................................................................................
    SwapTotal: 1024.0 MB
    SwapUsed:   361.9 MB
    ========================================
    MB      %       PID     process
    81.1    7.9     4980    snort_inline
    64.3    6.3     4994    snort_inline
    36.7    3.6     3790    mdw.plx
    21.8    2.1     4731    screenmgr.plx
    15.6    1.5     3413    confd.plx
    14.2    1.4     5538    httpproxy
    13.7    1.3     9322    confd.plx
    13.6    1.3     28981   confd.plx
    12.6    1.2     3199    confd.plx
    11.5    1.1     28723   confd.plx
    10.7    1.0     4847    smtpd.bin
    9.6     0.9     4817    smtpd.bin
    7.2     0.7     3338    aua.bin
    6.6     0.6     5551    epp_client.plx
    6.3     0.6     3860    selfmonng.plx
    6.1     0.6     5549    eplog.plx
    5.9     0.6     3546    notifier.plx
    5.0     0.5     3840    selfmonng.plx
    2.2     0.2     4276    dns-resolver.pl
    2.0     0.2     3249    sysmond
    1.4     0.1     3230    confd-qrunner.p
    1.3     0.1     5560    afcd
    1.0     0.1     4282    named
    0.8     0.1     5216    ctipd.bin
    0.7     0.1     4879    postgres
    0.7     0.1     3135    irqd
    0.7     0.1     5214    ctasd
    0.6     0.1     4431    postgres
    0.5     0.0     4654    ulogd
    0.4     0.0     3739    postgres
    0.3     0.0     5671    udevd
    0.3     0.0     6094    udevd
    0.3     0.0     2815    syslog-ng
    0.3     0.0     3077    hald
    0.3     0.0     5479    master
    0.3     0.0     2350    udevd
    0.3     0.0     2814    syslog-ng
    0.3     0.0     3571    rrdcached
    0.3     0.0     4658    postgres
    0.2     0.0     4532    openvpn
    0.2     0.0     3740    postgres
    0.2     0.0     4689    frox
    0.2     0.0     5209    cssd
    0.2     0.0     3741    postgres
    0.2     0.0     3737    postgres
    0.2     0.0     3738    postgres
    0.2     0.0     4397    sshd
    0.2     0.0     5212    ctasd
    0.2     0.0     3734    postgres
    0.2     0.0     3099    hald-addon-inpu
    0.2     0.0     3116    hald-addon-acpi
    0.2     0.0     5731    argos
    0.1     0.0     3339    logger
    0.1     0.0     4360    cron
    0.1     0.0     4430    hotspotd
    0.1     0.0     3854    mingetty
    0.1     0.0     3078    hald-runner
    0.1     0.0     3736    postgres
    0.1     0.0     6067    postgres
    0.1     0.0     3855    mingetty
    0.1     0.0     6066    postgres
    0.1     0.0     1544    postgres
    0.1     0.0     3200    logger
    0.1     0.0     2831    acpid
    0.1     0.0     2846    dbus-daemon
    0.1     0.0     3856    mingetty
    0.1     0.0     1       init
    0.1     0.0     8235    postgres
    0.1     0.0     3155    haveged
    0.1     0.0     3853    mingetty
    0.1     0.0     4531    openvpn
    0.1     0.0     3605    atd
    asg:/root # free -m
                 total       used       free     shared    buffers     cached
    Mem:          3950       3819        131          0         54       1902
    -/+ buffers/cache:       1862       2088
    Swap:         1023        307        716
    kay-asg:/root # uptime
     06:45am  up 10 days  9:42,  1 user,  load average: 0.86, 0.69, 0.47
    asg:/root # version

    Current software version...: 9.100016
    Hardware type..............: Software Appliance
    Installation image.........: 9.005-16.1
    Installation type..........: asg
    Installed pattern version..: 45986
    Downloaded pattern version.: 45986
    Up2Dates applied...........: 2 (see below)
                                 sys-9.005-9.006-15.5.2.tgz (May 14 19:46)
                                 sys-9.006-9.100-5.16.1.tgz (May 14 19:54)
    Up2Dates available.........: 0
    Factory resets.............: 0
    Timewarps detected.........: 0

  • secg97:/root # wget www.mediasoftusa.com/swapusage
    --2013-05-25 07:22:37--  www.mediasoftusa.com/swapusage
    Resolving www.mediasoftusa.com... 69.89.20.44
    Connecting to www.mediasoftusa.com|69.89.20.44|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1223 (1.2K) [text/plain]
    Saving to: `swapusage'

    100%[=============================================================================>] 1,223       --.-K/s   in 0s

    2013-05-25 07:22:41 (85.9 MB/s) - `swapusage' saved [1223/1223]

    secg97:/root # mv swapusage swap-usage.pl
    secg97:/root # chmod u+x swap-usage.pl
    secg97:/root # ./swap-usage.pl
    ............................................................................................................................................................
    SwapTotal: 1024.0 MB
    SwapUsed:   416.5 MB
    ========================================
    MB      %       PID     process
    61.7    6.0     26013   snort_inline
    61.3    6.0     26015   snort_inline
    46.4    4.5     3784    mdw.plx
    23.9    2.3     4666    screenmgr.plx
    23.2    2.3     3302    confd.plx
    22.0    2.1     29822   acc-agent.plx
    21.8    2.1     9597    index.plx
    18.3    1.8     4747    smtpd.bin
    17.8    1.7     3172    confd.plx
    17.1    1.7     19144   confd.plx
    16.6    1.6     27109   confd.plx
    14.4    1.4     4708    smtpd.bin
    7.8     0.8     3503    notifier.plx
    7.2     0.7     3264    aua.bin
    7.1     0.7     31152   httpproxy
    6.4     0.6     3876    selfmonng.plx
    5.3     0.5     3828    selfmonng.plx
    4.2     0.4     25895   ipsfb
    2.6     0.3     4254    dns-resolver.pl
    2.4     0.2     3128    haveged
    2.2     0.2     4263    named
    2.0     0.2     3222    sysmond
    1.9     0.2     3203    confd-qrunner.p
    1.6     0.2     4259    snmpd
    1.4     0.1     4544    httpd
    1.4     0.1     4537    httpd
    1.2     0.1     5183    afcd
    1.1     0.1     9407    dhcpd
    0.9     0.1     19089   httpd
    0.9     0.1     4788    postgres
    0.9     0.1     19199   httpd
    0.7     0.1     3100    irqd
    0.6     0.1     6363    winbindd
    0.6     0.1     26401   cssd
    0.6     0.1     4652    winbindd
    0.6     0.1     4584    ulogd
    0.6     0.1     6365    winbindd
    0.5     0.0     4589    postgres
    0.5     0.0     4492    openvpn
    0.5     0.0     5912    pluto
    0.4     0.0     2781    syslog-ng
    0.4     0.0     3726    postgres
    0.4     0.0     4658    winbindd
    0.3     0.0     4493    openvpn
    0.3     0.0     3547    rrdcached
    0.3     0.0     3902    udevd
    0.3     0.0     3728    postgres
    0.3     0.0     5492    master
    0.3     0.0     3724    postgres
    0.3     0.0     2780    syslog-ng
    0.3     0.0     6419    qmgr
    0.3     0.0     2353    udevd
    0.2     0.0     3727    postgres
    0.2     0.0     5903    starter
    0.2     0.0     3065    hald-addon-inpu
    0.2     0.0     26118   tlsmgr
    0.2     0.0     3043    hald
    0.2     0.0     3725    postgres
    0.2     0.0     3721    postgres
    0.2     0.0     3081    hald-addon-acpi
    0.2     0.0     5859    udevd
    0.2     0.0     4372    sshd
    0.2     0.0     3723    postgres
    0.1     0.0     4335    cron
    0.1     0.0     22574   ntpd
    0.1     0.0     2812    dbus-daemon
    0.1     0.0     26415   frox
    0.1     0.0     3895    mingetty
    0.1     0.0     8277    postgres
    0.1     0.0     3892    mingetty
    0.1     0.0     3896    mingetty
    0.1     0.0     10180   postgres
    0.1     0.0     3044    hald-runner
    0.1     0.0     3893    mingetty
    0.1     0.0     3894    mingetty
    0.1     0.0     8276    postgres
    0.1     0.0     2797    acpid
    0.1     0.0     3173    logger
    0.1     0.0     6188    _pluto_adns
    0.1     0.0     3891    mingetty
    0.1     0.0     3663    asg_ha_zeroconf
    0.1     0.0     3114    lcm-162
    0.1     0.0     3581    atd
    0.1     0.0     3265    logger
    secg97:/root # free -m
                 total       used       free     shared    buffers     cached
    Mem:          1974       1655        318          0         11        483
    -/+ buffers/cache:       1161        812
    Swap:         1023        387        636
    secg97:/root # uptime
     07:22am  up 3 days 23:57,  1 user,  load average: 0.48, 0.24, 0.20
    secg97:/root # version

    Current software version...: 9.100016
    Hardware type..............: 220r5
    Serial number..............: A180640B8796F5A
    Installation image.........: 9.005-16.1
    Installation type..........: msi
    Installed pattern version..: 45986
    Downloaded pattern version.: 45986
    Up2Dates applied...........: 2 (see below)
                                 sys-9.005-9.006-15.5.2.tgz (May 15 03:58)
                                 sys-9.006-9.100-5.16.1.tgz (May 15 04:02)
    Up2Dates available.........: 0
    Factory resets.............: 1
    Timewarps detected.........: 4
  • This is my Astaro's output:


    SwapTotal: 1024.0 MB
    SwapUsed:   633.1 MB
    ========================================
    MB      %       PID     process
    213.4   20.8    27314   httpproxy
    30.4    3.0     6885    confd.plx
    28.7    2.8     6997    confd.plx
    28.2    2.8     6860    index.plx
    26.3    2.6     5115    cssd
    25.4    2.5     4683    screenmgr.plx
    25.3    2.5     5319    acc-agent.plx
    23.7    2.3     3325    confd.plx
    20.9    2.0     3563    awed
    18.9    1.8     3185    confd.plx
    18.8    1.8     4429    awed
    18.3    1.8     4750    smtpd.bin
    17.3    1.7     3365    confd.plx
    15.0    1.5     4692    smtpd.bin
    13.7    1.3     2493    confd.plx
    11.5    1.1     3786    mdw.plx
    8.5     0.8     6996    index.plx
    7.9     0.8     3516    notifier.plx
    7.4     0.7     3277    aua.bin
    6.4     0.6     3881    selfmonng.plx
    5.0     0.5     3837    selfmonng.plx
    4.2     0.4     5162    ctasd
    3.8     0.4     23524   vpn-reporter.pl
    3.6     0.4     23526   ips-reporter.pl
    3.5     0.3     23523   pfilter-reporte
    3.3     0.3     23529   waf-reporter.pl
    2.7     0.3     23490   admin-reporter.
    2.7     0.3     23525   mailsec-reporte
    2.7     0.3     4301    dns-resolver.pl
    2.6     0.3     5189    ctipd.bin
    2.4     0.2     4436    named
    2.2     0.2     5320    afcd
    2.1     0.2     3216    confd-qrunner.p
    2.0     0.2     3235    sysmond
    1.6     0.2     6588    snmpd
    1.6     0.2     27134   postgres
    1.4     0.1     4577    httpd
    1.4     0.1     6218    dhcpd
    1.4     0.1     4580    httpd
    1.2     0.1     27163   httpd
    1.1     0.1     3113    irqd
    1.0     0.1     3140    httpd
    0.8     0.1     4625    ulogd
    0.7     0.1     4534    openvpn
    0.7     0.1     4789    postgres
    0.6     0.1     2794    syslog-ng
    0.6     0.1     4630    postgres
    0.5     0.0     3902    udevd
    0.5     0.0     3141    haveged
    0.5     0.0     6121    pluto
    0.5     0.0     23531   postgres
    0.5     0.0     3901    udevd
    0.5     0.0     2353    udevd
    0.4     0.0     3735    postgres
    0.4     0.0     23530   postgres
    0.4     0.0     3560    rrdcached
    0.3     0.0     3056    hald
    0.3     0.0     3732    postgres
    0.3     0.0     3733    postgres
    0.3     0.0     3737    postgres
    0.3     0.0     2793    syslog-ng
    0.3     0.0     3734    postgres
    0.3     0.0     5595    master
    0.3     0.0     6571    qmgr
    0.2     0.0     3078    hald-addon-inpu
    0.2     0.0     3736    postgres
    0.2     0.0     6113    starter
    0.2     0.0     5160    ctasd
    0.2     0.0     2825    dbus-daemon
    0.2     0.0     23528   websec-reporter
    0.2     0.0     3094    hald-addon-acpi
    0.2     0.0     3730    postgres
    0.2     0.0     4671    frox
    0.2     0.0     4408    sshd
    0.2     0.0     3057    hald-runner
    0.1     0.0     3895    mingetty
    0.1     0.0     3896    mingetty
    0.1     0.0     23527   websec-reporter
    0.1     0.0     3422    postgres
    0.1     0.0     3898    mingetty
    0.1     0.0     3899    mingetty
    0.1     0.0     3594    atd
    0.1     0.0     3186    logger
    0.1     0.0     3127    lcm-162
    0.1     0.0     1       init
    0.1     0.0     2596    ntpd
    0.1     0.0     3676    asg_ha_zeroconf
    0.1     0.0     6496    _pluto_adns
    0.1     0.0     3900    mingetty
    0.1     0.0     4372    cron
    0.1     0.0     3278    logger
    0.1     0.0     3897    mingetty
    0.1     0.0     2810    acpid


    Memory:

                 total       used       free     shared    buffers     cached
    Mem:          1974       1679        294          0          4        486
    -/+ buffers/cache:       1188        785
    Swap:         1023        703        320

    Uptime:
     18:36pm  up 16 days 22:16,  1 user,  load average: 0.18, 0.22, 0.20

    Version: 
    Current software version...: 9.105009
    Hardware type..............: 220r5

    Installation image.........: 9.005-16.1
    Installation type..........: ssi
    Installed pattern version..: 50547
    Downloaded pattern version.: 50547
    Up2Dates applied...........: 9 (see below)
                                 sys-9.005-9.006-15.5.2.tgz (Apr 27 11:54)
                                 sys-9.006-9.100-5.14.1.tgz (May 14 08:56)
                                 sys-9.006-9.100-5.8.1.tgz (Apr 27 16:50)
                                 sys-9.100-9.100-8.16.1.tgz (May 14 09:08)
                                 sys-9.100-9.101-16.12.1.tgz (Jun  3 20:08)
                                 sys-9.101-9.102-11.8.2.tgz (Jun 28 17:28)
                                 sys-9.102-9.103-8.5.2.tgz (Jul 16 09:02)
                                 sys-9.103-9.104-5.17.2.tgz (Aug 11 12:03)
                                 sys-9.104-9.105-17.9.1.tgz (Aug 21 20:18)
    Up2Dates available.........: 0
    Factory resets.............: 0
    Timewarps detected.........: 1





    Seems to be the HTTP Proxy, restarted the service on Tuesday and the Astaro has now again high swap usage shown in the graphs.
  • As requested by Balfson in this thread hereby my addition to this thread (text is copied from other post, so no fancy listings from UTM):

    Right now my swap sizes are 25% and 47.9%, so that's about 2% increase in about 17 hours.
    My SUM will start turning yellow when swap is above 45%.
    I'm not sure if this is "Increasingly high swap usage", but with about 2-3% increase every day, this means that I must reboot at least once a month, not a real pain, but in my opinion these devices shouldn't need that many reboots.

    Memory usage is quite steady at 51% of 4 GB RAM (UTM 320 rev.5), so with a little under 2GB RAM left, why is it using swap at all (let alone that it also increases)?


    Just ran top and there is only one process (httpproxy) using 22.3% and all others are under 10% (cssd at 8.2%, postgres at 7% and at 3.3%), all others are under 3% MEM usage. Uptime is now 49 days, but I believe that I rebooted one of the nodes  just 3 weeks ago.
  • Currently running 9.106-17 on 3 UTMs.
    3 UTMs have been up for between 13 and 23 days. Swap on all UTMs is around 11%.
    One UTM has 8gb of ram and is showing 11.6%, it is also the most complex configuration of the 3.
    The other 2 UTMs run 4gb of ram.

    Ian

    The SUM is also using swap about 11% with 2gb of ram.
  • As requested by Balfson in this thread hereby my addition to this thread (text is copied from other post, so no fancy listings from UTM):


    sophos has publicly stated they do not see this kind of swap usage as an issue.  I've proven over and over a properly operating and tuned Linux machine should not swap that much.  Even high ram installations are showing sometimes 25% or higher swapping which is indicative of a serious misconfiguration in their memory management. Sophos doesn't see it as a problem unless "it begins to seriously degrade performance)..of course ignoring the fact that swapping in and of itself is a performance impediment.  Do keep in mind everyone though when yous ee 50% free inside the webadmin that's a misnomer.  The webadmin is NOT showing the amount of ram being used as cache.  If hte kernel isn't tuned correctly the kernel will grab that "free" percentage and hang onto it refusing to allow it to be used for programs caching and uses it as a nearly static file cache.  This can also drive up swap usage.  That's a very simplistic way to explain it and doesn't explain EVERYTHING that's going on..but needless to say there's no reason for a machine with 8 gigs of ram to be swapping above 5% unless something is very wrong with the configuration at the user OR there's a memory management issue.  Most of the time it's B(sophos disagrees with me obviously)...[[:)]]

    Looking at one of my installs(it is the Custom Hardware:  Core I5-3550, 8 gigs ram, 100 users, 5 interfaces(2 WAN), Features in use:  Http/FTP dual scan(50 megs), Content filter, IPS, SSL VPN, WAF(4 domains), SMTP Dual Scan(50 megs), SMTP Anti-spam, Application Control, QOS, Wan Balancing, 10 WAN IPs, HTML5 VPN(one user), QOS on all interfaces, DNS, DHCP, NTP) there's 4 gigs being used..4 gigs in file cache and 17% in swap.  

    One thing that can affect these number is your reporting setting.  The more data the system has to prcess every run means it is going to push more things into cache if the dataset is large.  Some are memory leaks..some are large data processing settings..and some are other things..[[:)]]
  • As requested here are the results from the opening post:

    SwapTotal: 1024.0 MB
    
    SwapUsed:   570.4 MB
    ========================================
    MB      %       PID     process
    37.8    3.7     7882    acc-agent.plx
    28.9    2.8     8150    confd.plx
    23.6    2.3     1266    index.plx
    20.4    2.0     3305    confd.plx
    19.9    1.9     13413   awed
    19.8    1.9     13408   awed
    19.8    1.9     13515   awed
    19.4    1.9     7864    httpproxy
    17.7    1.7     14152   awed
    16.7    1.6     15553   awed
    16.5    1.6     13360   confd.plx
    16.2    1.6     14258   confd.plx
    16.2    1.6     19309   awed
    16.2    1.6     19312   awed
    16.2    1.6     3184    confd.plx
    15.8    1.5     23283   confd.plx
    15.8    1.5     6570    awed
    15.4    1.5     7303    smtpd.bin
    13.5    1.3     7271    smtpd.bin
    13.4    1.3     18989   confd.plx
    11.4    1.1     23866   smtpd.bin
    11.3    1.1     9792    httpd
    10.8    1.1     7602    httpd
    8.9     0.9     5036    mdw.plx
    8.1     0.8     13832   index.plx
    8.1     0.8     9438    red_client.plc
    7.2     0.7     3278    aua.bin
    7.1     0.7     12736   index.plx
    6.3     0.6     5139    selfmonng.plx
    6.1     0.6     5396    confd-sync
    6.1     0.6     8362    red_server.plc
    5.4     0.5     5693    red_client.plc
    5.4     0.5     7976    epp_client.plx
    5.2     0.5     3517    notifier.plx
    5.1     0.5     7970    eplog.plx
    5.1     0.5     5087    selfmonng.plx
    5.0     0.5     7562    red_server.plc
    4.6     0.4     5629    repctl
    4.3     0.4     3112    irqd
    4.1     0.4     8394    red_server.plc
    3.9     0.4     5364    conntrackd
    3.5     0.3     15533   red_server.plc
    3.5     0.3     13822   red_server.plc
    3.4     0.3     19237   red_server.plc
    3.0     0.3     7636    urid
    2.4     0.2     6317    dns-resolver.pl
    2.2     0.2     6597    named
    2.1     0.2     7617    afcd
    1.9     0.2     5522    ha_proxy
    1.9     0.2     5528    ha_proxy
    1.9     0.2     3234    sysmond
    1.8     0.2     3215    confd-qrunner.p
    1.3     0.1     6673    httpd
    1.2     0.1     6670    httpd
    1.1     0.1     7456    ctipd.bin
    1.1     0.1     484     dhcpd
    1.0     0.1     18998   httpd
    1.0     0.1     6961    postgres
    1.0     0.1     14204   httpd
    0.7     0.1     7482    ctasd
    0.6     0.1     6713    ulogd
    0.6     0.1     13855   postgres
    0.5     0.0     7343    postgres
    0.5     0.0     9401    pluto
    0.5     0.0     6589    postgres
    0.5     0.0     25471   postgres
    0.5     0.0     25504   postgres
    0.5     0.0     7426    cssd
    0.4     0.0     9679    openvpn
    0.4     0.0     6213    postgres
    0.4     0.0     6717    postgres
    0.4     0.0     27245   postgres
    0.4     0.0     3561    rrdcached
    0.4     0.0     8780    syslog-ng
    0.4     0.0     2344    udevd
    0.3     0.0     12737   postgres
    0.3     0.0     31475   udevd
    0.3     0.0     8028    master
    0.3     0.0     22358   udevd
    0.3     0.0     6588    hotspotd
    0.3     0.0     15518   waf-reporter.pl
    0.3     0.0     8224    argos
    0.3     0.0     8779    syslog-ng
    0.3     0.0     6272    rsync
    0.3     0.0     8030    qmgr
    0.2     0.0     15513   vpn-reporter.pl
    0.2     0.0     6777    dhclient
    0.2     0.0     6211    postgres
    0.2     0.0     3055    hald
    0.2     0.0     3077    hald-addon-inpu
    0.2     0.0     8216    service_monitor
    0.2     0.0     7477    ctasd
    0.2     0.0     15512   pfilter-reporte
    0.2     0.0     6214    postgres
    0.2     0.0     6212    postgres
    0.2     0.0     5698    postgres
    0.2     0.0     6549    sshd
    0.2     0.0     6215    postgres
    0.2     0.0     3093    hald-addon-acpi
    0.2     0.0     6210    postgres
    0.2     0.0     6108    DHCPC.sh
    0.1     0.0     15516   websec-reporter
    0.1     0.0     3056    hald-runner
    0.1     0.0     15530   postgres
    0.1     0.0     3595    atd
    0.1     0.0     9714    logger
    0.1     0.0     23871   postgres
    0.1     0.0     3185    logger
    0.1     0.0     9379    starter
    0.1     0.0     5206    mingetty
    0.1     0.0     5211    mingetty
    0.1     0.0     6492    cron
    0.1     0.0     6959    frox
    0.1     0.0     9650    _pluto_adns
    0.1     0.0     9710    logger
    0.1     0.0     2809    acpid
    0.1     0.0     1540    postgres
    0.1     0.0     15531   postgres
    0.1     0.0     23887   postgres
    0.1     0.0     5208    mingetty
    0.1     0.0     2824    dbus-daemon
    0.1     0.0     5209    mingetty
    0.1     0.0     3126    lcm-162
    0.1     0.0     3279    logger
    0.1     0.0     23870   postgres
    0.1     0.0     23868   postgres
    0.1     0.0     5207    mingetty
    0.1     0.0     3140    haveged
    0.1     0.0     9708    logger
    0.1     0.0     5210    mingetty
    0.1     0.0     15515   ips-reporter.pl
    0.1     0.0     19980   postgres
    0.1     0.0     12950   ntpd


     utm:/root # free -m
    
                 total       used       free     shared    buffers     cached
    Mem:          3925       3797        128          0        139       1944
    -/+ buffers/cache:       1714       2211
    Swap:         1023        365        658


     utm:/root # uptime
    
     14:44pm  up 7 days  2:45,  1 user,  load average: 0.39, 0.48, 0.62
     utm:/root # version

    Current software version...: 9.105009
    Hardware type..............: 320r5
    Serial number..............: A1905DE41935A10
    Installation image.........: 9.004-34.1
    Installation type..........: msi
    Installed pattern version..: 52880
    Downloaded pattern version.: 52880
    Up2Dates applied...........: 9 (see below)
                                 sys-9.004-9.005-29.15.3.tgz (Apr 23  2013)
                                 sys-9.005-9.005-15.16.1.tgz (Apr 23  2013)
                                 sys-9.005-9.006-15.5.2.tgz (Apr 23  2013)
                                 sys-9.006-9.100-5.16.1.tgz (Aug 13 00:50)
                                 sys-9.100-9.101-16.12.1.tgz (Aug 13 00:50)
                                 sys-9.101-9.102-11.8.2.tgz (Aug 13 00:51)
                                 sys-9.102-9.103-8.5.2.tgz (Aug 13 00:52)
                                 sys-9.103-9.104-5.17.2.tgz (Aug 13 00:53)
                                 sys-9.104-9.105-17.9.1.tgz (Sep  6 08:55)
    Up2Dates available.........: 1
    Factory resets.............: 0
    Timewarps detected.........: 0


    Also the graph from reporting over the last month. You can see two reboots where swap started at 0. The last reboot is only a week ago.....
  • SwapTotal: 1024.0 MB
    SwapUsed:   1265.3 MB
    ========================================
    MB      %       PID     process
    146.2   14.3    11243   confd-sync
    143.6   14.0    24842   confd.plx
    138.6   13.5    11800   acc-agent.plx
    110.7   10.8    4024    confd.plx
    48.2    4.7     23800   confd.plx
    48.1    4.7     13058   confd.plx
    47.6    4.6     3571    confd.plx
    47.6    4.6     19382   confd.plx
    41.5    4.1     9567    confd.plx
    33.1    3.2     26262   httpproxy
    27.3    2.7     7520    cssd
    24.2    2.4     21529   repctl
    22.6    2.2     6921    screenmgr.plx
    21.3    2.1     6859    index.plx
    20.0    2.0     5311    mdw.plx
    18.9    1.8     14589   awed
    18.9    1.8     14828   awed
    18.9    1.8     13967   awed
    18.9    1.8     12142   awed
    18.9    1.8     14022   awed
    18.9    1.8     13427   awed
    15.9    1.6     3644    confd.plx
    14.8    1.4     11456   awed
    13.3    1.3     7638    httpd
    13.2    1.3     19316   httpd
    13.2    1.3     19503   httpd
    12.9    1.3     18458   httpd
    12.7    1.2     10845   smtpd.bin
    12.5    1.2     10792   smtpd.bin
    12.3    1.2     29223   httpd
    8.1     0.8     10906   index.plx
    6.3     0.6     5365    selfmonng.plx
    6.0     0.6     3736    aua.bin
    5.9     0.6     3990    notifier.plx
    5.3     0.5     11669   epp_client.plx
    5.2     0.5     5359    selfmonng.plx
    5.1     0.5     3572    irqd
    5.1     0.5     18547   red_server.plc
    4.9     0.5     5626    conntrackd
    4.6     0.4     27648   eplog.plx
    3.9     0.4     18471   red_server.plc
    3.9     0.4     18561   red_server.plc
    3.3     0.3     10278   red_server.plc
    3.0     0.3     21526   repctl
    2.7     0.3     27907   urid
    2.3     0.2     11412   dns-resolver.pl
    2.1     0.2     26443   afcd
    2.1     0.2     6400    named
    1.9     0.2     10877   ha_proxy
    1.9     0.2     10879   ha_proxy
    1.7     0.2     3694    sysmond
    1.5     0.1     3675    confd-qrunner.p
    1.5     0.1     6448    snmpd
    1.1     0.1     9998    httpd
    1.1     0.1     10029   httpd
    1.0     0.1     21592   postgres
    1.0     0.1     21124   httpd
    1.0     0.1     22174   dhcpd
    0.9     0.1     13969   httpd
    0.7     0.1     11548   ulogd
    0.7     0.1     7594    ctipd.bin
    0.6     0.1     21530   postgres
    0.6     0.1     11627   winbindd
    0.6     0.1     11475   postgres
    0.5     0.0     10974   postgres
    0.5     0.0     7719    udevd
    0.5     0.0     11637   winbindd
    0.5     0.0     11816   winbindd
    0.5     0.0     2634    udevd
    0.5     0.0     11815   winbindd
    0.5     0.0     10907   postgres
    0.5     0.0     23927   postgres
    0.5     0.0     6132    udevd
    0.4     0.0     24047   postgres
    0.4     0.0     5045    postgres
    0.4     0.0     11551   postgres
    0.3     0.0     4094    rrdcached
    0.3     0.0     8109    master
    0.3     0.0     11691   qmgr
    0.3     0.0     21534   rsync
    0.3     0.0     2946    openvpn
    0.3     0.0     14823   syslog-ng
    0.3     0.0     14822   syslog-ng
    0.3     0.0     6864    postgres
    0.2     0.0     3514    hald
    0.2     0.0     6702    sshd
    0.2     0.0     5044    postgres
    0.2     0.0     3553    hald-addon-acpi
    0.2     0.0     11474   hotspotd
    0.2     0.0     7080    frox
    0.2     0.0     8134    argos
    0.2     0.0     3543    hald-addon-stor
    0.2     0.0     5047    postgres
    0.2     0.0     3536    hald-addon-inpu
    0.2     0.0     3515    hald-runner
    0.2     0.0     5046    postgres
    0.2     0.0     5042    postgres
    0.2     0.0     5040    postgres
    0.1     0.0     5375    mingetty
    0.1     0.0     14824   postgres
    0.1     0.0     3600    haveged
    0.1     0.0     5379    mingetty
    0.1     0.0     19429   postgres
    0.1     0.0     24793   ntpd
    0.1     0.0     19925   postgres
    0.1     0.0     14821   postgres
    0.1     0.0     5378    mingetty
    0.1     0.0     8982    starter
    0.1     0.0     18333   postgres
    0.1     0.0     3586    lcm-162
    0.1     0.0     3268    acpid
    0.1     0.0     4128    atd
    0.1     0.0     3283    dbus-daemon
    0.1     0.0     3737    logger
    0.1     0.0     5043    postgres
    0.1     0.0     29366   postgres
    0.1     0.0     5376    mingetty
    0.1     0.0     5377    mingetty


                 total       used       free     shared    buffers     cached
    Mem:          7992       7232        760          0        249       3503
    -/+ buffers/cache:       3479       4512
    Swap:         1023        797        226


     ******:/root # uptime
     16:26pm  up 13 days 19:17,  1 user,  load average: 1.30, 1.21, 1.03


    Current software version...: 9.106017
    Hardware type..............: 625A
    Serial number..............: **************
    Installation image.........: 9.000-8.1
    Installation type..........: ssi
    Installed pattern version..: 54300
    Downloaded pattern version.: 54300
    Up2Dates applied...........: 17 (see below)
                                 sys-9.000-9.001-8.18.1.tgz (Oct 12  2012)
                                 sys-9.001-9.002-18.12.1.tgz (Oct 12  2012)
                                 sys-9.002-9.003-12.15.1.tgz (Oct 12  2012)
                                 sys-9.003-9.003-15.16.4.tgz (Jan 21  2013)
                                 sys-9.003-9.004-15.33.1.tgz (Jan 21  2013)
                                 sys-9.004-9.004-33.34.1.tgz (Mar 19  2013)
                                 sys-9.004-9.005-29.15.2.tgz (Mar 19  2013)
                                 sys-9.005-9.005-15.16.1.tgz (Mar 19  2013)
                                 sys-9.005-9.006-15.5.2.tgz (Apr 19  2013)
                                 sys-9.006-9.007-5.5.1.tgz (Nov 19 20:27)
                                 sys-9.007-9.100-4.16.1.tgz (Nov 19 21:00)
                                 sys-9.100-9.101-16.12.1.tgz (Nov 19 21:01)
                                 sys-9.101-9.102-11.8.2.tgz (Nov 19 21:01)
                                 sys-9.102-9.103-8.5.2.tgz (Nov 19 21:03)
                                 sys-9.103-9.104-5.17.2.tgz (Nov 19 21:04)
                                 sys-9.104-9.105-17.9.1.tgz (Nov 19 21:05)
                                 sys-9.105-9.106-9.17.1.tgz (Nov 19 21:06)
    Up2Dates available.........: 0
    Factory resets.............: 0
    Timewarps detected.........: 0


    if i enable IPS swapping is @ 100% within "some hours"
    swap-usage.JPG
    - update to latest on 19.11.
    - disabling of IPS on 27.11.

    without any comment
    i will open a case @ sophos ...