[SERVER-6830] mongod crash: [conn487770] ERROR: 13601 Couldn't remap private view: errno:13 Permission denied Created: 22/Aug/12  Updated: 06/Dec/22  Resolved: 14/Nov/16

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: 2.0.6
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: William Zola Assignee: Backlog - Storage Execution Team
Resolution: Duplicate Votes: 3
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
Assigned Teams:
Storage Execution
Operating System: ALL
Participants:
Case:

 Description   

Stack trace:

Wed Aug 22 06:51:47 [conn487770] ERROR: 13601 Couldn't remap private view: errno:13 Permission denied
Wed Aug 22 06:51:47 [conn487770] aborting
mem info: vsize: 4212826 resident: 21129 mapped: 2103461
Wed Aug 22 06:51:47 Got signal: 6 (Aborted).
 
Wed Aug 22 06:51:47 Backtrace:
0xa95ce9 0x7f61db83eaf0 0x7f61db83ea75 0x7f61db8425c0 0x68387c 0x75dd9d 0x7608d3 0x760ecc 0x7a277a 0x88c3ab 0x88e945 0xaa0bc8 0x6389f7 0x7f61dc3429ca 0x7f61db8f170d
 /data/bin/mongod(_ZN5mongo10abruptQuitEi+0x3a9) [0xa95ce9]
 /lib/libc.so.6(+0x33af0) [0x7f61db83eaf0]
 /lib/libc.so.6(gsignal+0x35) [0x7f61db83ea75]
 /lib/libc.so.6(abort+0x180) [0x7f61db8425c0]
 /data/bin/mongod(_ZN5mongo16MemoryMappedFile16remapPrivateViewEPv+0xfc) [0x68387c]
 /data/bin/mongod(_ZN5mongo8MongoMMF19remapThePrivateViewEv+0x3d) [0x75dd9d]
 /data/bin/mongod(_ZN5mongo3dur17_REMAPPRIVATEVIEWEv+0x233) [0x7608d3]
 /data/bin/mongod(_ZN5mongo3dur16REMAPPRIVATEVIEWEv+0x3c) [0x760ecc]
 /data/bin/mongod(_ZN5mongo10MongoMutex4lockEv+0x17a) [0x7a277a]
 /data/bin/mongod(_ZN5mongo14receivedInsertERNS_7MessageERNS_5CurOpE+0x19b) [0x88c3ab]
 /data/bin/mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0x11c5) [0x88e945]
 /data/bin/mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0x78) [0xaa0bc8]
 /data/bin/mongod(_ZN5mongo3pms9threadRunEPNS_13MessagingPortE+0x287) [0x6389f7]
 /lib/libpthread.so.0(+0x69ca) [0x7f61dc3429ca]
 /lib/libc.so.6(clone+0x6d) [0x7f61db8f170d]



 Comments   
Comment by Eric Milkie [ 14/Nov/16 ]

SERVER-4739

Comment by Asya Kamsky [ 18/Jul/16 ]

Likely fixed in 2.6 by SERVER-4739

If there haven't been sightings of this since pre-2.6 then can be closed as dup.

Comment by Eric Milkie [ 28/May/13 ]

Perhaps we can just handle this error by retrying the mmap().

Comment by Eric Milkie [ 23/Aug/12 ]

I think this is because our logrotate signal handler (or other signal handler) is improper. My theory is that when it signals during an mmap() call, mmap() returns this error. See linked CS ticket.

Generated at Thu Feb 08 03:12:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.