Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7714191
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T02:04:04+00:00 2026-06-01T02:04:04+00:00

Require a huge help here, since this is affecting our production instance. One of

  • 0

Require a huge help here, since this is affecting our production instance.

One of the replica server is failing due to lack of memory (see below chunk of piece from kern.log)

kernel: [80110.848341] Out of memory: kill process 4643 (mongod) score 214181 or a child
kernel: [80110.848349] Killed process 4643 (mongod)

UPDATE

kernel: mongod invoked oom-killer: gfp_mask=0x201da, order=0, oom_adj=0
kernel: [85544.157191] mongod cpuset=/ mems_allowed=0
kernel: [85544.157195] Pid: 7545, comm: mongod Not tainted 2.6.32-318-ec2

Insight:

  1. Primary server DB size is 50GB out of which 30GB is filled by index.
  2. Primary server has 7GB Ram whereas secondary server has 3.1GB Ram.
  3. Both servers are 64-bit machine and running Debian/Ubuntu respectively.
  4. Running Mongo 2.0.2 on both servers

Note:
I see a similar issue has been created in Jira-Mongo web-site recently – no answer to that yet.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T02:04:05+00:00Added an answer on June 1, 2026 at 2:04 am

    Have you got swap enabled on these instances? While generally not needed for mongoDB operation it can prevent the process from being killed by the kernel when you hit an OOM situation. That is mentioned here:

    http://www.mongodb.org/display/DOCS/Production+Notes#ProductionNotes-Swap

    The issue referenced is happening during a full re-sync rather than ongoing production replication – is that what you are doing also?

    Once you get things stable, take a look at your Res memory in mongostat or MMS, if that is exceeding or close to 3GB you should consider upgrading your secondary.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our application requires very huge memory since it deals with very large data. Hence
I'm developing a program that would require huge amount of memory, and I want
I require help to search a text file (log file) using c# and display
NOTE Due to the successful outcome of this thread, the documentation at the provided
The other day I was given this huge set of arrays and told to
I am a bit stuck on how I should model this out. Here is
I have a few huge tables on a production SQL 2005 DB that need
Hey all I am having a huge problem here evenafter following every step of
I've got a huge log file (almost 6 GB) of a game server filled
I have this problem that I have many huge functions, and I'm using only

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.