[SERVER-5879] mongod. aborted by signal 6 Created: 21/May/12  Updated: 29/May/12  Resolved: 21/May/12

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

Type: Bug Priority: Critical - P2
Reporter: Azat Khuzhin Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

db version v2.1.1-pre-, pdfile version 4.5
git version: 31bdfd739ea47d46c011a642acc3c37c3932dc14


Operating System: ALL
Participants:

 Description   

Sun May 20 07:39:27 [conn630401] end connection 127.0.0.1:33056 (319 connections now open)
Sun May 20 07:39:27 [conn630734] shutdown: waiting for write lock...
Sun May 20 07:39:28 [conn630396] end connection 127.0.0.1:33055 (318 connections now open)
Sun May 20 07:39:29 [conn630403] end connection 127.0.0.1:33058 (317 connections now open)
Sun May 20 07:39:30 [conn630414] end connection 127.0.0.1:33071 (316 connections now open)
Sun May 20 07:39:31 [conn630405] end connection 127.0.0.1:33060 (315 connections now open)
Sun May 20 07:39:32 [conn630402] end connection 127.0.0.1:33057 (314 connections now open)
Sun May 20 07:39:33 [conn630409] end connection 127.0.0.1:33064 (313 connections now open)
Sun May 20 07:39:34 [conn630406] end connection 127.0.0.1:33061 (312 connections now open)
Sun May 20 07:39:35 [conn630408] end connection 127.0.0.1:33063 (311 connections now open)
Sun May 20 07:39:36 [conn630407] end connection 127.0.0.1:33062 (310 connections now open)
Sun May 20 07:39:37 [conn630410] end connection 127.0.0.1:33065 (309 connections now open)
Sun May 20 07:39:38 [conn630415] end connection 127.0.0.1:33072 (308 connections now open)
Sun May 20 07:39:39 [conn630412] end connection 127.0.0.1:33067 (307 connections now open)
Sun May 20 07:39:40 [conn630411] end connection 127.0.0.1:33066 (306 connections now open)
Sun May 20 07:39:41 [conn630456] end connection 127.0.0.1:33171 (305 connections now open)
Sun May 20 07:39:43 [conn630457] end connection 127.0.0.1:33172 (304 connections now open)
Sun May 20 07:39:44 [conn630455] end connection 127.0.0.1:33170 (303 connections now open)
Sun May 20 07:39:45 [conn630458] end connection 127.0.0.1:33173 (302 connections now open)
Sun May 20 07:39:46 [conn630464] end connection 127.0.0.1:33179 (301 connections now open)
Sun May 20 07:39:47 [conn630734] shutdown: couldn't acquire write lock, aborting
Sun May 20 07:39:47 couldn't acquire write lock
Sun May 20 07:39:47 Got signal: 6 (Aborted).
 
Sun May 20 07:39:47 Backtrace:
0x86afc6 0x5606c4 0x7f81acc15230 0x7f81acc151b5 0x7f81acc17fc0 0x9d91e7 0x9db06a 0x9db4d7 0x60dd82 0x7f81ad8ff8ca 0x7f81accb292d
 /usr/bin/mongod(_ZN5mongo15printStackTraceERSo+0x26) [0x86afc6]
 /usr/bin/mongod(_ZN5mongo10abruptQuitEi+0x3c4) [0x5606c4]
 /lib/libc.so.6(+0x32230) [0x7f81acc15230]
 /lib/libc.so.6(gsignal+0x35) [0x7f81acc151b5]
 /lib/libc.so.6(abort+0x180) [0x7f81acc17fc0]
 /usr/bin/mongod(_ZN5mongo10mongoAbortEPKc+0x47) [0x9d91e7]
 /usr/bin/mongod(_ZN5mongo14shutdownServerEv+0x33a) [0x9db06a]
 /usr/bin/mongod(_ZN5mongo6dbexitENS_8ExitCodeEPKcb+0x1e7) [0x9db4d7]
 /usr/bin/mongod(_ZN5mongo3pms9threadRunEPNS_13MessagingPortE+0x702) [0x60dd82]
 /lib/libpthread.so.0(+0x68ca) [0x7f81ad8ff8ca]
 /lib/libc.so.6(clone+0x6d) [0x7f81accb292d]
 
Logstream::get called in uninitialized state
Sun May 20 07:39:47 ERROR: Client::shutdown not called: conn

This node was in replica set - PRIMARY
And after I restart it manually - node goes to ROLLBACK state



 Comments   
Comment by Azat Khuzhin [ 21/May/12 ]

Can be closed

Comment by Azat Khuzhin [ 21/May/12 ]

I found reason:
Sun May 20 07:36:25 [conn630734] ERROR: Uncaught std::exception: boost::filesystem::basic_directory_iterator constructor: Too many open files: "/work/mongo/db", terminating

@eliot was right - it is ok

Comment by Azat Khuzhin [ 21/May/12 ]

Looks like, but I don't shutdown it, and swap/memory/disk was enough

Comment by Eliot Horowitz (Inactive) [ 21/May/12 ]

Looks like it was already trying to shutdown?
If so, this is ok.

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