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.
  • MB      %       PID     process
    60.2    5.9     4540    afcd
    42.5    4.2     3524    mdw.plx
    22.7    2.2     10302   index.plx
    22.4    2.2     4330    screenmgr.plx
    17.8    1.7     3073    confd.plx
    15.2    1.5     4661    smtpd.bin
    14.6    1.4     4512    confd.plx
    14.5    1.4     4425    smtpd.bin
    12.7    1.2     2931    confd.plx
    6.1     0.6     3290    notifier.plx
    5.8     0.6     3589    selfmonng.plx
    4.5     0.4     3061    aua.bin
    4.1     0.4     3569    selfmonng.plx
    2.1     0.2     3001    sysmond
    1.9     0.2     4068    named
    1.9     0.2     4652    ddclient
    1.7     0.2     2962    confd-qrunner.p
    1.4     0.1     3907    dns-resolver.pl
    1.4     0.1     5403    dhcpd
    0.8     0.1     2906    haveged
    0.7     0.1     4105    httpd
    0.7     0.1     4109    httpd
    0.6     0.1     6090    httpd
    0.6     0.1     2550    syslog-ng
    0.6     0.1     6091    httpd
    0.5     0.0     4168    postgres
    0.5     0.0     5064    pluto
    0.4     0.0     5261    udevd
    0.3     0.0     2811    hald
    0.3     0.0     4582    master
    0.3     0.0     3462    postgres
    0.3     0.0     3465    postgres
    0.3     0.0     3467    postgres
    0.3     0.0     4853    postgres
    0.3     0.0     3466    postgres
    0.3     0.0     5211    openvpn
    0.3     0.0     2148    udevd
    0.3     0.0     4584    qmgr
    0.3     0.0     4230    httpproxy
    0.2     0.0     4166    ulogd
    0.2     0.0     4028    sockd
    0.2     0.0     2812    hald-runner
    0.2     0.0     2870    irqd
    0.2     0.0     4027    sockd
    0.2     0.0     2849    hald-addon-stor
    0.2     0.0     2706    postgres
    0.2     0.0     4347    udevd
    0.2     0.0     4024    sockd
    0.2     0.0     4023    sockd
    0.2     0.0     2851    hald-addon-acpi
    0.2     0.0     2549    syslog-ng
    0.2     0.0     4026    sockd
    0.2     0.0     5479    postgres
    0.2     0.0     4292    dhclient
    0.2     0.0     2833    hald-addon-inpu
    0.2     0.0     3959    sshd
    0.2     0.0     3464    postgres
    0.2     0.0     2588    dbus-daemon
    0.2     0.0     3321    rrdcached
    0.2     0.0     4019    sockd
    0.2     0.0     3812    DHCPC.sh
    0.1     0.0     3583    mingetty
    0.1     0.0     3582    mingetty
    0.1     0.0     3584    mingetty
    0.1     0.0     2573    acpid
    0.1     0.0     3585    mingetty
    0.1     0.0     2932    logger
    0.1     0.0     4022    sockd
    0.1     0.0     5062    starter
    0.1     0.0     5401    _pluto_adns
    0.1     0.0     2948    confd-queuer
    0.1     0.0     3341    atd
    0.1     0.0     4273    frox
    0.1     0.0     3062    logger
  • total       used       free     shared    buffers     cached
    Mem:          3014       2714        300          0          3        904
    -/+ buffers/cache:       1806       1208
    Swap:         1023        219        804
  • 18:55pm  up 2 days  4:30,  1 user,  load average: 0.59, 1.61, 1.25

    Current software version...: 9.006005
    Hardware type..............: Software Appliance
    Installation image.........: 9.000-8.1
    Installation type..........: asg
    Installed pattern version..: 44768
    Downloaded pattern version.: 44768
    Up2Dates applied...........: 9 (see below)
                                 sys-9.000-9.001-8.18.1.tgz (Nov 14 19:39)
                                 sys-9.001-9.002-18.12.1.tgz (Nov 14 19:40)
                                 sys-9.002-9.003-12.15.1.tgz (Nov 14 19:41)
                                 sys-9.003-9.003-15.16.4.tgz (Nov 14 19:42)
                                 sys-9.003-9.004-15.33.1.tgz (Nov 14 19:43)
                                 sys-9.004-9.004-33.34.1.tgz (Dec 20 17:14)
                                 sys-9.004-9.005-29.15.2.tgz (Feb 12 13:08)
                                 sys-9.005-9.005-15.16.1.tgz (Mar 17 03:00)
                                 sys-9.005-9.006-15.5.2.tgz (Apr  7 05:01)
    Up2Dates available.........: 0
    Factory resets.............: 0
    Timewarps detected.........: 0
  • swap just started..I do have mem http database going with 1 ips and 5 users here with 3 gigs of ram
  • USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
    root         2  0.0  0.0      0     0 ?        S    Apr18   0:00 [kthreadd]
    root         3  0.0  0.0      0     0 ?        S    Apr18   0:02  \_ [ksoftirqd/0]
    root         5  0.0  0.0      0     0 ?        S    Apr18   0:00  \_ [kworker/u:0]
    root         6  0.0  0.0      0     0 ?        S    Apr18   0:00  \_ [migration/0]
    root         7  0.0  0.0      0     0 ?        S    Apr18   0:00  \_ [migration/1]
    root         9  0.0  0.0      0     0 ?        S    Apr18   0:01  \_ [ksoftirqd/1]
    root        11  0.0  0.0      0     0 ?        S
    root      3290  0.0  0.1  13864  3908 ?        S    Apr18   0:00 /usr/local/bin/notifier.plx -d
    rrdcache  3321  0.0  0.0 116836  1056 ?        Ssl  Apr18   1:39 /usr/bin/rrdcached -l unix:/var/run/rrdcached/socket -m 777 -b /var
    at        3341  0.0  0.0   2344   276 ?        Ss   Apr18   0:00 /usr/sbin/atd
    postgres  3462  0.0  0.1  46832  4996 ?        S    Apr18   0:22 /usr/pgsql84/bin/postgres -D /var/storage/pgsql/data
    postgres  3464  0.0  1.1  46832 34488 ?        Ss   Apr18   0:39  \_ postgres: writer process                            
    postgres  3465  0.0  0.0  46832  1004 ?        Ss   Apr18   0:37  \_ postgres: wal writer process                        
    postgres  3466  0.0  0.0  47104  1328 ?        Ss   Apr18   0:24  \_ postgres: autovacuum launcher process               
    postgres  3467  0.0  0.0   7432  1088 ?        Ss   Apr18   0:21  \_ postgres: stats collector process                   
    postgres  4168  0.0  1.1  49700 36664 ?        Ss   Apr18   1:38  \_ postgres: reporting reporting [local] idle          
    postgres  4853  0.0  0.6  49676 21328 ?        Ss   Apr18   0:04  \_ postgres: postgres smtp 127.0.0.1(38023) idle       
    postgres  5479  0.1  0.3  49312 12172 ?        Ss   01:15   1:21  \_ postgres: postgres smtp 127.0.0.1(50514) idle       
    root      3524  0.0  0.9  77440 30228 ?        S    Apr18   0:08 /var/mdw/mdw.plx
    root      3573  0.0  0.0   1892   484 ?        S    Apr18   0:00  \_ logger -p daemon.debug -t middleware[3524]
    root      3812  0.0  0.0   2944    40 ?        Ss   Apr18   0:00  \_ /bin/bash /bin/DHCPC.sh eth1
    root      4292  0.0  0.0   2608   216 ?        S    Apr18   0:00      \_ /usr/sbin/dhclient -d -cf /etc/eth1.conf -lf /var/db/eth1.l
    root      3569  0.6  0.1  11544  5192 ?        S    Apr18  19:39 /usr/local/bin/selfmonng.plx
    root      3589  0.0  0.0  11184  1844 ?        S    Apr18   0:00  \_ [timewarp check]
    root      3581  0.0  0.0   1888   500 ?        Ss   Apr18   0:18 /usr/local/bin/daemon-watcher selfmonng.plx /usr/local/bin/selfmonn
    root      3582  0.0  0.0   2416   632 tty1     Ss+  Apr18   0:00 /sbin/mingetty --noclear --no-hostname tty1
    root      3583  0.0  0.0   2416   632 tty2     Ss+  Apr18   0:00 /sbin/mingetty --no-hostname tty2
    root      3584  0.0  0.0   2416   628 tty3     Ss+  Apr18   0:00 /sbin/mingetty --no-hostname tty3
    root      3585  0.0  0.0   2416   628 tty4     Ss+  Apr18   0:00 /sbin/mingetty --no-hostname tty4
    root      3907  0.0  0.1   9324  5552 ?        Ss   Apr18   0:32 dns-resolver.plx
    root      3942  0.0  0.0   2364   784 ?        Ss   Apr18   0:00 /usr/sbin/cron
    root      3959  0.0  0.0   4820   776 ?        Ss   Apr18   0:00 /usr/sbin/sshd -f /etc/ssh/sshd_config
    root      3025  0.0  0.0   7408  1408 ?        Ss   14:15   0:00  \_ sshd: loginuser [priv]                   
    100       3054  0.1  0.0   7544  1156 ?        S    14:15   0:18      \_ sshd: loginuser@pts/0                    
    100       3071  0.0  0.0   5036  1828 pts/0    Ss   14:15   0:00          \_ -bash
    root      3105  0.0  0.0   4572  1272 pts/0    S    14:16   0:00              \_ su -
    root      3130  0.0  0.0   5040  1956 pts/0    S    14:16   0:00                  \_ -bash
    root      5234  0.9  0.0   2696  1124 pts/0    S+   18:55   0:00                      \_ top
    sockd     4019  0.0  0.0   6824     4 ?        Ss   Apr18   0:00 /bin/sockd -D
    sockd     4022  0.0  0.0   6824     4 ?        S    Apr18   0:00  \_ sockd: negot 
    sockd     4023  0.0  0.0   6824     0 ?        S    Apr18   0:00  \_ sockd: reque 
    sockd     4024  0.0  0.0   6824     0 ?        S    Apr18   0:00  \_ sockd: reque 
    sockd     4026  0.0  0.0   6824     0 ?        S    Apr18   0:00  \_ sockd: reque 
    sockd     4027  0.0  0.0   6824     0 ?        S    Apr18   0:00  \_ sockd: reque 
    sockd     4028  0.0  0.0   6824     0 ?        S    Apr18   0:00  \_ sockd: iorel 
    root      4068  0.0  0.0   7976  3084 ?        Ss   Apr18   0:47 /usr/sbin/named -4
    root      4105  0.0  0.0   8612  1800 ?        Ss   Apr18   0:06 /bin/httpd -f /etc/httpd/httpd.conf
    root      4107  0.0  0.0   1892    64 ?        S    Apr18   0:00  \_ /bin/logger -t httpd -p local6.notice
    wwwrun    4109  0.0  0.0   8548   672 ?        S    Apr18   0:00  \_ /bin/httpd -f /etc/httpd/httpd.conf
    wwwrun   10302  0.0  0.0  34544  1944 ?        S    Apr19   0:01  |   \_ /var/jape/index.plx
    wwwrun    5366 16.8  1.9  62524 60204 ?        S    18:57   0:03  |   \_ /var/webadmin/webadmin.plx
    wwwrun    5405 37.1  1.6  52092 49800 ?        S    18:57   0:01  |   \_ /var/webadmin/webadmin.plx
    wwwrun    6090  0.0  0.0   9140  2944 ?        S    14:30   0:00  \_ /bin/httpd -f /etc/httpd/httpd.conf
    wwwrun    5368  0.2  0.0   9184  2948 ?        S    18:57   0:00  \_ /bin/httpd -f /etc/httpd/httpd.conf
    wwwrun    5370  0.9  0.0   9076  3000 ?        S    18:57   0:00  \_ /bin/httpd -f /etc/httpd/httpd.conf
    wwwrun    5400  0.0  0.0   8880  2708 ?        S    18:57   0:00  \_ /bin/httpd -f /etc/httpd/httpd.conf
    wwwrun    5402  0.0  0.0   8752  2416 ?        S    18:57   0:00  \_ /bin/httpd -f /etc/httpd/httpd.conf
    wwwrun    5404  0.0  0.0   8752  2424 ?        S    18:57   0:00  \_ /bin/httpd -f /etc/httpd/httpd.conf
    wwwrun    5408  0.0  0.0   8612  1000 ?        S    18:57   0:00  \_ /bin/httpd -f /etc/httpd/httpd.conf
    wwwrun    5409  0.0  0.0   8752  2008 ?        S    18:57   0:00  \_ /bin/httpd -f /etc/httpd/httpd.conf
    root      4166  0.0  0.0   4424  1552 ?        S
  • this is what irritates me..i have 1 gig in the file cache yet the system is swapping at 20%...there's absolutely no reason for a properly tuned Linux machine to do this.
  • how many cpus?  do not count HT threads.

    Off the cuff, that chip is a 4 core. . .
  • actual status:


    SwapTotal: 1024.0 MB
    SwapUsed:   632.3 MB
    ========================================
    MB      %       PID     process
    164.1   16.0    5711    httpproxy
    125.8   12.3    6813    snort_inline
    103.2   10.1    7548    snort_inline
    52.3    5.1     5787    afcd
    23.8    2.3     3513    confd.plx
    17.7    1.7     28339   index.plx
    16.4    1.6     31619   confd.plx
    16.4    1.6     18377   confd.plx
    15.9    1.6     12004   confd.plx
    15.2    1.5     5659    screenmgr.plx
    13.5    1.3     12967   confd.plx
    11.8    1.2     3159    confd.plx
    10.8    1.1     8730    smtpd.bin
    10.2    1.0     8435    smtpd.bin
    6.5     0.6     4060    mdw.plx
    5.9     0.6     4135    selfmonng.plx
    5.7     0.6     3286    aua.bin
    3.6     0.4     3508    notifier.plx
    2.6     0.3     4103    selfmonng.plx
    1.8     0.2     3237    sysmond
    1.3     0.1     5724    ctasd
    1.3     0.1     3190    confd-qrunner.p
    0.9     0.1     5377    named
    0.7     0.1     3090    irqd
    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     8051    starter
    0.1     0.0     1       init
    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:/home/login # free -m
                 total       used       free     shared    buffers     cached
    Mem:          7957       7626        331          0        266       4228
    -/+ buffers/cache:       3131       4826
    Swap:         1023        554        469
     astaro:/home/login # uptime
     10:55am  up 17 days  8:51,  1 user,  load average: 3.14, 2.71, 2.87
     astaro:/home/login # version

    Current software version...: 9.006005
    Hardware type..............: 320C
    Serial number..............: 
    Installation image.........: 9.004-33.1
    Installation type..........: ssi
    Installed pattern version..: 44844
    Downloaded pattern version.: 44844
    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
  • So, here is the next Cluster with this issue, but with the software version 9.005016.


    SwapTotal: 1024.0 MB
    SwapUsed:   1076.0 MB
    ========================================
    MB      %       PID     process
    794.0   77.5    5140    httpproxy
    56.8    5.5     5391    afcd
    26.4    2.6     3472    confd.plx
    17.9    1.7     22397   confd.plx
    16.4    1.6     3156    confd.plx
    15.9    1.6     28688   confd-sync
    14.8    1.4     27627   confd.plx
    11.6    1.1     29007   smtpd.bin
    11.2    1.1     29045   smtpd.bin
    10.3    1.0     27802   smtpd.bin
    6.9     0.7     3278    aua.bin
    6.5     0.6     4058    mdw.plx
    6.3     0.6     4111    selfmonng.plx
    5.5     0.5     29246   red_server.plc
    5.4     0.5     3531    notifier.plx
    3.8     0.4     4090    selfmonng.plx
    3.4     0.3     23481   red_server.plc
    3.2     0.3     29664   ctasd
    2.9     0.3     28884   red_server.plc
    2.8     0.3     4368    conntrackd
    2.8     0.3     18912   red_server.plc
    2.7     0.3     14115   index.plx
    2.2     0.2     3140    haveged
    2.1     0.2     4961    named
    1.9     0.2     28790   ha_proxy
    1.9     0.2     28788   ha_proxy
    1.9     0.2     5127    ctipd.bin
    1.8     0.2     3221    sysmond
    1.7     0.2     5994    slon_control
    1.7     0.2     3187    confd-qrunner.p
    1.6     0.2     7350    index.plx
    1.5     0.1     6211    dhcpd
    1.5     0.1     25094   snmpd
    1.4     0.1     29052   dns-resolver.pl
    1.0     0.1     3087    irqd
    1.0     0.1     24441   postgres
    0.9     0.1     28839   postgres
    0.8     0.1     29308   httpd
    0.8     0.1     29311   httpd
    0.7     0.1     311     index.plx
    0.7     0.1     27709   httpd
    0.7     0.1     27704   httpd
    0.6     0.1     29463   winbindd
    0.6     0.1     310     index.plx
    0.6     0.1     1407    postgres
    0.5     0.0     1364    postgres
    0.5     0.0     29764   winbindd
    0.5     0.0     1306    postgres
    0.5     0.0     6110    pluto
    0.5     0.0     1326    postgres
    0.5     0.0     1298    postgres
    0.5     0.0     1373    postgres
    0.5     0.0     29384   winbindd
    0.5     0.0     1309    postgres
    0.5     0.0     1368    postgres
    0.4     0.0     1410    postgres
    0.4     0.0     1370    postgres
    0.4     0.0     1285    postgres
    0.4     0.0     1736    winbindd
    0.4     0.0     1369    postgres
    0.4     0.0     29652   winbindd
    0.4     0.0     29655   winbindd
    0.4     0.0     29122   postgres
    0.4     0.0     3561    rrdcached
    0.4     0.0     1374    postgres
    0.4     0.0     29390   winbindd
    0.4     0.0     1304    postgres
    0.4     0.0     1305    postgres
    0.4     0.0     1307    postgres
    0.3     0.0     3975    postgres
    0.3     0.0     3976    postgres
    0.3     0.0     3977    postgres
    0.3     0.0     3978    postgres
    0.3     0.0     2329    udevd
    0.2     0.0     3068    hald-addon-acpi
    0.2     0.0     3052    hald-addon-inpu
    0.2     0.0     8764    udevd
    0.2     0.0     27803   postgres
    0.2     0.0     29739   syslog-ng
    0.2     0.0     29662   ctasd
    0.2     0.0     3030    hald
    0.2     0.0     32109   cssd
    0.2     0.0     3960    postgres
    0.2     0.0     1749    postgres
    0.2     0.0     29304   openvpn
    0.2     0.0     29364   ulogd
    0.2     0.0     4890    sshd
    0.2     0.0     25281   qmgr
    0.2     0.0     29740   syslog-ng
    0.2     0.0     27995   udevd
    0.2     0.0     7353    postgres
    0.2     0.0     14134   postgres
    0.2     0.0     318     postgres
    0.2     0.0     5388    master
    0.2     0.0     317     postgres
    0.1     0.0     27612   webadmin.plx
    0.1     0.0     2782    dbus-daemon
    0.1     0.0     2766    acpid
    0.1     0.0     4107    mingetty
    0.1     0.0     1360    slon
    0.1     0.0     4874    cron
    0.1     0.0     4105    mingetty
    0.1     0.0     29057   slon
    0.1     0.0     27809   postgres
    0.1     0.0     6498    _pluto_adns
    0.1     0.0     4104    mingetty
    0.1     0.0     28986   DSL.sh
    0.1     0.0     4103    mingetty
    0.1     0.0     29056   slon
    0.1     0.0     4106    mingetty
    0.1     0.0     3157    logger
    0.1     0.0     29303   openvpn
    0.1     0.0     3101    lcm-162
    0.1     0.0     3590    atd
    0.1     0.0     26645   postgres
    0.1     0.0     1294    slon
    0.1     0.0     1406    hotspotd
    0.1     0.0     5085    frox
    0.1     0.0     3031    hald-runner
    0.1     0.0     6107    starter
     asg:/root # free -m
                 total       used       free     shared    buffers     cached
    Mem:          3260       3232         28          0         14        940
    -/+ buffers/cache:       2277        983
    Swap:         1023        992         31
     asg:/root # uptime
     11:24am  up 44 days 11:42,  1 user,  load average: 2.45, 2.60, 2.37
     asg:/root # version

    Current software version...: 9.005016
    Hardware type..............: 425A2
    Serial number..............: ******************
    Installation image.........: 9.000-8.1
    Installation type..........: ssi
    Installed pattern version..: 44844
    Downloaded pattern version.: 44844
    Up2Dates applied...........: 9 (see below)
                                 sys-9.000-9.001-8.18.1.tgz (Nov 15 12:14)
                                 sys-9.001-9.002-18.12.1.tgz (Nov 15 12:15)
                                 sys-9.002-9.003-12.15.1.tgz (Nov 15 12:17)
                                 sys-9.003-9.003-15.16.4.tgz (Nov 15 12:17)
                                 sys-9.003-9.004-15.29.1.tgz (Nov 15 12:18)
                                 sys-9.004-9.004-29.33.1.tgz (Dec 27 17:35)
                                 sys-9.004-9.004-33.34.1.tgz (Dec 27 17:35)
                                 sys-9.004-9.005-29.15.2.tgz (Feb 14 18:17)
                                 sys-9.005-9.005-15.16.1.tgz (Mar  9 22:39)
    Up2Dates available.........: 1
    Factory resets.............: 0
    Timewarps detected.........: 0
  • And also here is a active/passive cluster, with two 220 UTM devices.
    Same issue, same swapping . Configuration is ok.
    The users notices it, the performance of the proxy is very bad.


    SwapTotal: 1024.0 MB
    SwapUsed:   1138.1 MB
    ========================================
    MB      %       PID     process
    595.2   58.1    5806    httpproxy
    92.4    9.0     6656    snort_inline
    56.4    5.5     6103    afcd
    31.0    3.0     4288    confd.plx
    30.1    2.9     17939   index.plx
    28.1    2.7     4128    mdw.plx
    23.7    2.3     3466    confd.plx
    19.0    1.9     3141    confd.plx
    18.4    1.8     5850    httpd
    16.9    1.7     5787    httpd
    15.2    1.5     1758    awed
    14.2    1.4     7686    smtpd.bin
    14.2    1.4     8324    awed
    13.9    1.4     25716   confd.plx
    13.2    1.3     7633    smtpd.bin
    12.2    1.2     27068   smtpd.bin
    10.5    1.0     7169    confd-sync
    9.9     1.0     7574    awed
    9.9     1.0     31332   index.plx
    9.0     0.9     9134    index.plx
    7.9     0.8     3507    notifier.plx
    7.3     0.7     3270    aua.bin
    6.3     0.6     4284    selfmonng.plx
    4.1     0.4     4172    selfmonng.plx
    3.3     0.3     5608    sockd
    3.0     0.3     5758    ctasd
    2.8     0.3     4601    sockd
    2.6     0.3     3125    haveged
    2.4     0.2     5345    sockd
    2.4     0.2     5347    sockd
    2.4     0.2     5613    sockd
    2.4     0.2     5353    sockd
    2.4     0.2     3184    sockd
    2.4     0.2     12079   sockd
    2.4     0.2     12080   sockd
    2.4     0.2     3159    sockd
    2.0     0.2     5396    named
    1.9     0.2     3172    confd-qrunner.p
    1.9     0.2     7275    ha_proxy
    1.9     0.2     3210    sysmond
    1.9     0.2     7274    ha_proxy
    1.8     0.2     7385    dns-resolver.pl
    1.8     0.2     3875    slon_control
    1.3     0.1     5059    snmpd
    1.2     0.1     13604   postgres
    1.1     0.1     6004    dhcpd
    1.1     0.1     3072    irqd
    1.0     0.1     7681    httpd
    1.0     0.1     7704    httpd
    1.0     0.1     7673    openvpn
    0.8     0.1     31333   postgres
    0.7     0.1     7617    postgres
    0.7     0.1     25562   httpd
    0.7     0.1     9136    postgres
    0.7     0.1     5830    ctipd.bin
    0.7     0.1     25563   httpd
    0.7     0.1     13619   postgres
    0.6     0.1     13594   postgres
    0.6     0.1     13621   postgres
    0.6     0.1     13618   postgres
    0.6     0.1     13616   postgres
    0.6     0.1     11803   postgres
    0.6     0.1     13610   postgres
    0.6     0.1     13622   postgres
    0.6     0.1     13586   postgres
    0.6     0.1     13592   postgres
    0.5     0.0     13625   postgres
    0.5     0.0     11674   postgres
    0.5     0.0     7782    postgres
    0.5     0.0     13593   postgres
    0.5     0.0     5110    pluto
    0.5     0.0     13617   postgres
    0.5     0.0     13680   postgres
    0.4     0.0     5611    sockd
    0.4     0.0     3139    sockd
    0.4     0.0     5344    sockd
    0.4     0.0     7662    udevd
    0.4     0.0     5610    sockd
    0.4     0.0     5612    sockd
    0.4     0.0     2330    udevd
    0.4     0.0     8154    syslog-ng
    0.4     0.0     3138    sockd
    0.4     0.0     13595   postgres
    0.4     0.0     4030    postgres
    0.4     0.0     5609    sockd
    0.4     0.0     30086   udevd
    0.4     0.0     5343    sockd
    0.4     0.0     3569    rrdcached
    0.3     0.0     6420    master
    0.3     0.0     4013    postgres
    0.3     0.0     4031    postgres
    0.3     0.0     8151    syslog-ng
    0.3     0.0     4032    postgres
    0.3     0.0     4029    postgres
    0.3     0.0     13070   qmgr
    0.3     0.0     3014    hald
    0.3     0.0     14542   tlsmgr
    0.2     0.0     3015    hald-runner
    0.2     0.0     3053    hald-addon-acpi
    0.2     0.0     21860   postgres
    0.2     0.0     5532    sshd
    0.2     0.0     5605    sockd
    0.2     0.0     27069   postgres
    0.2     0.0     7675    openvpn
    0.2     0.0     5756    ctasd
    0.2     0.0     3036    hald-addon-inpu
    0.2     0.0     5109    starter
    0.2     0.0     27077   postgres
    0.2     0.0     7742    ulogd
    0.2     0.0     2768    dbus-daemon
    0.1     0.0     2752    acpid
    0.1     0.0     4218    mingetty
    0.1     0.0     3142    logger
    0.1     0.0     8242    slon
    0.1     0.0     8241    slon
    0.1     0.0     4216    mingetty
    0.1     0.0     3598    atd
    0.1     0.0     4220    mingetty
    0.1     0.0     3271    logger
    0.1     0.0     13606   slon
    0.1     0.0     3086    lcm-162
    0.1     0.0     4217    mingetty
    0.1     0.0     4215    mingetty
    0.1     0.0     4558    conntrackd
    0.1     0.0     5392    _pluto_adns
    0.1     0.0     8115    ntpd
    0.1     0.0     4219    mingetty
    0.1     0.0     1       init
    0.1     0.0     11802   hotspotd
    0.1     0.0     13582   slon
    0.1     0.0     5517    cron
     utm:/root # free -m
                 total       used       free     shared    buffers     cached
    Mem:          1974       1924         49          0         33        463
    -/+ buffers/cache:       1427        546
    Swap:         1023       1023          0
     utm:/root # uptime
     12:35pm  up 6 days 15:14,  1 user,  load average: 0.77, 1.00, 0.94
     utm:/root # version

    Current software version...: 9.006005
    Hardware type..............: 220r5
    Serial number..............: ************xx
    Installation image.........: 9.000-8.1
    Installation type..........: ssi
    Installed pattern version..: 44846
    Downloaded pattern version.: 44846
    Up2Dates applied...........: 10 (see below)
                                 sys-9.000-9.001-8.18.1.tgz (Sep  5  2012)
                                 sys-9.001-9.002-18.12.1.tgz (Sep  6  2012)
                                 sys-9.002-9.003-12.15.1.tgz (Oct 10  2012)
                                 sys-9.003-9.003-15.16.4.tgz (Oct 16  2012)
                                 sys-9.003-9.004-15.29.1.tgz (Oct 31 12:02)
                                 sys-9.004-9.004-29.33.1.tgz (Nov 16 04:00)
                                 sys-9.004-9.004-33.34.1.tgz (Dec 28 12:00)
                                 sys-9.004-9.005-29.15.2.tgz (Feb 12 19:51)
                                 sys-9.005-9.005-15.16.1.tgz (Mar  5 22:04)
                                 sys-9.005-9.006-15.5.2.tgz (Mar 24 23:05)
    Up2Dates available.........: 0
    Factory resets.............: 0
    Timewarps detected.........: 0


    Remark to the Memory Usage Graph - 1. reboot of the devices

    Nice greetings