Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Jan 20, 2010 1:18 pm 
Offline

Joined: Wed Jan 20, 2010 12:55 pm
Posts: 1
currently i am running a linode 360 with ubuntu 9.1 apache/mysql/php and when site gets moderatly busy, it locks up and needs a reboot (site is http://207.192.74.90 )
looking at the graphs in control panel im getting io spikes of 9K when the site crashes, im thinking this is a memory issue so have reduced setting in apache and mysql but it still happens

have looked in syslog, but nothing in there looks amiss either

im going to move the linode to the london center and will take the time to get the best of it, and may have to upgrade to a 540, hence asking for advice on setup

having a quick look around the forum it seems that lighthttpd is less of a resource hog than apache so can someone point me at somewhere than has a step-by-step guide to getting it running with php/mysql
im not too fused as to which distro im running

any advice welcomed :)

thanks


Top
   
 Post subject:
PostPosted: Wed Jan 20, 2010 7:06 pm 
Offline
Junior Member

Joined: Sat Oct 24, 2009 2:16 pm
Posts: 21
Personally I used http://nanotux.com/blog/the-ultimate-server/ - a pretty good tutorial


Top
   
 Post subject:
PostPosted: Thu Jan 21, 2010 9:51 am 
Offline
Senior Member

Joined: Thu Apr 03, 2008 12:02 am
Posts: 103
AOL: derole
I run nginx with fcgi - works very well.

You can also use nginx as a front-end for apache and have it handle only the dynamic requests (and use nginx for serving the static data).

But the quickest way to fix your setup is to tune your apache configuration a bit and e.g. reduce the number of processes you allow.
Search the forums, there are a ton of threads discussing the various options.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group