08-29-2007, 11:23 PM
Join Date: Jun 2007
6 Day Suphp vs Nobody review
Ok, so it been 6 days since I went suphp so I figured I would update and give some feedback.
I switched back to nobody tonight and I will explain why. But Id like to point out that sometimes I can have up to 4 sites being ddosed at the same time so its pretty intensive. Im on a ddos protected network so everything I do handle at the server is low bandwidth and http floods but there often times can be a fight on your hands.
Anyway, was running as nobody every since I got litespeed. Handles dos very very well and keeps load low. Awesome page loads, awesome everything. but at times I would switch to su to see who all is using what.
I did notice a load increase and some spikiness but ran just like any other cgi app would. So with lots of thought on this I done the switch to suphp.
Nothing much had went on for the first few days but occasionally load got real high and sometimes every user would flash up with a lsphp process, and I think it was even sites that wasn't active but you know how it acts when you restart it, like there at the first it will show a lot of users with lsphp process? was like that but never lasted too long.
Average load of jumped from 1-5. So the other day some dos activity shows up. About 3 sites getting it all day. Today for the first time my litespeed lagged from high load from php processes. I switched back to nobody and average load is back to .20 - .40 and that is during an attack as well. Always runs like a champ that way.
I think the suphp feature would be great in my line of work if I had the hardware, just a core2duo 2.4 with 2gb ram. A woodcrest or quad would be what i need for what I do. The suphp feature is good in dos if you just had like one or two sites getting flooded it will prevent it from opening new php processes when it reaches its limit
But for what I do - a few high traffic vbulletin forums (well semi-high alexa ranked between 100k and 60k) , high risk hosting(gonna be dos to deal with sometimes from multiple users) Nobody is the best for the hardware I have.
In general and during attacks it runs fast and at super low load. I suppose it doesnt have to open as many php processes as suphp, seems like it doesnt.
As far as page load goes it seems like an inactive site would have a 1-2 second delay upon opening it. For example my blog which I test all speeds on, Here is some results from my page laod timer on my browser: first page load from empty cache Suphp = 3 seconds nobody = 1.8 seconds. Cached pages was hardly any difference at all but seems it fluctuated to .2 seconds slower then nobody.
I also tested from http://www.vertain.com and a few other speed tests. The conclusion I came to on my server was that suphp was about a second slower on first page load and about .10 to .20 slower on cached page load. And of course these are not totally accurate results, there are many factors invloved.
Id also like to point out that litespeed with suphp was still 2-3 times faster then apache running as nobody and load is much lower then it would be if you was running apache and mod_php.
We all know the benefits of suphp, I would really like to have it but on this hardware Im on running as nobody is better for me. I figure running as nobody isnt totally insecure if you use open_base and other protections and you can always switch to suphp in case you need to track down something.
So I think its pretty safe to say that running as cgi is a lil more intensive on the load. Now as far as page loads go Im still a lil divided myself on it because sometimes it seemed it loaded just as fast. I guess its where my server has been under a lot of traffic lately. as far as resource usage there was a pretty significant difference.
There it is, figured Id take the time to write a review on this subject, hope it helps
NOTE: I run a very intensive server as I deal with clients who have ddos problems, people that has been kicked off everywhere else. o unless you run high risk clients there wouldnt be much of a resource issue at all using suphp