Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Apr 22, 2013 6:25 pm 
Offline
Junior Member
User avatar

Joined: Wed Apr 11, 2012 8:46 am
Posts: 31
Website: http://www.neomallers.com
Location: Toronto Canada
So I decided to move over from prefork to worker but with no luck.

Keep in mind, Im still quite new at this so this is a guide ive used:

http://www.failover.co/blog/quick-setup ... pm-and-apc

I followed each to the dot but everytime i try to load a php file, it gives a not found error. Everything else works fine though (static html, images, etc)
Running ubuntu 10.04 LTS 32 bit..

Error logs in apache:
File does not exist: /srv/www/neomallers.com/public_html/counter/cgi-bin/php5
From the looks of it, it seems as if it's trying to load php5 off the public docs folder? Im not sure..

As an aside, I've tried a bunch of other guides as well but one or all of the following happens

(1) php file becomes downloable (not good!)
(2) not found error

Any help would be greatly appreciated! Thanks!!


Top
   
PostPosted: Mon Apr 22, 2013 10:53 pm 
Offline
Junior Member
User avatar

Joined: Wed Apr 11, 2012 8:46 am
Posts: 31
Website: http://www.neomallers.com
Location: Toronto Canada
So I finally got it working.. but it seems i ran into more trouble.. only 279 MB of 1 GB used in RAM, and it's swapping slightly (123 of 256M)
I guess it's either APC or memcached going haywire...
CPU is wayyyy down though..


Image
The spikes are mysql db backup crons that run


Image
crazy red swap spike was under prefork and doing a load test


Top
   
PostPosted: Wed Apr 24, 2013 9:08 am 
Offline
Junior Member

Joined: Fri Mar 08, 2013 11:15 am
Posts: 30
Website: http://www.jasonlitka.com
That swap could have been from before. Turn it off and back on. Then wait a bit to see if it comes back.

_________________
Jason Litka
Utter Ramblings


Top
   
PostPosted: Wed Apr 24, 2013 10:26 am 
Offline
Junior Member
User avatar

Joined: Wed Apr 11, 2012 8:46 am
Posts: 31
Website: http://www.neomallers.com
Location: Toronto Canada
Yep I did that. It was swapping a bit initially but it seems to have stabilized

total used free shared buffers cached
Mem: 1000 960 40 0 33 387
-/+ buffers/cache: 539 461
Swap: 255 28 227

28 mb swap used and average swap IO is minimal (~0.50) Im using more memory (539) as usual but Im guessing it has something to do with APC/memcache


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


Who is online

Users browsing this forum: No registered users and 2 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