mongodb cpu 超过100%居高不下的原因分析过程
-- mongodb cpu is high, infomation as below:
1 the message in the http://10.100.1.11:28017/ as below:
conn 3188663 R 2004 apollo.eacmscache { key: "mpage:en_US:layout.www.origin.com/connect_default" } 10.100.10.114:37852
2 check top status,find the hightest process, the pid is 19271
top - 02:56:01 up 830 days, 7:12, 3 users, load average: 4.23, 3.68, 3.53
Tasks: 248 total, 1 running, 247 sleeping, 0 stopped, 0 zombie
Cpu(s): 6.7%us, 2.7%sy, 0.0%ni, 88.5%id, 1.3%wa, 0.1%hi, 0.7%si, 0.0%st
Mem: 49430528k total, 49291660k used, 138868k free, 231876k buffers
Swap: 33551744k total, 2134896k used, 31416848k free, 47219484k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
19271 root 15 0 387g 9.8g 9.6g S 140.2 20.7 48:49.53 mongod
14551 root 15 0 480g 11g 11g S 15.9 24.4 18:21.43 mongod
3 find the process name of pid 19271
[root@346437-eastore_db1 ~]# ps -eaf|grep mongo
root 14551 1 31 01:59 ? 00:19:19 /db/mongodb/bin/mongod -f /etc/mongodb/27017.conf
root 14558 1 1 01:59 ? 00:00:50 /db/mongodb/bin/mongod -f /etc/mongodb/27019.conf
root 17742 21933 0 03:00 pts/2 00:00:00 grep mongo
root 19271 1 87 02:00 ? 00:53:24 /db/mongodb/bin/mongod -f /etc/mongodb/27018.conf
root 23465 4278 0 01:38 ? 00:00:00 sshd: mongo [priv]
mongo 25215 23465 0 01:40 ? 00:00:00 sshd: mongo@pts/1
mongo 25219 25215 0 01:40 pts/1 00:00:00 -bash
it is /db/mongodb/bin/mongod -f /etc/mongodb/27018.conf
4 see the log
find the log directory in /etc/mongodb/27018.conf, it is ok, nothing error infomation.
5, see the message in http://10.100.1.11:28017/ again
there are many info about: apollo.eacmscache { key: "mpage:en_US:layout.www.origin.com/connect_default" }
check the db apollo anc the collecion eacmscache, the index of key is created,
Is many query of apollo.eacmscache cause the cpu spike ?
6 now, i see the w status, the cpu is normal, and why ? i can't find any error infomation about this spike.
7 i sent email to jeff,and he told me :
they are pictures cache of the website of OC,it's ok,np,ignore it,pls.
mongodb cpu 超过100%居高不下的原因分析过程的更多相关文章
- w3wp.exe(IIS ) CPU 占用 100% 的常见原因及解决办法
对于IIS 管理员来说,经常会碰到 Web 服务器 CPU 占用 100% 的情况,以下是个人的日常工作总结和一些解决办法,主要用来剖析 w3wp.exe(IIS ) 占用 CPU 100% 的一些 ...
- w3wp.exe(IIS ) CPU 占用 100% 的常见原因
引起 w3wp.exe(IIS ) Cpu 占用 100% 的常见原因如下: 1. Web 访问量大,从而服务器压力大而引起的 2. 动态页面(.aspx)的程序逻辑复杂程度 3. 页面程序中有死循环 ...
- mongoDb CPU利用率100%的分析和解决
在公司的项目中,突然出现过一个情况,mongodb 的CPU利用率到达100%,导致服务器这边卡死了,请求了半天无响应,提示请求超时. 因为,当时APP用户可能会在某一个时间段集中的使用,所以,请求量 ...
- 关于PHP的 PHP-FPM进程CPU 100%的一些原因分析和解决方案
之前碰到过php-fpmCPU高达80%-90%,特此记录下 1. 查看是否是硬件问题 方式:top 命令 主要查看:load average(平均负载),这是一个4核8G内存的服务器 1分钟平均负 ...
- J2EE用户CPU占用过大后的分析过程
1.找到最耗CPU的java线程ps命令 命令:ps -mp pid -o THREAD,tid,time 或者 ps -Lfp pid 结果展示: 2.可以获取到 ...
- CMMI5级——原因分析及解决方案(Causal Analysis and Resolution)
版权声明:本文为博主原创文章,未经博主允许不得转载. https://blog.csdn.net/u010825142/article/details/15338085 聪明的人在出现问题的时候,除了 ...
- blesta运行造成阿里云服务器CPU频繁超载的原因分析
博主在阿里云服务器上安装了主机软件Blesta后,阿里云后台频繁提示CPU超载,打开突发性能模式后,发现CPU负载到了100%.如下图所示: 直接在putty里面reboot整个系统后,负载瞬间降为2 ...
- 记java应用linux服务单个CPU使用率100%分析
之前在做项目的过程中,项目完成后在linux服务器上做性能测试,当服务跑起来的时候发现cpu使用率很奇怪,java应用把单个cpu跑满了,其他cpu利用率0%. 刚开始遇到这问题的时候我第一时间反应使 ...
- PostgreSQL CPU满(100%)性能分析及优化(转)
PostgreSQL CPU满(100%)性能分析及优化 转自:https://help.aliyun.com/knowledge_detail/43562.html 在数据库运维当中,一个DB ...
随机推荐
- 2-4. BCD解密(10)
BCD数是用一个字节来表达两位十进制的数,每四个比特表示一位.所以如果一个BCD数的十六进制是0x12,它表达的就是十进制的12.但是小明没学过BCD,把所有的BCD数都当作二进制数转换成十进制输出了 ...
- Oracle EBS-SQL (INV-4):检查负库存记录数.sql
DEFINE DATE1="01/15/20** 23:59:59" /*输入指定日期*/DEFINE CODE="%" ...
- Hot-Bar 軟板設計注意事項
Hot-Bar reflow (熔錫熱壓焊接),其最只要功能,就是利用熱壓頭熔融已經印刷於電子印刷電路(PCB)上的錫膏,藉以連接兩個各自獨立的電子零件,最常見到的是將軟排線(FPB)焊接於電子印刷電 ...
- VS2005设置Release模式可调试
from:http://www.cppblog.com/fwxjj/archive/2009/09/25/97219.html
- MSSQL 日期操作函数 总结
set ANSI_NULLS ON set QUOTED_IDENTIFIER ON go ALTER FUNCTION [dbo].[ufn_getDateOfWeek] (@Date Dateti ...
- openstack中文文档
http://www.openstack.cn/p392.html openStack Hacker中文文档 http://docs.mirantis.com/fuel-dev/develop/a ...
- git使用三把斧
git status -查看哪些更改 git add file1 file2 ...
- Spring、XML配置AOP
新建一个AOP类: public class MyInterceptor2 { public void doAccessCheck(){ System.out.println("前置通知 & ...
- wx.BookCtrlBase
wx.BookCtrlBase A book control is a convenient way of displaying multiple pages of information, disp ...
- 如何修改 UINavigationController、UINavigationBar 中 navigationItem 左侧 “返回” 按钮的名称
如果我们从 title 为 “首页” 的页面 A 点击进入一个子页面 B,那么在页面 B 的左上角将显示一个名为 “<首页” 的按钮.假设这个页面 A 叫 “你是我天边最美的云彩”,那在页面 B ...