I have a VPS with 1 GB RAM & 40 GB HDD. I have installed Cpanel VPS optimized on that. But however the websites have become very slow. I have just have 2 accounts & total 4 websites in 2 accounts. When the VPS was raw I mean without CPanel, sites were running quite fast. Now with CPanel VPS optimized, I could see the difference in performance. Please help. Below details for top c & ps auxf command output. I run a mail server, DNS server as well. top c top - 13:03:47 up 14 days, 12:29, 1 user, load average: 0.14, 0.21, 0.18 Tasks: 83 total, 1 running, 82 sleeping, 0 stopped, 0 zombie Cpu(s): 0.1%us, 0.1%sy, 0.0%ni, 99.3%id, 0.5%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 1022636k total, 979156k used, 43480k free, 214056k buffers Swap: 2097148k total, 3852k used, 2093296k free, 515528k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 26104 root 20 0 92976 3228 2516 S 0.7 0.3 0:00.02 sshd: unknown [priv] 23021 root 20 0 62680 1216 648 S 0.3 0.1 0:11.50 /usr/sbin/sshd 25545 root 20 0 12792 1064 804 R 0.3 0.1 0:00.67 top c 1 root 20 0 10404 524 496 S 0.0 0.1 0:19.89 init [3] 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 [kthreadd] %ps auxf root 1 0.0 0.0 10404 524 ? Ss Sep11 0:19 init [3] dbus 933 0.0 0.0 21308 264 ? Ss Sep11 0:00 dbus-daemon --system root 980 0.0 0.0 74856 868 ? Ss Sep11 0:10 crond root 986 0.0 0.0 3844 244 tty1 Ss+ Sep11 0:00 /sbin/mingetty tty1 root 1932 0.0 0.0 12660 272 ? S<s Sep11 0:00 /sbin/udevd -d root 25639 0.0 0.0 93380 348 ? Ss Sep11 0:00 pure-ftpd (SERVER) root 25641 0.0 0.0 91032 376 ? S Sep11 0:00 /usr/sbin/pure-authd -s /var/run/ftpd.sock -r /usr/sbin/pureauth root 28128 0.0 0.0 5964 416 ? Ss Sep11 0:14 syslogd -m 0 root 28131 0.0 0.0 3860 232 ? Ss Sep11 0:00 klogd -x root 28715 0.0 0.0 10816 292 ? S Sep11 0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/siainfotech. mysql 28739 0.0 0.8 187780 8944 ? Sl Sep11 9:16 \_ /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/m root 16198 0.0 0.0 12464 564 ? Ss Sep12 0:58 /usr/sbin/dovecot root 16199 0.0 0.1 19380 1188 ? S Sep12 0:26 \_ dovecot-auth dovecot 16221 0.0 0.1 38232 1604 ? S Sep12 0:01 \_ pop3-login dovecot 16222 0.0 0.1 38232 1628 ? S Sep12 0:01 \_ pop3-login dovecot 16223 0.0 0.1 38256 1700 ? S Sep12 0:01 \_ imap-login dovecot 16224 0.0 0.1 38256 1748 ? S Sep12 0:02 \_ imap-login root 23021 0.0 0.1 62680 1216 ? Ss Sep13 0:11 /usr/sbin/sshd root 25468 0.0 0.3 94296 3388 ? Ss 12:59 0:00 \_ sshd: root@pts/1 root 25516 0.0 0.1 66100 1492 pts/1 Ss 13:00 0:00 | \_ -bash root 26315 0.0 0.0 65736 948 pts/1 R+ 13:05 0:00 | \_ ps auxf root 26313 1.0 0.3 92976 3232 ? Ss 13:05 0:00 \_ sshd: unknown [priv] sshd 26314 0.0 0.1 64024 1460 ? S 13:05 0:00 \_ sshd: unknown [net] root 7059 0.0 0.4 73880 4548 ? Ss Sep18 0:45 /usr/local/apache/bin/httpd -k start -DSSL root 23261 0.0 0.6 38240 6172 ? S 12:38 0:00 \_ /usr/local/cpanel/bin/leechprotect root 23269 0.0 0.1 73880 1932 ? S 12:38 0:00 \_ /usr/local/apache/bin/httpd -k start -DSSL nobody 23987 0.0 0.3 74012 3652 ? S 12:43 0:00 \_ /usr/local/apache/bin/httpd -k start -DSSL nobody 25515 0.0 0.3 74012 3520 ? S 13:00 0:00 \_ /usr/local/apache/bin/httpd -k start -DSSL sialive 26311 5.3 0.0 0 0 ? Z 13:05 0:00 | \_ <defunct> nobody 25659 0.0 0.3 74012 3520 ? S 13:01 0:00 \_ /usr/local/apache/bin/httpd -k start -DSSL nobody 25976 0.0 0.3 74012 3476 ? S 13:02 0:00 \_ /usr/local/apache/bin/httpd -k start -DSSL nobody 26158 0.0 0.3 74012 3512 ? S 13:04 0:00 \_ /usr/local/apache/bin/httpd -k start -DSSL root 4817 0.0 1.2 84968 12448 ? S 08:36 0:00 cpdavd - accepting connections on 2077 and 2078 root 4851 0.0 0.5 34756 5616 ? S 08:36 0:00 queueprocd - wait to process a task root 4860 0.0 0.2 23536 2124 ? SN 08:36 0:00 cpanellogd - sleeping for logs root 4861 0.0 0.7 39444 7480 ? S 08:36 0:04 tailwatchd root 4883 0.0 1.2 84552 12308 ? S 08:36 0:01 cpsrvd - waiting for connections mailnull 18450 0.0 0.1 64340 1104 ? Ss 11:49 0:00 /usr/sbin/exim -bd -q120m root 18471 0.0 3.7 105180 38376 ? Ss 11:49 0:01 /usr/bin/spamd -d --allowed-ips=127.0.0.1 --pidfile=/var/run/spamd.pid --max-children=2 --ma root 18477 0.0 3.7 105620 38152 ? S 11:49 0:01 \_ spamd child named 18597 0.0 0.4 238768 4724 ? Ssl 11:50 0:02 /usr/sbin/named -u named [~]# php -v PHP 5.3.2 (cli) (built: Sep 12 2010 14:10:00) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies PHP:
cPanel needs not more than 128MB of RAM and 1GB is more than enough. Looking at the output of top and ps, it is clear that non of the process is abusing the resources. It looks like as if another VPS on the same node your VPS is on, is abusing resources thus slowing down other VPS'es. The output from your VPS shows no problems at all. I would have forwarded the output to the hosting provider and have had him check his main node.
As madaboutlinux said, it seems like the main server from your provider is very low in specs or another vps on the same node is getting abused. Would suggest asking your host about it or move to another respectable provider.
Sorry, I forgot to mention that I have other VPS as well which is 512 MB RAM which as as my primary DNS & this 1 GB VPS is acting as secondly DNS. Not sure other will eat up the resources.
Never use Cpanel for VPS even if its optimised, try reinstalling with Kloxo it will work fine, also in your case it is the problem with the hosting company not with Cpanel