Reply
Looking for someone to decrease server usage
Old 04-01-2008, 06:01 PM Looking for someone to decrease server usage
Average Talker

iTrader Rating: 0 (View)
Posts: 16
Hello im looking for someone to decrease my server usage load the site is
ietv .co .uk

I got this message from my host;

" When I first went to the site to troublshoot it was locked up once again
with the memory graphs maxed out. I restarted it and watched it for over
2 hours until the usage slowly climbed to 1500, looking to be on a steady
trend up. There are currently 81 live processes under your free**** user
typically using 15MB of RAM each. That would be 81 processes with 101
connections. It seems like there is likely a lot that could be done to
cache your code so that PHP processes aren't triggered to eat up RAM and
efficiently die each time they are triggered b a page load. I would
suggest auditing your sites code to make it use caching so so many
processes aren't spawned."

Any help will me much appreciated.

Cheers
Tom
tommmyc is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 04-01-2008, 07:17 PM Re: Looking for someone to decrease server usage
tripy's Avatar
Fetchez la vache!

iTrader Rating: 0 (View)
Posts: 1,924
Name: Thierry
Location: In the void
I have some experience with code and processes optimization.
What kind of site do you run? Buyed script, or hand coded?
If buyed, which one.

What kind of server, what specs ?
What services are used ?

What language does your site runs?
__________________
Listen to the ducky: "This is awesome!!!"

tripy is offline
Reply With Quote
View Public Profile
 
Old 04-02-2008, 07:10 AM Re: Looking for someone to decrease server usage
Average Talker

iTrader Rating: 0 (View)
Posts: 16
Site is based on a free bloging system Wordpress
On a VPS at dreamhost 1999 MHz of CPU time and 1999 MB
Sites run on PHP

Hope that Helps

Cheers
Tom
tommmyc is offline
Reply With Quote
View Public Profile
 
Old 04-02-2008, 08:57 AM Re: Looking for someone to decrease server usage
mork29's Avatar
Extreme Talker

iTrader Rating: 0 (View)
Posts: 243
Name: Keith Yelnick
How much ability do you have to modify the VPS that you're on?

I'm not offering to do anything for you, but look into implementing "lighty" lighthttpd. I believe http://howtoforge.com has a few articles on how to implement it.

Lighty acts as a front-end to your apache server. Any requests that come in for static content (most CSS, JS, Images, etc...) are served by lighty. It never tries to serve any dynamic content. Because of this, it's proccess sizes never grow larger than about 2MB. Currently, all of your files are being served by Apache. Once Apache serves PHP content, its proccesses will grow to between 15 and 20MB on average. However, those ultra-large processes will also serve the same static content, which could be handled much easier by a smaller process. So, lighty handles the static content, and apache only gets passed the dynamic requests, which means it can handle it with fewer proccesses. I've found with most CMS software, upwards of 70% of the http requests you see are for static content....

That being said, optimzing your code and setup is also a good idea.
mork29 is offline
Reply With Quote
View Public Profile
 
Old 04-03-2008, 03:58 PM Re: Looking for someone to decrease server usage
Average Talker

iTrader Rating: 0 (View)
Posts: 16
Thanks for your tips. Still looking for someone

Tom
tommmyc is offline
Reply With Quote
View Public Profile
 
Old 04-04-2008, 02:45 PM Re: Looking for someone to decrease server usage
Novice Talker

iTrader Rating: 0 (View)
Posts: 6
Since it is on VPS and you ought to have root access, you should be able to install some php accelerator witout any problems. You may try http://eaccelerator.net/ for example.
Leon2008 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Looking for someone to decrease server usage
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13672 seconds with 13 queries