Fri Mar 8 07:35:22 [conn848] warning: ClientCursor::yield can't unlock b/c of recursive lock ns: mcard.log_mcard_gateway top: { opid: 540542974, active: true, secs_running: 2, op: "query", ns: "mcard", query: { $msg: "query not recording (too large)" }, client: "192.168.169.43:58817", desc: "conn848", threadId: "0x742a6940", connectionId: 848, locks: { ^: "W" }, waitingForLock: false, numYields: 0, lockStats: { timeLockedMicros: {}, timeAcquiringMicros: { R: 0, W: 2928355 } } } Fri Mar 8 07:35:22 [conn848] command mcard.$cmd command: { $eval: "//统计日志里某些关键字频率,并提取到告警邮件里 var metric_name="异常数据次数"; var cur = db.log_mcard_gateway...", args: [ { nolock: true } ] } ntoreturn:1 keyUpdates:0 locks(micros) W:4890 reslen:66 2933ms Fri Mar 8 07:35:22 [conn172] warning: ClientCursor::yield can't unlock b/c of recursive lock ns: mongolog.easy_pay top: { opid: 540542975, active: true, secs_running: 2, op: "query", ns: "mongolog", query: { $msg: "query not recording (too large)" }, client: "192.168.169.43:57723", desc: "conn172", threadId: "0x688f6940", connectionId: 172, locks: { ^: "W" }, waitingForLock: false, numYields: 0, lockStats: { timeLockedMicros: {}, timeAcquiringMicros: { R: 0, W: 2933413 } } } Fri Mar 8 07:35:22 [conn172] warning: ClientCursor::yield can't unlock b/c of recursive lock ns: mongolog.easy_pay top: { opid: 540542975, active: true, secs_running: 2, op: "query", ns: "mongolog", query: { $msg: "query not recording (too large)" }, client: "192.168.169.43:57723", desc: "conn172", threadId: "0x688f6940", connectionId: 172, locks: { ^: "W" }, waitingForLock: false, numYields: 0, lockStats: { timeLockedMicros: {}, timeAcquiringMicros: { R: 0, W: 2933413 } } } Fri Mar 8 07:35:22 [conn172] JS Error: SyntaxError: invalid quantifier ++OfcardRechargePurchaseResult=ret_code=1&sporder_id=3031303086c6adaa8-c6 nofile_a:0 Fri Mar 8 07:35:23 [conn172] assertion 10071 error on invocation of $where function: JS Error: SyntaxError: invalid quantifier ++OfcardRechargePurchaseResult=ret_code=1&sporder_id=3031303086c6adaa8-c6 nofile_a:0 ns:mongolog.easy_pay query:{ $where: "this.message.match("reduce money success.*3031303086c6adaa8-c6+++OfcardRechargePurchaseResult=ret_code=1&sporder_id=3031303086c6adaa8-c6")", timestamp: { $gt: new Date(1362677722993) } } Fri Mar 8 07:35:23 [conn172] ntoskip:0 ntoreturn:-1 Fri Mar 8 07:35:23 [conn172] problem detected during query over mongolog.easy_pay : { $err: "error on invocation of $where function: JS Error: SyntaxError: invalid quantifier ++OfcardRechargePurchaseResult=ret_code=1&sporder_id=3031303086c6ada...", code: 10071 } Fri Mar 8 07:35:23 [conn172] JS Error: uncaught exception: error { "$err" : "error on invocation of $where function:\nJS Error: SyntaxError: invalid quantifier ++OfcardRechargePurchaseResult=ret_code=1&sporder_id=3031303086c6adaa8-c6 nofile_a:0", "code" : 10071 } src/third_party/gperftools-2.0/src/thread_cache.h:355] ptr != list->Next() Fri Mar 8 07:35:23 Got signal: 6 (Aborted). Fri Mar 8 07:35:23 Backtrace: 0xade6e1 0x5582d9 0x37528302d0 0x3752830265 0x3752831d10 0xa2138b 0x9b003f 0xc21656 0x3764a9cabc 0xbbd236 0xb058b5 0x893ba9 0x9138cb 0x894b60 0xbd5884 0xb9c460 0xb9d1d0 0x6571f1 0x658d5d 0x659c1e /opt/mongodb/bin/mongod(_ZN5mongo15printStackTraceERSo+0x21) [0xade6e1] /opt/mongodb/bin/mongod(_ZN5mongo10abruptQuitEi+0x399) [0x5582d9] /lib64/libc.so.6 [0x37528302d0] /lib64/libc.so.6(gsignal+0x35) [0x3752830265] /lib64/libc.so.6(abort+0x110) [0x3752831d10] /opt/mongodb/bin/mongod(_ZN8tcmalloc3LogENS_7LogModeEPKciNS_7LogItemES3_S3_S3_+0x20b) [0xa2138b] /opt/mongodb/bin/mongod [0x9b003f] /opt/mongodb/bin/mongod(tc_delete+0x36) [0xc21656] /usr/lib64/libstdc++.so.6(_ZNSs6assignERKSs+0xac) [0x3764a9cabc] /opt/mongodb/bin/mongod(_ZN5mongo13errorReporterEP9JSContextPKcP13JSErrorReport+0x106) [0xbbd236] /opt/mongodb/bin/mongod(js_ReportErrorNumberVA+0x1d5) [0xb058b5] /opt/mongodb/bin/mongod(JS_ReportErrorNumber+0x99) [0x893ba9] /opt/mongodb/bin/mongod(js_ReportUncaughtException+0x1fb) [0x9138cb] /opt/mongodb/bin/mongod(JS_CallFunction+0x60) [0x894b60] /opt/mongodb/bin/mongod(_ZN5mongo7SMScope6invokeEP10JSFunctionPKNS_7BSONObjES5_ibbb+0x314) [0xbd5884] /opt/mongodb/bin/mongod(_ZN5mongo6dbEvalERKSsRNS_7BSONObjERNS_14BSONObjBuilderERSs+0x1f0) [0xb9c460] /opt/mongodb/bin/mongod(_ZN5mongo7CmdEval3runERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x260) [0xb9d1d0] /opt/mongodb/bin/mongod(_ZN5mongo12_execCommandEPNS_7CommandERKSsRNS_7BSONObjEiRNS_14BSONObjBuilderEb+0x51) [0x6571f1] /opt/mongodb/bin/mongod(_ZN5mongo11execCommandEPNS_7CommandERNS_6ClientEiPKcRNS_7BSONObjERNS_14BSONObjBuilderEb+0xcfd) [0x658d5d] /opt/mongodb/bin/mongod(_ZN5mongo12_runCommandsEPKcRNS_7BSONObjERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x2ae) [0x659c1e]