[SERVER-24893] FATAL ERROR: Out of memory trying to allocate internal tcmalloc data Created: 05/Jul/16 Updated: 05/Jul/16 Resolved: 05/Jul/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Admin |
| Affects Version/s: | 3.2.7 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Manish Gupta | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Ubuntu server 14.04 LTS 64 bit |
||
| Attachments: |
|
| Operating System: | ALL |
| Participants: |
| Description |
|
I am running mongodb 3.2.7 on ubuntu 14.04 64 bit server. The mongodb server keeps crashing every 2-3 hours. On restart it says this: stop: Unknown instance: When I open the mongo shell after this, I see thew following error and the shell is closed automatically. src/third_party/gperftools-2.2/src/page_heap_allocator.h:74] FATAL ERROR: Out of memory trying to allocate internal tcmalloc data (bytes, object-size) 131072 48 This error was not there 2 days ago. So how can I correct this error? |
| Comments |
| Comment by Ramon Fernandez Marina [ 05/Jul/16 ] | ||||||||||||||||||||||||
|
manish2492, thanks for uploading the log file; I see the following in it:
The SERVER RESTARTED marker without a proper shutdown indicates that mongod was terminated by the OOM killer. Combined with the subsequent out of memory errors, I would say that this machine is underpowered – specifically it needs more memory. Please note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag, where your question will reach a larger audience. A question like this involving more discussion would be best posted on the mongodb-user group. See also our Technical Support page for additional support resources. Regards, | ||||||||||||||||||||||||
| Comment by Manish Gupta [ 05/Jul/16 ] | ||||||||||||||||||||||||
|
Mongodb log file |