Server does not use all memory available

Hi,

I have a server with Linux 3.2.65-xenU-19-0e6777a-x86_64 on x86_64. There is 2Go RAM installed but no matter what, it never uses more than 700-900 Mb. The virtual memory (724 Mb total) however is always high, often at the max, causing the MySQL server to reboot periodically.

I thought I did something wrong when I set up the server, so I re-installed it, but I still have the same result.

I have another server with Debian 6, with same amount of RAM and never had this problem: the RAM memory is used and the virtual memory is low.

Any clue?

Status: 
Active

Comments

Howdy -- hmm, could you paste in the output of these commands:

uname -a
free -m
dmesg | tail -30

Also, could you run the command "ps auxwf", output that to a file, and add that file to this request as an attachment?

A few other questions --

Is this a VPS running Xen (sounds like it based on your kernel)? If it's not Xen, what kind of VPS is it?

Is it a VPS you created, or do you have a provider who set it up?

Hello Andrey.

here are the outputs:

root@server01prod:/home/blprod01# uname -a
Linux server01prod.betterliving.be 3.2.65-xenU-19-0e6777a-x86_64 #2 SMP Mon Dec 15 10:33:55 UTC 2014 x86_64 GNU/Linux
root@server01prod:/home/blprod01# free -m
             total       used       free     shared    buffers     cached
Mem:          1900       1337        562          0         62        568
-/+ buffers/cache:        706       1193
Swap:          723        685         38
root@server01prod:/home/blprod01# dmesg | tail -30
IN=lo OUT= MAC=00:00:00:00:00:00:00:00:00:00:00:00:08:00 SRC=127.0.0.1 DST=127.0.0.1 LEN=165 TOS=0x00 PREC=0x00 TTL=64 ID=24158 DF PROTO=TCP SPT=11211 DPT=43772 WINDOW=1027 RES=0x00 ACK PSH URGP=0
IN=lo OUT= MAC=00:00:00:00:00:00:00:00:00:00:00:00:08:00 SRC=127.0.0.1 DST=127.0.0.1 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=18813 DF PROTO=TCP SPT=43772 DPT=11211 WINDOW=512 RES=0x00 ACK URGP=0
IN=lo OUT= MAC=00:00:00:00:00:00:00:00:00:00:00:00:08:00 SRC=127.0.0.1 DST=127.0.0.1 LEN=130 TOS=0x00 PREC=0x00 TTL=64 ID=18814 DF PROTO=TCP SPT=43772 DPT=11211 WINDOW=512 RES=0x00 ACK PSH URGP=0
IN=lo OUT= MAC=00:00:00:00:00:00:00:00:00:00:00:00:08:00 SRC=127.0.0.1 DST=127.0.0.1 LEN=311 TOS=0x00 PREC=0x00 TTL=64 ID=24159 DF PROTO=TCP SPT=11211 DPT=43772 WINDOW=1027 RES=0x00 ACK PSH URGP=0
IN=lo OUT= MAC=00:00:00:00:00:00:00:00:00:00:00:00:08:00 SRC=127.0.0.1 DST=127.0.0.1 LEN=130 TOS=0x00 PREC=0x00 TTL=64 ID=18815 DF PROTO=TCP SPT=43772 DPT=11211 WINDOW=512 RES=0x00 ACK PSH URGP=0
IN=lo OUT= MAC=00:00:00:00:00:00:00:00:00:00:00:00:08:00 SRC=127.0.0.1 DST=127.0.0.1 LEN=317 TOS=0x00 PREC=0x00 TTL=64 ID=24160 DF PROTO=TCP SPT=11211 DPT=43772 WINDOW=1027 RES=0x00 ACK PSH URGP=0
IN=lo OUT= MAC=00:00:00:00:00:00:00:00:00:00:00:00:08:00 SRC=127.0.0.1 DST=127.0.0.1 LEN=130 TOS=0x00 PREC=0x00 TTL=64 ID=18816 DF PROTO=TCP SPT=43772 DPT=11211 WINDOW=512 RES=0x00 ACK PSH URGP=0
IN=lo OUT= MAC=00:00:00:00:00:00:00:00:00:00:00:00:08:00 SRC=127.0.0.1 DST=127.0.0.1 LEN=336 TOS=0x00 PREC=0x00 TTL=64 ID=24161 DF PROTO=TCP SPT=11211 DPT=43772 WINDOW=1027 RES=0x00 ACK PSH URGP=0
IN=lo OUT= MAC=00:00:00:00:00:00:00:00:00:00:00:00:08:00 SRC=127.0.0.1 DST=127.0.0.1 LEN=130 TOS=0x00 PREC=0x00 TTL=64 ID=18817 DF PROTO=TCP SPT=43772 DPT=11211 WINDOW=512 RES=0x00 ACK PSH URGP=0
IN=lo OUT= MAC=00:00:00:00:00:00:00:00:00:00:00:00:08:00 SRC=127.0.0.1 DST=127.0.0.1 LEN=338 TOS=0x00 PREC=0x00 TTL=64 ID=24162 DF PROTO=TCP SPT=11211 DPT=43772 WINDOW=1027 RES=0x00 ACK PSH URGP=0
IN=lo OUT= MAC=00:00:00:00:00:00:00:00:00:00:00:00:08:00 SRC=127.0.0.1 DST=127.0.0.1 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=18818 DF PROTO=TCP SPT=43772 DPT=11211 WINDOW=512 RES=0x00 ACK URGP=0
IN=eth0 OUT= MAC=00:16:3e:9c:2c:02:00:0e:39:43:64:00:08:00 SRC=79.132.236.210 DST=92.243.13.83 LEN=100 TOS=0x10 PREC=0x00 TTL=53 ID=56267 DF PROTO=TCP SPT=60777 DPT=8167 WINDOW=65535 RES=0x00 ACK PSH URGP=0
IN=eth0 OUT= MAC=00:16:3e:9c:2c:02:00:0e:39:43:64:00:08:00 SRC=79.132.236.210 DST=92.243.13.83 LEN=52 TOS=0x10 PREC=0x00 TTL=53 ID=50868 DF PROTO=TCP SPT=60777 DPT=8167 WINDOW=65535 RES=0x00 ACK URGP=0
IN=eth0 OUT= MAC=00:16:3e:9c:2c:02:00:0e:39:43:64:00:08:00 SRC=79.132.236.210 DST=92.243.13.83 LEN=100 TOS=0x10 PREC=0x00 TTL=53 ID=13758 DF PROTO=TCP SPT=60777 DPT=8167 WINDOW=65535 RES=0x00 ACK PSH URGP=0
IN=eth0 OUT= MAC=00:16:3e:9c:2c:02:00:0e:39:43:64:00:08:00 SRC=79.132.236.210 DST=92.243.13.83 LEN=52 TOS=0x10 PREC=0x00 TTL=53 ID=1972 DF PROTO=TCP SPT=60777 DPT=8167 WINDOW=65535 RES=0x00 ACK URGP=0
IN=eth0 OUT= MAC=00:16:3e:9c:2c:02:00:0e:39:43:64:00:08:00 SRC=79.132.236.210 DST=92.243.13.83 LEN=52 TOS=0x10 PREC=0x00 TTL=53 ID=50089 DF PROTO=TCP SPT=60777 DPT=8167 WINDOW=65535 RES=0x00 ACK URGP=0
IN=eth0 OUT= MAC=00:16:3e:9c:2c:02:00:0e:39:43:64:00:08:00 SRC=79.132.236.210 DST=92.243.13.83 LEN=52 TOS=0x10 PREC=0x00 TTL=53 ID=34555 DF PROTO=TCP SPT=60777 DPT=8167 WINDOW=65535 RES=0x00 ACK URGP=0
IN=lo OUT= MAC=00:00:00:00:00:00:00:00:00:00:00:00:08:00 SRC=127.0.0.1 DST=127.0.0.1 LEN=206 TOS=0x00 PREC=0x00 TTL=64 ID=46080 PROTO=UDP SPT=53 DPT=54572 LEN=186
IN=eth0 OUT= MAC=00:16:3e:9c:2c:02:00:0e:39:43:64:00:08:00 SRC=79.132.236.210 DST=92.243.13.83 LEN=100 TOS=0x10 PREC=0x00 TTL=53 ID=2235 DF PROTO=TCP SPT=60777 DPT=8167 WINDOW=65535 RES=0x00 ACK PSH URGP=0
IN=eth0 OUT= MAC=00:16:3e:9c:2c:02:00:0e:39:43:64:00:08:00 SRC=79.132.236.210 DST=92.243.13.83 LEN=52 TOS=0x10 PREC=0x00 TTL=53 ID=12790 DF PROTO=TCP SPT=60777 DPT=8167 WINDOW=65535 RES=0x00 ACK URGP=0
IN=eth0 OUT= MAC=00:16:3e:9c:2c:02:00:0e:39:43:64:00:08:00 SRC=79.132.236.210 DST=92.243.13.83 LEN=100 TOS=0x10 PREC=0x00 TTL=53 ID=51887 DF PROTO=TCP SPT=60777 DPT=8167 WINDOW=65535 RES=0x00 ACK PSH URGP=0
IN=eth0 OUT= MAC=00:16:3e:9c:2c:02:00:0e:39:43:64:00:08:00 SRC=79.132.236.210 DST=92.243.13.83 LEN=52 TOS=0x10 PREC=0x00 TTL=53 ID=35973 DF PROTO=TCP SPT=60777 DPT=8167 WINDOW=65535 RES=0x00 ACK URGP=0
IN=eth0 OUT= MAC=00:16:3e:9c:2c:02:00:0e:39:43:64:00:08:00 SRC=79.132.236.210 DST=92.243.13.83 LEN=52 TOS=0x10 PREC=0x00 TTL=53 ID=45450 DF PROTO=TCP SPT=60777 DPT=8167 WINDOW=65535 RES=0x00 ACK URGP=0
IN=eth0 OUT= MAC=00:16:3e:9c:2c:02:00:0e:39:43:64:00:08:00 SRC=79.132.236.210 DST=92.243.13.83 LEN=52 TOS=0x10 PREC=0x00 TTL=53 ID=39824 DF PROTO=TCP SPT=60777 DPT=8167 WINDOW=65535 RES=0x00 ACK URGP=0
IN=eth0 OUT= MAC=00:16:3e:9c:2c:02:00:0e:39:43:64:00:08:00 SRC=79.132.236.210 DST=92.243.13.83 LEN=52 TOS=0x10 PREC=0x00 TTL=53 ID=34249 DF PROTO=TCP SPT=60777 DPT=8167 WINDOW=65535 RES=0x00 ACK URGP=0
IN=lo OUT= MAC=00:00:00:00:00:00:00:00:00:00:00:00:08:00 SRC=127.0.0.1 DST=127.0.0.1 LEN=120 TOS=0x00 PREC=0x00 TTL=64 ID=50779 PROTO=UDP SPT=53 DPT=38421 LEN=100
IN=lo OUT= MAC=00:00:00:00:00:00:00:00:00:00:00:00:08:00 SRC=127.0.0.1 DST=127.0.0.1 LEN=120 TOS=0x00 PREC=0x00 TTL=64 ID=50781 PROTO=UDP SPT=53 DPT=38073 LEN=100
IN=eth0 OUT= MAC=00:16:3e:9c:2c:02:00:0e:39:43:64:00:08:00 SRC=79.132.236.210 DST=92.243.13.83 LEN=116 TOS=0x10 PREC=0x00 TTL=53 ID=37854 DF PROTO=TCP SPT=60777 DPT=8167 WINDOW=65535 RES=0x00 ACK PSH URGP=0
IN=eth0 OUT= MAC=00:16:3e:9c:2c:02:00:0e:39:43:64:00:08:00 SRC=79.132.236.210 DST=92.243.13.83 LEN=52 TOS=0x10 PREC=0x00 TTL=53 ID=13992 DF PROTO=TCP SPT=60777 DPT=8167 WINDOW=65535 RES=0x00 ACK URGP=0
IN=eth0 OUT= MAC=00:16:3e:9c:2c:02:00:0e:39:43:64:00:08:00 SRC=79.132.236.210 DST=92.243.13.83 LEN=100 TOS=0x10 PREC=0x00 TTL=53 ID=24747 DF PROTO=TCP SPT=60777 DPT=8167 WINDOW=65535 RES=0x00 ACK PSH URGP=0
root@server01prod:/home/blprod01#

Yes it is a VPS running XEN, that I set up myself (thanks to Virtualmin). I had servers on Debian 5 and 6 for a few years now and I encountered this issue only with Debian 7.

For the other command, I don't know yet enough to output it in a file, sorry.

Thanks for the output -- what is the output of those same commands on your Debian 6 system?

Here you go (very different output for the last one):

root@serv02host:/home/betterlvinghost# uname -a
Linux serv02host.realisation-joomla.be 3.2.58-xenU-11-50785a6-x86_64 #40 SMP Tue May 6 15:39:12 UTC 2014 x86_64 GNU/Linux
root@serv02host:/home/betterlvinghost# free -m
             total       used       free     shared    buffers     cached
Mem:          1808       1665        142          0         28        601
-/+ buffers/cache:       1036        771
Swap:          808        165        643
root@serv02host:/home/betterlvinghost# dmesg | tail -30
EXT4-fs (xvda1): couldn't mount as ext3 due to feature incompatibilities
EXT4-fs (xvda1): couldn't mount as ext2 due to feature incompatibilities
EXT4-fs (xvda1): recovery complete
EXT4-fs (xvda1): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 202:1.
devtmpfs: mounted
Freeing unused kernel memory: 400k freed
Write protecting the kernel read-only data: 6144k
Freeing unused kernel memory: 532k freed
Freeing unused kernel memory: 1116k freed
udev[390]: starting version 164
EXT4-fs (xvda1): re-mounted. Opts: (null)
EXT4-fs (xvda1): re-mounted. Opts: grpquota,errors=remount-ro,usrquota
Adding 828412k swap on /dev/xvda2.  Priority:-1 extents:1 across:828412k SS
ip_tables: (C) 2000-2006 Netfilter Core Team
sshd (2187): /proc/2187/oom_adj is deprecated, please use /proc/2187/oom_score_adj instead.
UDP: bad checksum. From 71.6.167.142:10136 to 95.142.168.136:623 ulen 31
SMP alternatives: switching to UP code
TCP: Peer 0000:0000:0000:0000:0000:ffff:55a8:4c06:64313/80 unexpectedly shrunk window 1247840950:1247844294 (repaired)
TCP: Peer 0000:0000:0000:0000:0000:ffff:55a8:4c06:64312/80 unexpectedly shrunk window 3700744494:3700747838 (repaired)
TCP: Peer 0000:0000:0000:0000:0000:ffff:55a8:4c06:64309/80 unexpectedly shrunk window 1333169781:1333173125 (repaired)
UDP: bad checksum. From 66.240.192.138:4994 to 95.142.168.136:5060 ulen 237
UDP: bad checksum. From 71.6.167.142:6642 to 95.142.168.136:44818 ulen 32
UDP: bad checksum. From 71.6.165.200:25843 to 95.142.168.136:64738 ulen 20
UDP: bad checksum. From 71.6.165.200:25843 to 95.142.168.136:161 ulen 51
UDP: bad checksum. From 71.6.167.142:4879 to 95.142.168.136:2152 ulen 20
UDP: bad checksum. From 71.6.167.142:29618 to 95.142.168.136:5060 ulen 237
UDP: bad checksum. From 71.6.167.142:4087 to 95.142.168.136:4500 ulen 348
UDP: bad checksum. From 71.6.167.142:19638 to 95.142.168.136:623 ulen 31
UDP: bad checksum. From 198.20.70.114:45685 to 95.142.168.136:2123 ulen 20

Both servers actually appear to be using a similar amount of base RAM.

However, the second server is indeed using more swap.

The issue may just be that the services running on your newer server are using more RAM.

That can happen with newer versions of software, sometimes it takes more RAM to run.

However, it could also be that the server is seeing more traffic, and running more Apache processes. PHP may also have more modules installed, which would cause the PHP processes to consume more memory.

The first place I'd suggest starting is to disable any processes you don't need. Many folks don't need Mailman and Postgres, for example. Those can be removed from Virtualmin in System Settings -> Features and Plugins, and afterwards can be disabled entirely in Webmin -> System -> Bootup and Shutdown.

Also, if you run "ps auxf", you can also just paste that output into here, rather than attaching it as a file. That might help us identify what's using memory.

I agree that more memory can be used on the new server: there are more virtual domains set up and they have more traffic. That is not an issue as I can increase very easily the amount of RAM at anytime.

BUT the trouble, for me, is that about 50% of the RAM is NEVER used (according to the Information system), while I never seen that on previous servers. It seems that if the server needs more memory, it always fetch it on the virtual one, even when this one is filled already. That's what I want to understand.

Here is the ps auxwf output:

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 2 0.0 0.0 0 0 ? S Dec17 0:00 [kthreadd] root 3 0.0 0.0 0 0 ? S Dec17 0:00 _ [ksoftirqd/0] root 4 0.0 0.0 0 0 ? S Dec17 0:00 _ [kworker/0:0] root 5 0.0 0.0 0 0 ? S Dec17 0:00 _ [kworker/u:0] root 6 0.0 0.0 0 0 ? S Dec17 0:00 _ [migration/0] root 7 0.0 0.0 0 0 ? S Dec17 0:00 _ [migration/1] root 8 0.0 0.0 0 0 ? S Dec17 0:00 _ [kworker/1:0] root 9 0.0 0.0 0 0 ? S Dec17 0:00 _ [ksoftirqd/1] root 10 0.0 0.0 0 0 ? S Dec17 0:00 _ [migration/2] root 11 0.0 0.0 0 0 ? S Dec17 0:00 _ [kworker/2:0] root 12 0.0 0.0 0 0 ? S Dec17 0:00 _ [ksoftirqd/2] root 52 0.0 0.0 0 0 ? S< Dec17 0:00 _ [cpuset] root 53 0.0 0.0 0 0 ? S< Dec17 0:00 _ [khelper] root 54 0.0 0.0 0 0 ? S Dec17 0:00 _ [kdevtmpfs] root 55 0.0 0.0 0 0 ? S< Dec17 0:00 _ [netns] root 56 0.0 0.0 0 0 ? S Dec17 0:00 _ [kworker/u:1] root 58 0.0 0.0 0 0 ? S Dec17 0:00 _ [xenwatch] root 59 0.0 0.0 0 0 ? S Dec17 0:00 _ [xenbus] root 138 0.0 0.0 0 0 ? S Dec17 0:00 _ [sync_supers] root 140 0.0 0.0 0 0 ? S Dec17 0:00 _ [bdi-default] root 142 0.0 0.0 0 0 ? S< Dec17 0:00 _ [kblockd] root 152 0.0 0.0 0 0 ? S Dec17 0:05 _ [kworker/0:1] root 241 0.0 0.0 0 0 ? S Dec17 0:04 _ [kworker/2:1] root 250 0.0 0.0 0 0 ? S Dec17 0:16 _ [kswapd0] root 251 0.0 0.0 0 0 ? SN Dec17 0:00 _ [ksmd] root 252 0.0 0.0 0 0 ? S Dec17 0:00 _ [fsnotify_mark] root 253 0.0 0.0 0 0 ? S< Dec17 0:00 _ [crypto] root 292 0.0 0.0 0 0 ? S Dec17 0:00 _ [khvcd] root 345 0.0 0.0 0 0 ? S Dec17 0:04 _ [kworker/1:1] root 350 0.0 0.0 0 0 ? S Dec17 0:11 _ [jbd2/xvda1-8] root 351 0.0 0.0 0 0 ? S< Dec17 0:00 _ [ext4-dio-unwrit] root 1664 0.0 0.0 0 0 ? S Dec17 0:02 _ [flush-202:1] root 1 0.0 0.0 10652 24 ? Ss Dec17 0:01 init [2]
root 467 0.0 0.0 21384 4 ? Ss Dec17 0:00 udevd --daemon root 1734 0.0 0.0 21248 8 ? S Dec17 0:00 _ udevd --daemon root 1735 0.0 0.0 21248 8 ? S Dec17 0:00 _ udevd --daemon root 2121 0.0 0.0 118588 756 ? Sl Dec17 1:02 /usr/sbin/rsyslogd -c5 root 2155 0.0 0.0 67148 1204 ? Ss Dec17 0:00 /usr/sbin/saslauthd -a pam -m /var/spool/postfix/var/run/saslauthd root 2247 0.0 0.0 67148 480 ? S Dec17 0:00 _ /usr/sbin/saslauthd -a pam -m /var/spool/postfix/var/run/saslau root 2250 0.0 0.0 67312 672 ? S Dec17 0:00 _ /usr/sbin/saslauthd -a pam -m /var/spool/postfix/var/run/saslau root 2251 0.0 0.0 67148 536 ? S Dec17 0:00 _ /usr/sbin/saslauthd -a pam -m /var/spool/postfix/var/run/saslau root 2252 0.0 0.0 67148 1204 ? S Dec17 0:00 _ /usr/sbin/saslauthd -a pam -m /var/spool/postfix/var/run/saslau root 2231 0.0 0.0 4120 4 ? Ss Dec17 0:00 /usr/sbin/acpid root 2267 0.0 0.0 10444 4 ? Ss Dec17 0:00 /usr/sbin/inetd 102 2355 0.0 0.0 29808 460 ? Ss Dec17 0:00 /usr/bin/dbus-daemon --system bind 2433 0.0 0.7 212984 14704 ? Ssl Dec17 0:48 /usr/sbin/named -u bind nobody 2465 0.4 0.1 150588 2704 ? Sl Dec17 7:50 /usr/bin/memcached -m 128 -p 11211 -u nobody -l 127.0.0.1 root 2563 0.0 0.0 4184 4 ? S Dec17 0:00 /bin/sh /usr/bin/mysqld_safe mysql 12587 0.2 7.0 765852 137260 ? Sl 11:00 1:15 _ /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plug root 12588 0.0 0.0 4092 4 ? S 11:00 0:00 _ logger -t mysqld -p daemon.error clamav 2587 0.0 0.0 55300 912 ? Ss Dec17 1:33 /usr/bin/freshclam -d --quiet --config-file=/etc/clamav/freshclam.c root 2955 0.3 0.1 465672 3724 ? Sl Dec17 5:38 /usr/bin/python /usr/bin/fail2ban-server -b -s /var/run/fail2ban/fa root 3110 0.0 0.0 22436 664 ? S Dec17 0:26 /usr/lib/gamin/gam_server root 3210 0.0 0.0 82816 848 ? Ss Dec17 0:05 /usr/share/webmin/virtual-server/lookup-domain-daemon.pl root 3493 0.0 0.0 421540 1044 ? Ss Dec17 0:08 /usr/sbin/apache2 -k start www-data 3558 0.0 0.0 219948 972 ? S Dec17 0:02 _ /usr/sbin/apache2 -k start 1019 6195 0.1 1.9 311616 38420 ? S Dec17 2:42 | _ /usr/bin/php5-cgi 1002 6197 0.0 1.2 181996 24332 ? S Dec17 1:37 | _ /usr/bin/php5-cgi 1015 6201 0.0 1.2 310208 25268 ? S Dec17 0:40 | _ /usr/bin/php5-cgi 1042 6297 0.5 3.2 315964 64160 ? S Dec17 9:43 | _ /usr/bin/php5-cgi 1055 12471 0.0 1.8 312216 35216 ? S Dec17 1:35 | _ /usr/bin/php5-cgi 1055 12472 0.0 1.7 307632 34584 ? S Dec17 1:27 | _ /usr/bin/php5-cgi 1055 12473 0.0 1.9 309824 37620 ? S Dec17 1:28 | _ /usr/bin/php5-cgi 1008 12677 0.0 0.4 171572 8848 ? S Dec17 0:08 | _ /usr/bin/php5-cgi 1008 12689 0.0 1.0 187272 19840 ? S Dec17 0:03 | _ /usr/bin/php5-cgi 1005 15298 0.0 0.9 305144 17588 ? S Dec17 0:01 | _ /usr/bin/php5-cgi eufadmin 22585 0.4 2.1 311248 41164 ? S Dec17 6:30 | _ /usr/bin/php5-cgi 1042 24408 0.5 3.2 317548 62712 ? S Dec17 8:10 | _ /usr/bin/php5-cgi eufadmin 25314 0.5 2.1 313040 41684 ? S Dec17 8:16 | _ /usr/bin/php5-cgi eufadmin 25316 0.5 2.3 316112 46032 ? S Dec17 8:00 | _ /usr/bin/php5-cgi 1042 5120 0.0 0.0 311712 4 ? S Dec17 0:00 | _ /usr/bin/php5-cgi 1042 5122 0.0 0.0 298380 8 ? S Dec17 0:00 | _ /usr/bin/php5-cgi 1015 8672 0.1 1.4 308368 27576 ? S 09:59 0:41 | _ /usr/bin/php5-cgi 1015 10588 0.0 1.2 303800 24108 ? S 10:29 0:06 | _ /usr/bin/php5-cgi 1005 711 0.0 1.6 303476 31836 ? S 16:34 0:01 | _ /usr/bin/php5-cgi 1019 2237 0.4 3.0 311116 59668 ? S 16:58 0:55 | _ /usr/bin/php5-cgi www-data 13922 0.0 0.3 423520 6136 ? S 19:54 0:00 _ /usr/sbin/apache2 -k start www-data 15368 0.0 0.2 423288 5656 ? S 20:14 0:00 _ /usr/sbin/apache2 -k start www-data 15570 0.0 0.3 423284 6544 ? S 20:16 0:00 _ /usr/sbin/apache2 -k start www-data 15571 0.0 0.3 423280 6636 ? S 20:16 0:00 _ /usr/sbin/apache2 -k start www-data 15573 0.0 0.3 423320 6692 ? S 20:16 0:00 _ /usr/sbin/apache2 -k start www-data 15575 0.0 0.2 423284 5548 ? S 20:16 0:00 _ /usr/sbin/apache2 -k start www-data 15585 0.0 0.2 423308 5584 ? S 20:17 0:00 _ /usr/sbin/apache2 -k start www-data 15612 0.0 0.3 423360 6692 ? S 20:18 0:00 _ /usr/sbin/apache2 -k start www-data 15792 0.0 0.3 423364 6696 ? S 20:19 0:00 _ /usr/sbin/apache2 -k start www-data 15909 0.0 0.3 423172 6152 ? S 20:21 0:00 _ /usr/sbin/apache2 -k start root 3497 0.0 0.0 17024 40 ? Ss Dec17 0:02 /usr/sbin/htcacheclean -d120 -i -p/var/cache/apache2/mod_disk_cache root 3539 0.0 0.0 18884 240 ? Ss Dec17 0:00 /usr/sbin/cron root 3568 0.0 0.0 21524 412 ? Ss Dec17 0:05 /usr/sbin/dovecot -c /etc/dovecot/dovecot.conf dovecot 3586 0.0 0.0 13052 276 ? S Dec17 0:00 _ dovecot/anvil root 3587 0.0 0.0 13180 356 ? S Dec17 0:00 _ dovecot/log root 14904 0.0 0.1 23536 3328 ? S 20:06 0:00 _ dovecot/config 1044 14907 0.0 0.1 33708 3260 ? S 20:06 0:00 _ dovecot/imap dovenull 15155 0.0 0.1 24264 3036 ? S 20:13 0:00 _ dovecot/imap-login 1057 15158 0.0 0.1 33660 2864 ? S 20:13 0:00 _ dovecot/imap dovenull 15180 0.0 0.1 24264 3036 ? S 20:13 0:00 _ dovecot/imap-login 1057 15182 0.0 0.1 33660 2868 ? S 20:13 0:00 _ dovecot/imap dovenull 15562 0.0 0.1 24252 3140 ? S 20:16 0:00 _ dovecot/pop3-login root 15564 0.0 0.0 19256 1400 ? S 20:16 0:00 _ dovecot/ssl-params 1057 15566 0.0 0.1 33564 3164 ? S 20:16 0:00 _ dovecot/pop3 opendkim 3648 0.0 0.0 109512 780 ? Ssl Dec17 0:58 /usr/sbin/opendkim -x /etc/opendkim.conf -u opendkim -P /var/run/op postgrey 3661 0.0 0.2 66456 4572 ? Ss Dec17 0:01 /usr/sbin/postgrey --pidfile=/var/run/postgrey.pid --daemonize --in root 3795 0.0 0.0 37880 332 ? Ss Dec17 0:01 /usr/lib/postfix/master postfix 3805 0.0 0.0 40124 712 ? S Dec17 0:00 _ qmgr -l -t fifo -u postfix 9340 0.0 0.0 42476 492 ? S Dec17 0:00 _ tlsmgr -l -t unix -u -c postfix 14195 0.0 0.0 39948 1092 ? S 19:58 0:00 _ pickup -l -t fifo -u -c root 3847 0.0 0.0 49936 276 ? Ss Dec17 0:00 /usr/sbin/sshd root 16086 0.0 0.2 79808 3960 ? Ss 20:24 0:00 _ sshd: blprod01 [priv] blprod01 16091 0.0 0.0 79808 1664 ? S 20:24 0:00 _ sshd: blprod01@pts/0 blprod01 16092 0.0 0.0 17864 1916 pts/0 Ss 20:24 0:00 _ -bash root 16113 0.0 0.0 46348 1516 pts/0 S 20:25 0:00 _ su root 16165 0.0 0.0 17928 1940 pts/0 S 20:25 0:00 _ bash root 16166 0.0 0.0 15452 1208 pts/0 R+ 20:25 0:00 _ ps auxwf proftpd 3890 0.0 0.0 100112 120 ? Ss Dec17 0:00 proftpd: (accepting connections)
root 3959 0.0 0.0 73636 780 ? Ss Dec17 0:01 /usr/bin/perl /usr/share/usermin/miniserv.pl /etc/usermin/miniserv. root 3992 0.0 0.1 123080 2924 ? Ss Dec17 0:07 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.co root 4008 0.0 0.0 14580 8 hvc0 Ss+ Dec17 0:00 /sbin/getty 38400 hvc0 root 4009 0.0 0.0 14760 8 tty1 Ss+ Dec17 0:00 /sbin/getty 38400 tty0 root 4500 0.0 0.0 127564 1364 ? Sl Dec17 0:02 /usr/sbin/console-kit-daemon --no-daemon

The biggest user for memory is mysql, but it's only 7%.

Well, from what I'm seeing in your "free" output, the RAM is actually being used on your new server.

The System Information screen considers "cached" RAM to be free (which, it technically is, but it's also cached).

It may just be that on your older server, less RAM is being used as cache.

I don't see anything concerning in your available RAM and RAM usage though, it looks normal to me (other than perhaps needing to make some additional RAM available). If your have RAM available to give to that newer system, that would be a good way to go.

OK. I'll had some RAM and see what happens. Thanks for your help.