Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Jun 06, 2011 4:04 am 
Offline
Senior Newbie

Joined: Sat Mar 19, 2011 9:57 pm
Posts: 17
My Linode (plan 512) is reaching its RAM limit. I'm noticing this at some times when browsing my website and also while trying to deploy my code through Git. It usually crashes with a "cannot unpack" error.

Below is a snippet from Lish. Is there anything I can do to tune my linode or should I upgrade to the next plan / purchase additional RAM.

Thanks !


Code:
----- SNIP -----
Out of memory: Kill process 14797 (nano) score 478 or sacrifice child                 
Killed process 14797 (nano) total-vm:394876kB, anon-rss:276072kB, file-rss:0kB                     
Out of memory: Kill process 14805 (nano) score 515 or sacrifice child                               
Killed process 14805 (nano) total-vm:423260kB, anon-rss:410080kB, file-rss:0kB                     
Out of memory: Kill process 16112 (nano) score 483 or sacrifice child                               
Killed process 16112 (nano) total-vm:398576kB, anon-rss:285064kB, file-rss:0kB                     
Out of memory: Kill process 3344 (git) score 427 or sacrifice child                                 
Killed process 3344 (git) total-vm:373284kB, anon-rss:329628kB, file-rss:20kB                       
Out of memory: Kill process 3557 (git) score 438 or sacrifice child                                 
Killed process 3557 (git) total-vm:373252kB, anon-rss:296124kB, file-rss:20kB                       
Out of memory: Kill process 1998 (mysqld) score 75 or sacrifice child                               
Killed process 1998 (mysqld) total-vm:275528kB, anon-rss:1948kB, file-rss:0kB                       
Out of memory: Kill process 2060 (git) score 418 or sacrifice child                                 
Killed process 2060 (git) total-vm:384936kB, anon-rss:289852kB, file-rss:0kB                       
Out of memory: Kill process 3514 (git) score 443 or sacrifice child                                 
Killed process 3514 (git) total-vm:385416kB, anon-rss:301176kB, file-rss:0kB                                                                 
----- SNIP -----


Top
   
 Post subject:
PostPosted: Mon Jun 06, 2011 5:06 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Well git using up ram isn't surprising, however browsing your site shouldn't kill it.

Install munin, have a read of the posts on this forum about optimizing apache/nginx/whatever you use.

For git, check out this http://www.kernel.org/pub/software/scm/ ... epack.html it has some variables you can set in gits global conf that might help.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Mon Jun 06, 2011 10:22 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
I used to run gitweb on my server to let people have a nice interface to my git repo, until I realized that gitweb was an insane memory hog that consumes obscene amounts of RAM; it was OOMing a 768 in a heartbeat.

I ended up just turning off gitweb, there didn't seem to be any decent replacements last I checked.


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


Who is online

Users browsing this forum: No registered users and 1 guest


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