-- 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%居高不下的原因分析过程的更多相关文章

  1. w3wp.exe(IIS ) CPU 占用 100% 的常见原因及解决办法

    对于IIS 管理员来说,经常会碰到 Web 服务器 CPU 占用 100% 的情况,以下是个人的日常工作总结和一些解决办法,主要用来剖析 w3wp.exe(IIS )  占用 CPU 100% 的一些 ...

  2. w3wp.exe(IIS ) CPU 占用 100% 的常见原因

    引起 w3wp.exe(IIS ) Cpu 占用 100% 的常见原因如下: 1. Web 访问量大,从而服务器压力大而引起的 2. 动态页面(.aspx)的程序逻辑复杂程度 3. 页面程序中有死循环 ...

  3. mongoDb CPU利用率100%的分析和解决

    在公司的项目中,突然出现过一个情况,mongodb 的CPU利用率到达100%,导致服务器这边卡死了,请求了半天无响应,提示请求超时. 因为,当时APP用户可能会在某一个时间段集中的使用,所以,请求量 ...

  4. 关于PHP的 PHP-FPM进程CPU 100%的一些原因分析和解决方案

    之前碰到过php-fpmCPU高达80%-90%,特此记录下 1. 查看是否是硬件问题 方式:top  命令 主要查看:load average(平均负载),这是一个4核8G内存的服务器 1分钟平均负 ...

  5. J2EE用户CPU占用过大后的分析过程

        1.找到最耗CPU的java线程ps命令 命令:ps -mp pid -o THREAD,tid,time   或者  ps -Lfp pid 结果展示:            2.可以获取到 ...

  6. CMMI5级——原因分析及解决方案(Causal Analysis and Resolution)

    版权声明:本文为博主原创文章,未经博主允许不得转载. https://blog.csdn.net/u010825142/article/details/15338085 聪明的人在出现问题的时候,除了 ...

  7. blesta运行造成阿里云服务器CPU频繁超载的原因分析

    博主在阿里云服务器上安装了主机软件Blesta后,阿里云后台频繁提示CPU超载,打开突发性能模式后,发现CPU负载到了100%.如下图所示: 直接在putty里面reboot整个系统后,负载瞬间降为2 ...

  8. 记java应用linux服务单个CPU使用率100%分析

    之前在做项目的过程中,项目完成后在linux服务器上做性能测试,当服务跑起来的时候发现cpu使用率很奇怪,java应用把单个cpu跑满了,其他cpu利用率0%. 刚开始遇到这问题的时候我第一时间反应使 ...

  9. PostgreSQL CPU满(100%)性能分析及优化(转)

    PostgreSQL CPU满(100%)性能分析及优化 转自:https://help.aliyun.com/knowledge_detail/43562.html    在数据库运维当中,一个DB ...

随机推荐

  1. J2SE知识点摘记(五)

    1.        引用数据类型的传递 java用引用代替C++中的指针 fun()方法接收的参数是是Change c1,也就是说说fun()方法接受的是一个对象的引用,所以fun方法中所所做的操作就 ...

  2. SRM 581 D2 L3:TreeUnionDiv2,Floyd算法

    题目来源:http://community.topcoder.com//stat?c=problem_statement&pm=12587&rd=15501 这道题目开始以为是要在无向 ...

  3. Java可视化编程,基于布局管理器的UI设计

    在<事件驱动模型>讲述了如何将用户与功能实现代码联系到一起.怎么样便于用户理解和符合用户的使用习惯? 本篇还是就此问题作分析,站在用户角度上分析UI各组件倒底该如何设计呈现. 优秀的UI会 ...

  4. dog-fooding-our-api-authentication

    Dog-fooding our API - Authentication http://blog.mirajavora.com/authenticate-web-api-using-access-to ...

  5. TCPDUMP详解(续)

    TCPdump抓包命令  tcpdump是一个用于截取网络分组,并输出分组内容的工具.tcpdump凭借强大的功能和灵活的截取策略,使其成为类UNIX系统下用于网络分析和问题排查的首选工具.  tcp ...

  6. where can I find source of com.android.internal.R.styleable.AlertDialog_multiChoiceItemLayout?

    I want to modify Alert dialog multi select layout. For my program I want two line multi-select item. ...

  7. TCP协议三次握手过程分析

    TCP(Transmission Control Protocol) 传输控制协议 TCP是主机对主机层的传输控制协议,提供可靠的连接服务,采用三次握手确认建立一个连接: 位码即tcp标志位,有6种标 ...

  8. Windows Server 2008防火墙问题及Sql Server2005用户登录问题

    一.Windows Server 2008防火墙问题 1.  问题: 1.在 Windows 安全中心中单击“立即打开”以打开 Windows 防火墙时,会收到以下错误消息:安全中心无法打开 Wind ...

  9. Android GridView(九宫图)

    GridView跟ListView都是比较常用的多控件布局,而GridView更是实现九宫图的首选! <?xml version="1.0" encoding="u ...

  10. Android 监听器

    Android提供很多种事件监听器,监听器主要是为了相应某个动作,可以通过监控这种动作行为,来完成我们需要的程序功能.      OnItemClickListener:               ...