- android - RelativeLayout 背景可绘制重叠内容
- android - 如何链接 cpufeatures lib 以获取 native android 库?
- java - OnItemClickListener 不起作用,但 OnLongItemClickListener 在自定义 ListView 中起作用
- java - Android 文件转字符串
我在 linux 的 mongo 2.4.1 中看到如下错误
错误似乎是随机的,我仍然无法将其跟踪到特定查询。
我确实检查了大的跳过值,但没有 https://jira.mongodb.org/browse/SERVER-10136
一个示例错误是它在同一查询后并不总是失败
Fri Oct 11 15:16:52.780 [conn3429148] end connection 10.11.32.100:39274 (82 connections now open)
Fri Oct 11 15:16:52.781 [initandlisten] connection accepted from 10.11.32.100:39276 #3429150 (83 connections now open)
Fri Oct 11 15:16:53.661 [initandlisten] connection accepted from 10.11.32.98:59418 #3429151 (84 connections now open)
Fri Oct 11 15:16:53.694 [initandlisten] connection accepted from 10.11.32.97:39813 #3429152 (85 connections now open)
Fri Oct 11 15:17:06.811 [conn3429152] command xrr.$cmd command: { aggregate: "VehicleReview", pipeline: [ { $match: { make: "honda", model: "accord", year: "2013", moderationStatus: "STATUS_PASSED" } }, { $sort: { created: -1 } }, { $limit: 1 }, { $skip: 0 }, { $project: { _id: 1, _class: 1, author: 1, created: 1, updated: 1, title: 1, legacyId: 1, targetId: 1, text: 1, favoriteFeatures: 1, suggestedImprovements: 1, thumbsUpDownCounter: 1, ratings: 1, averageRating: 1, make: 1, model: 1, year: 1, subModels: 1, comments: { $ifNull: [ "$comments.comments", [ { moderationStatus: "STATUS_REJECTED" } ] ] } } }, { $unwind: "$comments" }, { $group: { _id: { _id: "$_id", _class: "$_class", author: "$author", created: "$created", updated: "$updated", title: "$title", targetId: "$targetId", text: "$text", legacyId: "$legacyId", favoriteFeatures: "$favoriteFeatures", suggestedImprovements: "$suggestedImprovements", thumbsUpDownCounter: "$thumbsUpDownCounter", ratings: "$ratings", averageRating: "$averageRating" }, commentsCount: { $sum: { $cond: [ { $eq: [ "$comments.moderationStatus", "STATUS_REJECTED" ] }, 0, 1 ] } } } }, { $sort: { _id.created: -1 } } ] } ntoreturn:1 keyUpdates:0 numYields: 107 locks(micros) r:22908773 reslen:1678 13115ms
Fri Oct 11 15:17:06.811 [conn3428793] command xrr.$cmd command: { aggregate: "VehicleReview", pipeline: [ { $match: { make: "nissan", model: "altima", year: "2013", moderationStatus: "STATUS_PASSED" } }, { $group: { _id: { _id: "$all" }, averageRating: { $avg: "$averageRating" } } } ] } ntoreturn:1 keyUpdates:0 numYields: 185 locks(micros) r:34276392 reslen:91 20340ms
Fri Oct 11 15:17:06.811 [conn3429151] command xrr.$cmd command: { aggregate: "VehicleReview", pipeline: [ { $match: { make: "hyundai", model: "sonata", year: "2013", moderationStatus: "STATUS_PASSED" } }, { $sort: { c Oct 11 15:17:34.216 out of memory, printing stack and exiting:
0xdc7f71 0x6cd2ae 0x11fa48d 0xaf4a4f 0xaf0e8f 0xaf17ad 0xaf189f 0xaec46e 0xaec589 0xaea92e 0xaf82e8 0xaf8549 0xae3530 0xae39ef 0xaf0b2f 0xaf17c6 0xaf189f 0xb168c0 0x8a0ad2 0x8cd0ca
/usr/bin/mongod(_ZN5mongo15printStackTraceERSo+0x21) [0xdc7f71]
/usr/bin/mongod(_ZN5mongo14my_new_handlerEv+0x3e) [0x6cd2ae]
/usr/bin/mongod(_Znwm+0x6d) [0x11fa48d]
/usr/bin/mongod(_ZNSt6vectorIN5mongo18DocumentSourceSort9KeyAndDocESaIS2_EE7reserveEm+0x6f) [0xaf4a4f]
/usr/bin/mongod(_ZN5mongo18DocumentSourceSort12populateTopKEv+0x6f) [0xaf0e8f]
/usr/bin/mongod(_ZN5mongo18DocumentSourceSort8populateEv+0x2d) [0xaf17ad]
/usr/bin/mongod(_ZN5mongo18DocumentSourceSort3eofEv+0xf) [0xaf189f]
/usr/bin/mongod(_ZN5mongo18DocumentSourceSkip7skipperEv+0x6e) [0xaec46e]
/usr/bin/mongod(_ZN5mongo18DocumentSourceSkip3eofEv+0x9) [0xaec589]
/usr/bin/mongod(_ZN5mongo21DocumentSourceProject3eofEv+0xe) [0xaea92e]
/usr/bin/mongod(_ZN5mongo20DocumentSourceUnwind8lazyInitEv+0x138) [0xaf82e8]
/usr/bin/mongod(_ZN5mongo20DocumentSourceUnwind3eofEv+0x9) [0xaf8549]
/usr/bin/mongod(_ZN5mongo19DocumentSourceGroup8populateEv+0x30) [0xae3530]
/usr/bin/mongod(_ZN5mongo19DocumentSourceGroup3eofEv+0xf) [0xae39ef]
/usr/bin/mongod(_ZN5mongo18DocumentSourceSort11populateAllEv+0x2f) [0xaf0b2f]
/usr/bin/mongod(_ZN5mongo18DocumentSourceSort8populateEv+0x46) [0xaf17c6]
/usr/bin/mongod(_ZN5mongo18DocumentSourceSort3eofEv+0xf) [0xaf189f]
/usr/bin/mongod(_ZN5mongo8Pipeline3runERNS_14BSONObjBuilderERSs+0x1d0) [0xb168c0]
/usr/bin/mongod(_ZN5mongo15PipelineCommand3runERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x132) [0x8a0ad2]
/usr/bin/mongod(_ZN5mongo12_execCommandEPNS_7CommandERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x3a) [0x8cd0ca]
Greated: -1 } }, { $limit: 1 }, { $skip: 0 }, { $project: { _id: 1, _class: 1, author: 1, created: 1, updated: 1, title: 1, legacyId: 1, targetId: 1, text: 1, favoriteFeatures: 1, suggestedImprovements: 1, thumbsUpDownCounter: 1, ratings: 1, averageRating: 1, make: 1, model: 1, year: 1, subModels: 1, comments: { $ifNull: [ "$comments.comments", [ { moderationStatus: "STATUS_REJECTED" } ] ] } } }, { $unwind: "$comments" }, { $group: { _id: { _id: "$_id", _class: "$_class", author: "$author", created: "$created", updated: "$updated", title: "$title", targetId: "$targetId", text: "$text", legacyId: "$legacyId", favoriteFeatures: "$favoriteFeatures", suggestedImprovements: "$suggestedImprovements", thumbsUpDownCounter: "$thumbsUpDownCounter", ratings: "$ratings", averageRating: "$averageRating" }, commentsCount: { $sum: { $cond: [ { $eq: [ "$comments.moderationStatus", "STATUS_REJECTED" ] }, 0, 1 ] } } } }, { $sort: { _id.created: -1 } } ] } ntoreturn:1 keyUpdates:0 numYields: 106 locks(micros) r:22339823 reslen:1133 13143ms
Fri Oct 11 15:17:06.846 [conn3428793] end connection 10.11.32.97:50953 (84 connections now open)
Fri Oct 11 15:17:13.702 [initandlisten] connection accepted from 10.11.32.101:33466 #3429154 (85 connections now open)
Fri Oct 11 15:17:13.702 [conn3429149] end connection 10.11.32.101:33464 (83 connections now open)
Fri Oct 11 15:17:19.310 [conn3429115] command local.$cmd command: { collstats: "oplog.rs" } ntoreturn:1 keyUpdates:0 locks(micros) r:201604 reslen:290 201ms
Fri Oct 11 15:17:21.672 [conn3429151] command xrr.$cmd command: { aggregate: "VehicleReview", pipeline: [ { $match: { make: "hyundai", model: "sonata", year: "2013", moderationStatus: "STATUS_PASSED" } }, { $group: { _id: { _id: "$all" }, averageRating: { $avg: "$averageRating" } } } ] } ntoreturn:1 keyUpdates:0 numYields: 79 locks(micros) r:27839288 reslen:91 14859ms
Fri Oct 11 15:17:21.672 [conn3429152] command xrr.$cmd command: { aggregate: "VehicleReview", pipeline: [ { $match: { make: "honda", model: "accord", year: "2013", moderationStatus: "STATUS_PASSED" } }, { $group: { _id: { _id: "$all" }, averageRating: { $avg: "$averageRating" } } } ] } ntoreturn:1 keyUpdates:0 numYields: 74 locks(micros) r:28227783 reslen:91 14859ms
Fri Oct 11 15:17:22.931 [conn3429150] end connection 10.11.32.100:39276 (83 connections now open)
Fri Oct 11 15:17:22.932 [initandlisten] connection accepted from 10.11.32.100:39278 #3429155 (85 connections now open)
Fri Oct 11 15:17:23.691 [PeriodicTask::Runner] task: DBConnectionPool-cleaner took: 12ms
Fri Oct 11 15:17:25.458 [initandlisten] connection accepted from 10.11.32.97:39816 #3429156 (85 connections now open)
Fri Oct 11 15:17:25.592 [initandlisten] connection accepted from 10.11.32.98:59425 #3429157 (86 connections now open)
Fri Oct 11 15:17:25.966 [initandlisten] connection accepted from 10.11.32.97:39817 #3429158 (87 connections now open)
Fri Oct 11 15:17:25.993 [initandlisten] connection accepted from 10.11.32.97:39818 #3429159 (88 connections now open)
tcmalloc: large alloc 51539607552 bytes == (nil) @
Fri Oct 11 15:17:34.216 out of memory, printing stack and exiting:
0xdc7f71 0x6cd2ae 0x11fa48d 0xaf4a4f 0xaf0e8f 0xaf17ad 0xaf189f 0xaec46e 0xaec589 0xaea92e 0xaf82e8 0xaf8549 0xae3530 0xae39ef 0xaf0b2f 0xaf17c6 0xaf189f 0xb168c0 0x8a0ad2 0x8cd0ca
/usr/bin/mongod(_ZN5mongo15printStackTraceERSo+0x21) [0xdc7f71]
/usr/bin/mongod(_ZN5mongo14my_new_handlerEv+0x3e) [0x6cd2ae]
/usr/bin/mongod(_Znwm+0x6d) [0x11fa48d]
/usr/bin/mongod(_ZNSt6vectorIN5mongo18DocumentSourceSort9KeyAndDocESaIS2_EE7reserveEm+0x6f) [0xaf4a4f]
/usr/bin/mongod(_ZN5mongo18DocumentSourceSort12populateTopKEv+0x6f) [0xaf0e8f]
/usr/bin/mongod(_ZN5mongo18DocumentSourceSort8populateEv+0x2d) [0xaf17ad]
/usr/bin/mongod(_ZN5mongo18DocumentSourceSort3eofEv+0xf) [0xaf189f]
/usr/bin/mongod(_ZN5mongo18DocumentSourceSkip7skipperEv+0x6e) [0xaec46e]
/usr/bin/mongod(_ZN5mongo18DocumentSourceSkip3eofEv+0x9) [0xaec589]
/usr/bin/mongod(_ZN5mongo21DocumentSourceProject3eofEv+0xe) [0xaea92e]
/usr/bin/mongod(_ZN5mongo20DocumentSourceUnwind8lazyInitEv+0x138) [0xaf82e8]
/usr/bin/mongod(_ZN5mongo20DocumentSourceUnwind3eofEv+0x9) [0xaf8549]
/usr/bin/mongod(_ZN5mongo19DocumentSourceGroup8populateEv+0x30) [0xae3530]
/usr/bin/mongod(_ZN5mongo19DocumentSourceGroup3eofEv+0xf) [0xae39ef]
/usr/bin/mongod(_ZN5mongo18DocumentSourceSort11populateAllEv+0x2f) [0xaf0b2f]
/usr/bin/mongod(_ZN5mongo18DocumentSourceSort8populateEv+0x46) [0xaf17c6]
/usr/bin/mongod(_ZN5mongo18DocumentSourceSort3eofEv+0xf) [0xaf189f]
/usr/bin/mongod(_ZN5mongo8Pipeline3runERNS_14BSONObjBuilderERSs+0x1d0) [0xb168c0]
/usr/bin/mongod(_ZN5mongo15PipelineCommand3runERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x132) [0x8a0ad2]
?out /usr/bin/mongod(_ZN5mongo12_execCommandEPNS_7CommandERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x3a) [0x8cd0ca]
最佳答案
2.4.1 和 2.4.6 之间有 150 个错误修复(截至撰写此答案时为 2.4 的当前次要版本)。您可以查看完整列表 here .
有几个可能适用:
https://jira.mongodb.org/browse/SERVER-9213 https://jira.mongodb.org/browse/SERVER-9230
但是,它们并不特定于您正在运行的查询类型(尽管可能有其他人在其他地方做出贡献)。还有这个bue,还是打2.4.6,适用于聚合框架(跑到前面的stack trace导致崩溃):
https://jira.mongodb.org/browse/SERVER-10554
因此,我会尝试测试 2.4.7-rc0 (或 2.4.7+,一旦这些版本可用)看看是否可以消除您的问题。
关于mongodb - tcmalloc : large alloc out of memory in mongo,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19394501/
在 ARM 中,内存类型指定为: 正常 设备 强烈有序 在Device type里面,好像这个类型也可以区分 不可共享的设备内存 可共享设备内存 不可共享和可共享设备内存有什么区别?我们如何分别使用这
在 ARM 中,内存类型指定为: 正常 设备 强烈有序 在Device type里面,好像这个类型也可以区分 不可共享的设备内存 可共享设备内存 不可共享和可共享设备内存有什么区别?我们如何分别使用这
This diagram很清楚不同YARN和Spark内存相关设置之间的关系,除了spark.python.worker.memory。 spark.python.worker.memory 如何适应
我正在尝试使用复杂的if-else决策树来实现GLSL片段着色器。不幸的是,着色器编译器很早就失败,并出现“语法错误-内存耗尽”错误。 GLSL中的代码大小或决策树深度是否有任何限制?有什么建议如何克
什么是“标记内存”,它如何帮助减小程序大小? 最佳答案 您可能指的是 tagged union ,或更具体地说是硬件实现,如 LISP 机器中使用的标记架构。基本上是一种存储具有类型信息的数据的方法。
我的内存有问题。我不明白为什么当我的程序长时间运行时 Go 使用越来越多的内存(从不释放它)。 第一次分配后,程序使用了将近 9 MB 的内存。然后在 12 小时后,它开始以指数方式使用更多内存,直到
在 Windows 机器上,MATLAB 用户可以使用 memory或 feature memstats命令。但是,这些都不能在机器上工作,失败如下: >> memory??? Error using
引导 Linux 内核时,可以在 RAM 中加载 initramfs 存档和 DTB 文件,并将这些物理地址指定给内核。例如,使用 U-Boot,您可以执行以下操作: bootz 0x80008000
我正在学习虚拟内存的概念,但是这个问题让我困惑了一段时间。由于大多数现代计算机都使用虚拟内存,因此当程序正在执行时,操作系统应该在 RAM 和磁盘之间将数据分页进出。但为什么我们仍然遇到“内存不足”的
我在 Colab Pro+(使用高 RAM 选项)上运行神经网络时发现了这个问题。 运行时错误:CUDA 内存不足。尝试分配 8.00 GiB(GPU 0;15.90 GiB 总容量;12.04 Gi
当我在任何地方阅读基于操作系统的书籍时,考虑到时间限制和开销很高,从内存和 I\O(子系统)获取数据是昂贵的,这就是为什么在某些硬件制造商中提供一些其他方式来访问它们,如ARM7 some ISAs像
据我所知,ADS v.10 尝试将查询结果保留在内存中,直到它变得非常大。对于 __output 表和临时表也应该如此。当结果变大时,交换声明。 问题是为查询、 worker 等设置了什么内存限制?可
序言 我正在写一个小演示文稿来列出使用 Docker 时的一些“陷阱”,我也遇到了自己的一个问题。 在解释让 Docker 在没有内存限制的情况下运行的危险时,我发现它的行为不像我预期的那样。 我使用
我们有一个 ASP.NET 项目(40 个左右的 Web 表单、50 个表、相当标准的 IO 内容,并尽可能减少),很快需要部署。系统上大约有 100 个并发用户,但任何时候只有大约 20 个用户在使
我在 dotcloud 上使用 redis 内存存储,但尽管 key 已过期,但它的 used_memory 再也不会下降。从 redis-cli 使用 flushdb 或 flushall 不会导致
我使用的是 Xcode 10.2.1 和 macOS Catalina Developer Beta 2。每当我尝试使用内存图调试器时,我都会收到此错误: Memory Graph Debugger:
所以我一直在寻找这个问题的解决方案有一段时间了。我编写了一个程序来从两个单独的文本文件中获取数据,对其进行解析,然后输出到另一个文本文件和一个 ARFF 文件以供 Weka 分析。我遇到的问题是我编写
对不起,我对 erlang 文档中的以下描述不太清楚: erlang:memory() -> [{Type, Size}] with Type: "total" means: "The total a
在查看示例合约时,有时会在带有“内存”的方法中声明数组,有时则不会。有什么区别? 最佳答案 如果没有内存关键字,Solidity会尝试在存储中声明变量。 首席 Solidity 开发者 chriset
我不明白Matlab并行计算工具箱中的parfor cicle是如何与内存一起工作的:我读到它在所有worker之间共享内存(然后我认为每个worker(核心)都可以访问感兴趣的内存位置而无需制作本地
我是一名优秀的程序员,十分优秀!