Interpreting this PS Activity?


#1

Greetings,

I need some help tracking down problems with the site slowing down and scripts getting killed from memory being maxed out.

Here is my PS activity from: sudo sp aux:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.9 0.3 24324 1992 ? Ss 09:32 3:24 /sbin/init
dhapache 2741 0.3 5.0 338476 29096 ? S 15:45 0:00 /dh/apache2/apache2-psxxxxxx/apache2-psxxxxxx-httpd -DModSSL -d /dh/apache2/apache2-psxxxxxx
dhapache 2814 0.8 5.0 338556 29060 ? S 15:45 0:00 /dh/apache2/apache2-psxxxxxx/apache2-psxxxxxx-httpd -DModSSL -d /dh/apache2/apache2-psxxxxxx
dhapache 2816 0.0 4.9 338164 28604 ? S 15:45 0:00 /dh/apache2/apache2-psxxxxxx/apache2-psxxxxxx-httpd -DModSSL -d /dh/apache2/apache2-psxxxxxx
dhapache 2831 0.0 5.0 338428 28984 ? S 15:45 0:00 /dh/apache2/apache2-psxxxxxx/apache2-psxxxxxx-httpd -DModSSL -d /dh/apache2/apache2-psxxxxxx
dhapache 3034 0.1 5.0 338436 28824 ? S 15:46 0:00 /dh/apache2/apache2-psxxxxxx/apache2-psxxxxxx-httpd -DModSSL -d /dh/apache2/apache2-psxxxxxx
dhapache 3056 0.0 4.7 337884 27472 ? S 15:46 0:00 /dh/apache2/apache2-psxxxxxx/apache2-psxxxxxx-httpd -DModSSL -d /dh/apache2/apache2-psxxxxxx
dhapache 3066 0.4 5.0 338452 29056 ? S 15:46 0:00 /dh/apache2/apache2-psxxxxxx/apache2-psxxxxxx-httpd -DModSSL -d /dh/apache2/apache2-psxxxxxx
dhapache 3067 0.7 5.0 338452 29096 ? S 15:46 0:00 /dh/apache2/apache2-psxxxxxx/apache2-psxxxxxx-httpd -DModSSL -d /dh/apache2/apache2-psxxxxxx
11072448 3134 1.5 2.5 169640 14712 ? S 15:46 0:00 php5.cgi -c /dh/etc/php-ini/oneofmysites.com.5064073/php.ini
dhapache 3188 1.2 5.0 338452 29060 ? S 15:46 0:00 /dh/apache2/apache2-psxxxxxx/apache2-psxxxxxx-httpd -DModSSL -d /dh/apache2/apache2-psxxxxxx
dhapache 3192 0.2 5.0 338344 28836 ? S 15:46 0:00 /dh/apache2/apache2-psxxxxxx/apache2-psxxxxxx-httpd -DModSSL -d /dh/apache2/apache2-psxxxxxx
dhapache 3193 1.2 5.0 338476 28820 ? S 15:46 0:00 /dh/apache2/apache2-psxxxxxx/apache2-psxxxxxx-httpd -DModSSL -d /dh/apache2/apache2-psxxxxxx
dhapache 3194 0.5 0.0 0 0 ? Z 15:46 0:00 [apache2-ps35711]
dhapache 3196 0.1 5.0 338308 28848 ? S 15:46 0:00 /dh/apache2/apache2-psxxxxxx/apache2-psxxxxxx-httpd -DModSSL -d /dh/apache2/apache2-psxxxxxx
root 3211 0.0 0.2 23128 1168 pts/5 S+ 15:46 0:00 sudo ps aux
root 3212 0.0 0.1 14868 1044 pts/5 R+ 15:46 0:00 ps aux
root 4678 0.2 5.7 337884 32972 ? Ss 14:59 0:05 /dh/apache2/apache2-psxxxxxx/apache2-psxxxxxx-httpd -DModSSL -d /dh/apache2/apache2-psxxxxxx
dhapache 4888 0.0 4.7 336656 27084 ? S 14:59 0:00 /dh/apache2/apache2-psxxxxxx/fcgi-pm -DModSSL -d /dh/apache2/apache2-psxxxxxx
dhapache 5154 0.0 4.7 337860 27520 ? S 14:59 0:01 /dh/apache2/apache2-psxxxxxx/apache2-psxxxxxx-httpd -DModSSL -d /dh/apache2/apache2-psxxxxxx
12277255 12913 0.3 3.6 267864 21108 ? S 15:20 0:05 php54.cgi
postfix 13531 0.0 0.4 39284 2392 ? S 14:23 0:00 pickup -l -t fifo -u -c
root 14080 0.0 0.2 120004 1352 ? Sl 09:32 0:01 /usr/sbin/rsyslogd -c4
daemon 14245 0.0 0.0 19020 380 ? Ss 09:32 0:00 /usr/sbin/atd
root 14268 0.0 0.0 6180 436 ? S 09:32 0:00 /usr/sbin/courierlogger -pid=/var/run/courier/authdaemon/pid -start /usr/lib/courier/courier-authlib/authdaemond
root 14270 0.0 0.1 22796 700 ? S 09:32 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 14315 0.0 0.0 22796 156 ? S 09:32 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 14429 0.0 0.1 21212 996 ? Ss 09:32 0:00 /usr/sbin/cron
12277255 15304 0.0 0.3 104196 1748 ? Sl 09:32 0:22 /home/xxxxxxx/local/sphinx/bin/searchd -c /home/xxxxxxx/local/sphinx/etc/sphinx-items.conf
root 16271 0.0 0.5 70512 3248 ? Ss 15:26 0:00 sshd: xxxxxxx [priv]
xxxxxxx 16296 0.0 0.2 70512 1496 ? S 15:26 0:00 sshd: xxxxxxx@pts/5
xxxxxxx 16299 0.0 0.3 17780 1840 pts/5 Ss 15:26 0:00 -bash
root 16314 0.0 0.2 33620 1380 pts/5 S 15:26 0:00 sudo -s
root 16344 0.0 0.3 17820 1928 pts/5 S 15:26 0:00 /bin/bash
root 16980 0.0 0.5 70516 3260 ? Ss 15:27 0:00 sshd: xxxxxxx [priv]
12277255 17005 0.0 0.2 70516 1500 ? S 15:27 0:00 sshd: xxxxxxx@pts/6
12277255 17007 0.0 0.3 17844 1944 pts/6 Ss+ 15:27 0:00 -bash
12590868 17167 0.6 3.7 267596 21724 ? S 15:34 0:04 php54.cgi
root 17352 0.0 0.4 37220 2348 ? Ss 09:32 0:00 /usr/lib/postfix/master
postfix 17385 0.0 0.4 39440 2432 ? S 09:32 0:00 qmgr -l -t fifo -u -c
root 17413 0.0 0.2 49224 1156 ? Ss 09:32 0:00 /usr/sbin/sshd
root 18108 0.0 1.7 51112 9792 ? Ss 09:32 0:06 /usr/bin/python /usr/bin/supervisord
12277255 20837 0.2 3.4 267596 19604 ? S 15:40 0:01 php54.cgi
11072448 21140 1.1 3.2 174336 18900 ? S 15:40 0:04 php5.cgi -c /dh/etc/php-ini/oneofmysites.com.5064073/php.ini
12590868 25432 2.5 3.8 268504 22120 ? R 15:41 0:08 php54.cgi
12590868 25438 2.4 3.4 266308 19964 ? S 15:41 0:07 php54.cgi
12590868 25507 0.4 3.3 267668 19304 ? S 15:41 0:01 php54.cgi
12590868 26004 1.7 3.5 268144 20252 ? S 15:42 0:03 php54.cgi
dhapache 26738 0.2 5.0 338472 29048 ? S 15:44 0:00 /dh/apache2/apache2-psxxxxxx/apache2-psxxxxxx-httpd -DModSSL -d

There is a bunch of scripts that seem to be using a lot of memory: /dh/apache2/apache2-psxxxxxx/apache2-psxxxxxx-httpd -DModSSL -d /dh/apache2/apache2-psxxxxxx .
14 Of these same scripts are using up around 70% of my memory.

I have only one site that uses SSL and it’s only on the login/registration/checkout/account pages. It doesn’t seem to be used very often. Does anything stick out in the log above or any solution to the SSL memory hogging stuff?

Thanks
Kind regards