Knowledgebase

suggested upgrades

Posted by NWSTech, 06-21-2007, 03:59 AM
hi, im not sure if this shold be in the dedicated forum or here so mods move if you feel appropriate. ive got a one of my personal sites - (a fairly mysql heavy chat community that works on mobile phones aswell) and its running on a cheap dedicated server the specs of the server at the moment are - celeron 2.0GHz 512mb ram 120gb ide disk 1500gb bandwidth linux centos 4 no control panel now i never come close to using my bandwidth so thats fine. but ive noticed when i had around 30 members online last night the server load spiked at about 3.5 so im wondering if anyone can suggest what would be the best thing to upgrade to reduce load. im currently running apache serving the dynamic files and lighttpd hosting images on a different port. using php 4.4.7 with eaccellerator. mod_gzip is enabled in apache due to a need to reduce the size of pages as much as possible. the ram and disk usage is as below any ideas. bear in mind i dont have much of a budget on upgrades so suggesting dual xeons is mostly out of the question

Posted by Adam H, 06-21-2007, 04:53 AM
Your ram usage looks fine there. Maybe you should think about a Pentium 4 with HT.

Posted by lpark1, 06-21-2007, 04:59 AM
RAM upgrades are always welcome and since it's so so cheap, you should put another 512 MB in it. Plus a Pentium 4 with HT as Adam suggested and you should be good. Celerons are not so made for servers in a way. They are good but if you have a heavy load then it doesn't cut anymore.

Posted by NWSTech, 06-21-2007, 05:00 AM
yea i know celerons are useless but at the time its all i had budget to get. as it is ive got around £40 a month to play with in total now Last edited by NWSTech; 06-21-2007 at 05:05 AM.

Posted by anatolijd, 06-21-2007, 07:41 AM
post here output of # top -c # ps axwww this at least provides information about memory & CPU usage per service running on server. And in general it would be better to issue those commands when server load spiked - you will know what exactly precesses are most expensive for the system resources, and this will give you an idea of where is a bottleneck.

Posted by cabron, 06-21-2007, 07:55 AM
Well the cheapest thing to do would be a ram upgrade, but i think a better server with a scsi hdd (just for the db and swap) will greatly improve performance.

Posted by NWSTech, 06-21-2007, 08:29 AM
hmmm. thanks for the suggestions all. ill have a word with my supplier see what my server can actually support upgrades wise

Posted by Abu Mami, 06-21-2007, 11:59 AM
I always recommend RAM upgrades - it really helps Apache

Posted by NWSTech, 06-21-2007, 12:27 PM
ok, load is highish at the moment (only about 20 online) output of top is - ps axwww is yes im aware vmware is installed and running but not inuse as i was going to use it for something then decided otherwise

Posted by mistwang, 06-21-2007, 07:55 PM
It does not look that bad, get AMD X2 with 1GB memory if you have the budget.

Posted by jon-f, 06-22-2007, 12:03 AM
well of course hardware can help but i recently discovered that litespeed http server from www.litespeedtech.com it runs at very low load and can handle lots of traffic even dos without using many resources at all. Plus its very fast. prices money though for the enterprise version but well worth it. One server I run is a p4 2.8 server with no ht. About 30-40 people online the load would get real high, under the slightest dos it would fork bomb to where the server was unresponsive. Since we put litespeed in it the load has stayed at around .08 on average and we havent had to reboot it since due to fork bombs. They have a standard version too but there is max 150 clients, if you dont have that many people online usually you could use that. I been pretty amazed by the litespeed and will implement it in all my servers. I was getting ready to upgrade the hardware in 2 of my boxes due to constant load over 2, since litespeed they wont need an upgrade for a long time. Give it a shot



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
vps4less.de down? (Views: 609)


Language:

Client Login

Email

Password

Remember Me

Search