Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue May 18, 2010 7:26 pm 
Offline
Senior Newbie

Joined: Tue May 18, 2010 7:11 pm
Posts: 8
I installed the mercury/pantheon script and everything runs swimmingly for the most part but something is crashing and not letting me connect to my server IP.

I've tried restarting apache and that doesn't work, I'm left with rebooting the server then it comes up. I haven't had any jobs running except whatever mercury/pantheon sets up. Any ideas?

Do I not have enough memory? I know mercury recommends at least 512MB.


Top
   
PostPosted: Tue May 18, 2010 7:32 pm 
Offline
Senior Newbie

Joined: Tue May 18, 2010 7:11 pm
Posts: 8
i get a different error if i just kill apache, the 'cannot connect error' is probably something deeper.


Top
   
 Post subject: ok memory issues
PostPosted: Tue May 18, 2010 7:48 pm 
Offline
Senior Newbie

Joined: Tue May 18, 2010 7:11 pm
Posts: 8
Hello,

The spikes in IO usage and none responsiveness you are seeing are the result of your Linode running out of memory. The following errors were on your Linode's console prior to your most recent reboot:

Out of memory: kill process 2496 (varnishd) score 289632 or a child
Killed process 2496 (varnishd)
Out of memory: kill process 3426 (varnishd) score 577727 or a child
Killed process 3426 (varnishd)
Out of memory: kill process 2806 (jsvc) score 35379 or a child
Killed process 2806 (jsvc)
Out of memory: kill process 3468 (varnishd) score 577215 or a child
Killed process 3468 (varnishd)
Out of memory: kill process 3467 (jsvc) score 69696 or a child
Killed process 3467 (jsvc)
Out of memory: kill process 3491 (varnishd) score 577727 or a child
Killed process 3491 (varnishd)
Out of memory: kill process 3508 (jsvc) score 69746 or a child
Killed process 3508 (jsvc)
Out of memory: kill process 3530 (varnishd) score 30382 or a child
Killed process 3530 (varnishd)
Out of memory: kill process 2884 (apache2) score 20321 or a child
Killed process 2884 (apache2)
Out of memory: kill process 2864 (apache2) score 19368 or a child
Killed process 2864 (apache2)

You will want to look in to configuration changes that you can make to reduce Apache and Varnish's memory usage. Documentation on trouble shooting memory usage issue and some suggested setting for Apache can be found at:
http://library.linode.com/troubleshooti ... networking

For suggestions on optimizing Varnish's memory usage you will want to consult with the Linode community to see what other configuration changes they have made to Varnish to reduce its memory usage. If you have any further questions please feel free to ask us.

--Peter


Top
   
PostPosted: Tue May 18, 2010 7:54 pm 
Offline
Senior Newbie

Joined: Tue May 18, 2010 7:11 pm
Posts: 8
The stackscript says 512 which is laughable now that I'm looking at it.

I'm on 540mb and I've got like 20mb free which means it's easy to run out of memory. If I upped to 720mb and/or adjust apache/varnish settings would that be enough to run this comfortably or do i have to do a big upgrade or drop this memcache/varnish stuff altogether?


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


Who is online

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