Moved to Dreamhost PS
Posted by: alexalex09
Posted on: 2009-10-03 22:05:00
Hi all,
I'm having an issue with PHP 5 on my Dreamhost PS.
I was firstly moved automatically to a new server which had PHP 5 (I was previously on PHP 4). About 2-3 days later Dreamhost automatically moved me now to a Dreamhost PS.
My site is now up however each process of PHP 5 is taking too much MB is my opinion and that's probably what is causing the high memory/CPU load which made Dreamhost transfer me to this PS.
With PHP 4 my resources for PHP looked like which I think isn't too bad as Dreamhost never complained about it.
php.cgi 4104.9200 99.923% 17.104% 105868 0.039
As you can see below here is "top" running on the Dreamhost PS which shows PHP 5 taking up lots of memory:
top - 21:57:30 up 2:08, 1 user, load average: 38.97, 39.12, 36.14
Tasks: 30 total, 9 running, 3 sleeping, 0 stopped, 1 zombie
Cpu(s): 9.4%us, 0.9%sy, 0.0%ni, 89.5%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st
Mem: 2355200k total, 1262184k used, 1093016k free, 0k buffers
Swap: 921600k total, 0k used, 921600k free, 0k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
18067 alexxxxx 15 0 81528 26m 7576 H 3 1.2 0:47.52 php5.cgi
18072 alexxxxx 15 0 80500 26m 7524 H 3 1.2 0:48.24 php5.cgi
18073 alexxxxx 15 0 81560 26m 7604 H 3 1.2 0:48.95 php5.cgi
18075 alexxxxx 16 0 81528 26m 7568 H 3 1.2 0:48.69 php5.cgi
18076 alexxxxx 15 0 81540 26m 7600 H 3 1.2 0:49.33 php5.cgi
18215 alexxxxx 15 0 81680 26m 7596 R 3 1.2 0:47.86 php5.cgi
18005 alexxxxx 16 0 82052 27m 8196 H 3 1.2 0:49.23 php5.cgi
18216 alexxxxx 16 0 77904 23m 7600 H 3 1.0 0:47.40 php5.cgi
18065 alexxxxx 15 0 80528 26m 7520 H 3 1.2 0:50.56 php5.cgi
18003 alexxxxx 16 0 79236 24m 7584 R 2 1.1 0:51.28 php5.cgi
11405 alexxxxx 16 0 75888 21m 7880 R 2 0.9 0:52.37 php5.cgi
18044 alexxxxx 16 0 84232 30m 7532 H 1 1.3 0:49.58 php5.cgi
18066 alexxxxx 16 0 84892 30m 7524 R 1 1.3 0:48.85 php5.cgi
5587 alexxxxx 15 0 68004 14m 7476 H 1 0.6 0:11.93 php5.cgi
18004 alexxxxx 15 0 68676 14m 7932 R 1 0.6 0:50.89 php5.cgi
18045 alexxxxx 15 0 68020 14m 7532 H 1 0.6 0:49.97 php5.cgi
18070 alexxxxx 16 0 68020 14m 7536 R 1 0.6 0:49.20 php5.cgi
I guess what I would like to know is, is this normal? Is there a way I can configure this PS to run PHP 4 instead?
Thanks in advance,
Alex.