I'm trying to figure out why for a new install I put on a VPS is using a lot more memory than my previous install.
Currently- old VPS
new VPS
Granted that the new VPS does have one site that is being run. But it is not a major traffic source.
I have compared both VPS' services and both are similar. For the new VPS, I even turned off pop3 for dovecot and that doesn't seem to have help much.
Here is a ps aux from the old VPS
and the new VPS
Both VPS' processlist look very similar. And CSF is even installed on the old VPS.
Anybody have any idea ?
Currently- old VPS
total used free shared buffers cached
Mem: 512 229 282 0 0 0
-/+ buffers/cache: 229 282
Swap: 0 0 0
new VPS
total used free shared buffers cached
Mem: 384 315 68 0 0 0
-/+ buffers/cache: 315 68
Swap: 0 0 0
Granted that the new VPS does have one site that is being run. But it is not a major traffic source.
I have compared both VPS' services and both are similar. For the new VPS, I even turned off pop3 for dovecot and that doesn't seem to have help much.
Here is a ps aux from the old VPS
ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.1 1980 664 ? Ss Sep17 0:21 init [3]
dovecot 1396 0.0 0.3 4348 1660 ? S Dec18 0:00 imap-login
apache 1626 0.0 2.9 27828 15236 ? S 06:55 0:02 /usr/sbin/httpd -k start -DSSL
root 1655 0.0 0.4 8220 2496 ? Ss Dec28 0:01 sshd: root@pts/1
root 1673 0.0 0.2 2504 1376 pts/1 Ss Dec28 0:00 -bash
apache 3785 0.0 2.8 27436 14856 ? S 04:28 0:02 /usr/sbin/httpd -k start -DSSL
dovecot 5615 0.0 0.3 4344 1652 ? S 11:50 0:00 imap-login
supportw 5616 0.0 0.4 5732 2112 ? S 11:50 0:00 imap [notify@s]
root 5626 0.0 0.4 8068 2472 ? Ss 15:49 0:00 sshd: root@pts/0
root 5632 0.0 0.2 5684 1476 pts/0 Ss+ 15:49 0:00 -bash
nobody 7213 0.0 0.1 8336 536 ? S 13:01 0:00 /usr/local/directadmin/directadmin d
nobody 7428 0.0 0.1 8336 536 ? S 13:02 0:00 /usr/local/directadmin/directadmin d
nobody 7429 0.0 0.1 8336 536 ? S 13:02 0:00 /usr/local/directadmin/directadmin d
nobody 7435 0.0 0.1 8336 536 ? S 13:02 0:00 /usr/local/directadmin/directadmin d
nobody 7437 0.0 0.1 8336 536 ? S 13:02 0:00 /usr/local/directadmin/directadmin d
root 7913 0.0 0.1 2096 832 pts/1 R+ 15:52 0:00 ps aux
root 7923 0.0 0.4 8064 2464 ? Ss 10:44 0:00 sshd: root@pts/2
root 7928 0.0 0.2 2500 1372 pts/2 Ss 10:44 0:00 -bash
root 8110 0.0 0.1 5188 948 ? Ss Dec18 0:00 /usr/sbin/sshd
apache 11409 0.0 2.8 27428 14812 ? S 01:01 0:03 /usr/sbin/httpd -k start -DSSL
dovecot 11672 0.0 0.3 4348 1660 ? S 08:30 0:00 imap-login
dovecot 12018 0.0 0.3 4340 1652 ? S Dec24 0:00 pop3-login
dovecot 12020 0.0 0.3 4340 1652 ? S Dec24 0:00 pop3-login
dovecot 12021 0.0 0.3 4340 1652 ? S Dec24 0:00 pop3-login
dovecot 12022 0.0 0.3 4344 1656 ? S Dec24 0:00 pop3-login
dovecot 12024 0.0 0.3 4344 1656 ? S Dec24 0:00 pop3-login
dovecot 12025 0.0 0.3 4340 1656 ? S Dec24 0:00 pop3-login
dovecot 12026 0.0 0.3 4340 1652 ? S Dec24 0:00 pop3-login
dovecot 12027 0.0 0.3 4340 1652 ? S Dec24 0:00 pop3-login
dovecot 12039 0.0 0.3 4344 1656 ? S Dec24 0:00 pop3-login
root 12134 0.0 2.9 17332 15344 ? Ss 00:00 0:09 lfd - sleeping
apache 13456 0.0 2.8 27436 14792 ? S 10:54 0:01 /usr/sbin/httpd -k start -DSSL
apache 13543 0.0 3.2 29704 17060 ? S 10:54 0:01 /usr/sbin/httpd -k start -DSSL
apache 13544 0.0 2.8 27736 15076 ? S 10:54 0:01 /usr/sbin/httpd -k start -DSSL
nobody 15922 0.0 0.2 8336 1272 ? Ss Oct17 0:00 /usr/local/directadmin/directadmin d
root 16057 0.0 0.1 3052 548 ? Ss Oct16 0:09 /usr/local/directadmin/da-popb4smtp
dovecot 18426 0.0 0.3 4352 1664 ? S Dec18 0:00 imap-login
root 21593 0.0 2.4 25800 13088 ? Ss 00:13 0:00 /usr/sbin/httpd -k start -DSSL
root 21599 0.0 0.1 1644 572 ? Ss Sep17 0:18 syslogd -m 0
apache 21606 0.0 2.9 28032 15712 ? S 00:13 0:02 /usr/sbin/httpd -k start -DSSL
dovecot 21659 0.0 0.3 4352 1664 ? S Dec06 0:00 imap-login
root 21683 0.0 0.1 2640 868 ? Ss Sep17 0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
root 21697 0.0 0.2 2360 1132 ? S Sep17 0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/concord.linux
mysql 21719 0.0 3.4 35564 18216 ? S Sep17 0:29 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/
mysql 21734 0.0 3.4 35564 18216 ? S Sep17 0:42 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/
mysql 21735 0.0 3.4 35564 18216 ? S Sep17 0:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/
mysql 21736 0.0 3.4 35564 18216 ? S Sep17 0:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/
mysql 21737 0.0 3.4 35564 18216 ? S Sep17 0:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/
mysql 21738 0.0 3.4 35564 18216 ? S Sep17 0:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/
mysql 21749 0.0 3.4 35564 18216 ? S Sep17 0:33 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/
mysql 21750 0.0 3.4 35564 18216 ? S Sep17 1:44 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/
mysql 21753 0.0 3.4 35564 18216 ? S Sep17 0:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/
mysql 21754 0.0 3.4 35564 18216 ? S Sep17 0:40 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/
mail 22308 0.0 0.1 8368 1048 ? Ss Sep17 0:02 /usr/sbin/exim -bd -q15m -oP /var/run/exim.pid
ftp 22355 0.0 0.3 5296 1584 ? SLs Sep17 0:07 proftpd: (accepting connections)
root 22375 0.0 0.2 3196 1116 ? Ss Sep17 0:59 crond
named 22471 0.0 0.7 70812 4064 ? Ssl Sep17 0:30 /usr/sbin/named -u named
apache 24349 0.0 2.9 28160 15552 ? S 07:47 0:01 /usr/sbin/httpd -k start -DSSL
apache 30470 0.0 2.8 27736 15108 ? S 09:12 0:01 /usr/sbin/httpd -k start -DSSL
apache 30490 0.0 2.9 28048 15400 ? S 09:13 0:01 /usr/sbin/httpd -k start -DSSL
root 30597 0.0 0.1 1788 652 ? Ss Dec03 0:02 dovecot
root 30598 0.0 0.2 2476 1316 ? S Dec03 0:02 dovecot-auth
dovecot 32060 0.0 0.3 4340 1656 ? S Dec03 0:00 pop3-login
dovecot 32061 0.0 0.3 4344 1656 ? S Dec03 0:00 pop3-login
dovecot 32062 0.0 0.3 4344 1656 ? S Dec03 0:00 pop3-login
dovecot 32063 0.0 0.3 4344 1656 ? S Dec03 0:00 pop3-login
dovecot 32064 0.0 0.3 4344 1656 ? S Dec03 0:00 pop3-login
dovecot 32065 0.0 0.3 4344 1660 ? S Dec03 0:00 pop3-login
dovecot 32069 0.0 0.3 4344 1656 ? S Dec03 0:00 pop3-login
dovecot 32076 0.0 0.3 4344 1652 ? S Dec03 0:00 imap-login
dovecot 32077 0.0 0.3 4348 1656 ? S Dec03 0:00 imap-login
dovecot 32078 0.0 0.3 4352 1660 ? S Dec03 0:00 imap-login
dovecot 32079 0.0 0.3 4352 1656 ? S Dec03 0:00 imap-login
dovecot 32080 0.0 0.3 4348 1656 ? S Dec03 0:00 imap-login
dovecot 32081 0.0 0.3 4352 1656 ? S Dec03 0:00 imap-login
dovecot 32082 0.0 0.3 4352 1656 ? S Dec03 0:00 imap-login
dovecot 32083 0.0 0.3 4348 1656 ? S Dec03 0:00 imap-login
dovecot 32084 0.0 0.3 4352 1660 ? S Dec03 0:00 imap-login
dovecot 32086 0.0 0.3 4352 1660 ? S Dec03 0:00 imap-login
dovecot 32091 0.0 0.3 4348 1656 ? S Dec03 0:00 imap-login
root 32727 0.0 0.2 2192 1156 pts/2 S+ 11:40 0:00 nano /etc/passwd
and the new VPS
ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.1 2068 644 ? Ss 11:15 0:00 init [3]
root 3836 0.0 0.2 4252 920 pts/4 R+ 15:53 0:00 ps aux
root 5927 0.0 0.1 2152 548 ? S<s 11:15 0:00 /sbin/udevd -d
root 7217 0.0 0.1 1724 572 ? Ss 11:15 0:00 syslogd -m 0
root 7253 0.0 0.3 4528 1256 ? S 11:15 0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/hamilton.supp
mysql 7311 0.0 5.4 120740 21444 ? Sl 11:15 0:10 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --log-error=/var/lib/mysql
root 7358 0.0 0.1 3140 544 ? Ss 11:15 0:00 /usr/local/directadmin/da-popb4smtp
mail 19521 0.0 0.2 8884 1068 ? Ss 12:53 0:00 /usr/sbin/exim -bd -q15m -oP /var/run/exim.pid
named 19557 0.0 0.9 112276 3636 ? Ssl 12:53 0:00 named -u named
ftp 19602 0.0 0.2 2568 868 ? Ss 12:53 0:00 proftpd: (accepting connections)
apache 21562 0.0 3.7 28688 14940 ? S 15:17 0:00 /usr/sbin/httpd -k start -DSSL
apache 22046 0.0 4.2 30460 16652 ? S 15:18 0:00 /usr/sbin/httpd -k start -DSSL
root 22307 0.0 0.2 5288 1100 ? Ss 11:53 0:00 crond
root 23568 0.0 0.1 2020 692 ? Ss 13:00 0:00 dovecot
root 23569 0.0 0.2 2476 1108 ? S 13:00 0:00 dovecot-auth
dovecot 23571 0.0 0.4 5088 1924 ? S 13:00 0:00 imap-login
dovecot 23572 0.0 0.4 5088 1920 ? S 13:00 0:00 imap-login
dovecot 23573 0.0 0.4 5088 1924 ? S 13:00 0:00 imap-login
dovecot 23574 0.0 0.4 5088 1920 ? S 13:00 0:00 imap-login
dovecot 23575 0.0 0.4 5088 1920 ? S 13:00 0:00 imap-login
dovecot 23576 0.0 0.4 5088 1920 ? S 13:00 0:00 imap-login
dovecot 23577 0.0 0.4 5088 1924 ? S 13:00 0:00 imap-login
dovecot 23578 0.0 0.4 5088 1916 ? S 13:00 0:00 imap-login
dovecot 23579 0.0 0.4 5088 1924 ? S 13:00 0:00 imap-login
dovecot 23580 0.0 0.4 5088 1924 ? S 13:00 0:00 imap-login
dovecot 23581 0.0 0.4 5088 1920 ? S 13:00 0:00 imap-login
dovecot 23582 0.0 0.4 5088 1920 ? S 13:00 0:00 imap-login
dovecot 23583 0.0 0.4 5088 1924 ? S 13:00 0:00 imap-login
dovecot 23584 0.0 0.4 5088 1920 ? S 13:00 0:00 imap-login
dovecot 23585 0.0 0.4 5088 1916 ? S 13:00 0:00 imap-login
nobody 23633 0.0 0.3 8932 1320 ? Ss 13:00 0:00 /usr/local/directadmin/directadmin d
nobody 24242 0.0 0.1 8932 560 ? S 13:02 0:00 /usr/local/directadmin/directadmin d
nobody 24253 0.0 0.1 8932 560 ? S 13:02 0:00 /usr/local/directadmin/directadmin d
nobody 24254 0.0 0.1 8932 560 ? S 13:02 0:00 /usr/local/directadmin/directadmin d
nobody 24261 0.0 0.1 8932 560 ? S 13:03 0:00 /usr/local/directadmin/directadmin d
nobody 24289 0.0 0.1 8932 560 ? S 13:03 0:00 /usr/local/directadmin/directadmin d
root 24299 0.0 3.3 27132 13200 ? Ss 13:03 0:00 /usr/sbin/httpd -k start -DSSL
apache 25867 0.0 4.1 29560 16156 ? S 15:26 0:00 /usr/sbin/httpd -k start -DSSL
apache 26121 0.0 4.2 30460 16672 ? S 15:27 0:00 /usr/sbin/httpd -k start -DSSL
dovecot 26210 0.0 0.4 5088 1920 ? S 13:07 0:00 imap-login
supportw 26211 0.0 0.6 6264 2452 ? S 13:07 0:00 imap [notify@s]
root 28092 0.0 0.2 7156 1060 ? Ss 12:06 0:00 /usr/sbin/sshd
apache 28295 0.0 3.7 28620 14836 ? S 15:32 0:00 /usr/sbin/httpd -k start -DSSL
apache 28322 0.0 3.7 28356 14572 ? S 15:32 0:00 /usr/sbin/httpd -k start -DSSL
root 28364 0.0 0.7 10116 2868 ? Rs 12:06 0:00 sshd: root@pts/4
root 28367 0.0 0.3 4532 1464 pts/4 Ss 12:06 0:00 -bash
apache 28594 0.0 3.7 28616 14752 ? S 15:34 0:00 /usr/sbin/httpd -k start -DSSL
apache 28633 0.0 3.8 28896 14976 ? S 15:34 0:00 /usr/sbin/httpd -k start -DSSL
apache 29700 0.0 3.5 28292 13844 ? S 15:34 0:00 /usr/sbin/httpd -k start -DSSL
apache 29764 0.0 3.1 27668 12512 ? S 15:35 0:00 /usr/sbin/httpd -k start -DSSL
Both VPS' processlist look very similar. And CSF is even installed on the old VPS.
Anybody have any idea ?