数据库运行缓慢...是一个包含大约400万个文档的11gb数据库。
db.currentOp()生成:
Thu Jun 26 21:32:10.979 Assertion: 16686:error converting js type to Utf8Value
0x10e703360 0x10e6dcc2a 0x10e6da0dd 0x10e6c1aa8 0x10e6bd207 0x10e8fd0d9 0x10e900381 0x10e971b18 0x1469a3906362 0x1469a391701e
0 mongo 0x000000010e703360 _ZN5mongo15printStackTraceERSo + 64
1 mongo 0x000000010e6dcc2a _ZN5mongo11msgassertedEiPKc + 186
2 mongo 0x000000010e6da0dd _ZN5mongo11toSTLStringERKN2v86HandleINS0_5ValueEEE + 109
3 mongo 0x000000010e6c1aa8 _ZN5mongo7V8Scope16mongoToV8ElementERKNS_11BSONElementEb + 4792
4 mongo 0x000000010e6bd207 _ZN5mongoL8namedGetEN2v85LocalINS0_6StringEEERKNS0_12AccessorInfoE + 839
5 mongo 0x000000010e8fd0d9 _ZN2v88internal8JSObject35GetPropertyAttributeWithInterceptorEPS1_PNS0_6StringEb + 665
6 mongo 0x000000010e900381 _ZN2v88internal10JSReceiver32GetPropertyAttributeWithReceiverEPS1_PNS0_6StringE + 289
7 mongo 0x000000010e971b18 _ZN2v88internal19Runtime_HasPropertyENS0_9ArgumentsEPNS0_7IsolateE + 104
8 ??? 0x00001469a3906362 0x0 + 22443948270434
9 ??? 0x00001469a391701e 0x0 + 22443948339230
mongostat --all产生:
insert query update delete getmore command flushes mapped vsize res non-mapped faults locked db idx miss % qr|qw ar|aw netIn netOut conn time
*0 *0 *0 *0 0 1|0 0 18.6g 40.2g 1.71g 21.6g 3213 directoryListings:0.0% 0 0|0 1|0 62b 4k 71 21:34:08
*0 *0 *0 *0 0 1|0 0 18.6g 40.2g 1.7g 21.6g 3166 directoryListings:0.0% 0 0|0 1|0 62b 4k 71 21:34:09
*0 *0 *0 *0 0 1|0 0 18.6g 40.2g 1.7g 21.6g 2908 directoryListings:0.0% 0 0|0 1|0 62b 4k 71 21:34:10
完全失败。为什么currentOp()会返回该错误?如果它与字符编码有关,因为错误暗示为什么Mongo会让我把东西放在DB中,这是错误的"字符编码? O_O
感谢您的帮助......
答案 0 :(得分:0)
如果您使用此处提到的某个版本,这似乎是MongoDB中的错误