免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1760 | 回复: 2
打印 上一主题 下一主题

[系统管理] linuxAS4,独立服务器,没有任何流量,内存吃的厉害 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-10-10 17:45 |只看该作者 |倒序浏览
4G内存,lnmp环境,等待网站上线,现在只放了一个coming soon的静态首页。无流量。

开始占用400多M内存,然后就一直没登陆进行过操作,12天后居然消耗了1个多G内存,请问正常吗?是什么导致的这种情况?

另外主机商默认装了很多东西,进程始终有80个左右,请问有哪些程序可以卸载?

以下是top命令后的内容:
  1. top - 17:15:51 up 12 days,  4:49,  1 user,  load average: 0.00, 0.00, 0.00
  2. Tasks:  81 total,   1 running,  80 sleeping,   0 stopped,   0 zombie
  3. Cpu(s):  0.0% us,  0.0% sy,  0.0% ni, 99.9% id,  0.0% wa,  0.0% hi,  0.0% si
  4. Mem:   4147876k total,  1036596k used,  3111280k free,   617032k buffers
  5. Swap:  8337724k total,        0k used,  8337724k free,   324948k cached

  6.   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND            
  7.     1 root      16   0  3632  560  480 S  0.0  0.0   0:01.22 init               
  8.     2 root      RT   0     0    0    0 S  0.0  0.0   0:00.09 migration/0        
  9.     3 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0        
  10.     4 root      RT   0     0    0    0 S  0.0  0.0   0:00.06 migration/1        
  11.     5 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/1        
  12.     6 root      RT   0     0    0    0 S  0.0  0.0   0:00.03 migration/2        
  13.     7 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/2        
  14.     8 root      RT   0     0    0    0 S  0.0  0.0   0:00.03 migration/3        
  15.     9 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/3        
  16.    10 root       5 -10     0    0    0 S  0.0  0.0   0:00.04 events/0           
  17.    11 root       5 -10     0    0    0 S  0.0  0.0   0:02.24 events/1           
  18.    12 root       5 -10     0    0    0 S  0.0  0.0   0:00.01 events/2           
  19.    13 root       5 -10     0    0    0 S  0.0  0.0   0:01.37 events/3           
  20.    14 root      10 -10     0    0    0 S  0.0  0.0   0:00.00 khelper            
  21.    15 root      15 -10     0    0    0 S  0.0  0.0   0:00.00 kacpid            
  22.    39 root       5 -10     0    0    0 S  0.0  0.0   0:01.16 kblockd/0         
  23.    40 root       5 -10     0    0    0 S  0.0  0.0   0:02.07 kblockd/1         
  24.    41 root       5 -10     0    0    0 S  0.0  0.0   0:00.39 kblockd/2         
  25.    42 root       5 -10     0    0    0 S  0.0  0.0   0:00.20 kblockd/3         
  26.    52 root      20   0     0    0    0 S  0.0  0.0   0:00.00 pdflush            
  27.    53 root      15   0     0    0    0 S  0.0  0.0   0:27.72 pdflush            
  28.    55 root      15 -10     0    0    0 S  0.0  0.0   0:00.00 aio/0              
  29.    56 root      15 -10     0    0    0 S  0.0  0.0   0:00.00 aio/1              
  30.    57 root      15 -10     0    0    0 S  0.0  0.0   0:00.00 aio/2              
  31.    58 root      15 -10     0    0    0 S  0.0  0.0   0:00.00 aio/3              
  32.    43 root      15   0     0    0    0 S  0.0  0.0   0:00.00 khubd              
  33.    54 root      25   0     0    0    0 S  0.0  0.0   0:00.00 kswapd0            
  34.   131 root      25   0     0    0    0 S  0.0  0.0   0:00.00 kseriod            
  35.   204 root      15   0     0    0    0 S  0.0  0.0   6:16.65 kjournald         
  36. 1009 root       6 -10  2820  452  368 S  0.0  0.0   0:00.00 udevd              
  37. 1539 root       6 -10     0    0    0 S  0.0  0.0   0:00.00 kauditd            
  38. 1646 root       7 -10     0    0    0 S  0.0  0.0   0:00.00 kmirrord           
  39. 1647 root       7 -10     0    0    0 S  0.0  0.0   0:00.00 kmir_mon           
  40. 1665 root      21   0     0    0    0 S  0.0  0.0   0:00.00 kjournald         
  41. 1906 root      16   0  2164  444  384 S  0.0  0.0   0:00.05 cpuspeed           
  42. 1907 root      16   0  2164  444  384 S  0.0  0.0   0:00.01 cpuspeed           
  43. 1908 root      16   0  2164  444  384 S  0.0  0.0   0:00.08 cpuspeed           
  44. 1910 root      16   0  2164  444  384 S  0.0  0.0   0:00.41 cpuspeed           
  45. 1994 root      15   0 16560  12m 4812 S  0.0  0.3   1:23.67 khostd            
  46. 2011 root      17   0 16592  12m 4744 S  0.0  0.3   0:04.45 khostd            
  47. 2155 root      16   0  2548  712  604 S  0.0  0.0   0:02.95 syslogd            
  48. 2244 root      16   0  1644  468  404 S  0.0  0.0   0:00.00 klogd              
  49. 2254 root      16   0  2512  484  404 S  0.0  0.0   0:00.04 irqbalance         
  50. 2263 rpc       20   0  1844  560  472 S  0.0  0.0   0:00.00 portmap            
  51. 2332 root      16   0  2208  816  608 S  0.0  0.0   0:00.00 smartd            
  52. 2341 root      18   0  1520  544  472 S  0.0  0.0   0:00.00 acpid              
  53. 2348 root      18   0  4736 1920 1540 S  0.0  0.0   0:00.00 nginx              
  54. 2349 www       15   0 15172  12m 1688 S  0.0  0.3   0:18.04 nginx              
  55. 2355 root      15   0 22536 6736 3700 S  0.0  0.2   0:03.04 php-cgi            
  56. 2356 www       17   0 22576 7612 4560 S  0.0  0.2   0:04.34 php-cgi            
  57. 2357 www       16   0 22732 7832 4728 S  0.0  0.2   0:04.39 php-cgi            
  58. 2358 www       17   0 22732 7944 4840 S  0.0  0.2   0:04.38 php-cgi            
  59. 2359 www       17   0 22732 7832 4728 S  0.0  0.2   0:04.39 php-cgi            
  60. 2360 www       16   0 22576 7480 4424 S  0.0  0.2   0:04.34 php-cgi            
  61. 2405 root      17   0  5848 1712 1404 S  0.0  0.0   0:06.65 sshd               
  62. 2418 root      15   0  3336  832  700 S  0.0  0.0   0:00.03 xinetd            
  63. 2431 root      25   0  5144 1224 1044 S  0.0  0.0   0:00.01 mysqld_safe        
  64. 2534 mysql     16   0 26816 5104 2400 S  0.0  0.1   0:00.11 mysqld            
  65. 2539 mysql     16   0 26816 5104 2400 S  0.0  0.1   0:00.30 mysqld            
  66. 2540 mysql     16   0 26816 5104 2400 S  0.0  0.1   0:00.00 mysqld            
  67. 2562 root      16   0  7728 3224 2156 S  0.0  0.1   0:00.18 sendmail           
  68. 2570 smmsp     16   0  6980 2636 1824 S  0.0  0.1   0:00.11 sendmail           
  69. 2580 root      16   0  2820  528  456 S  0.0  0.0   0:00.00 gpm               
  70. 2586 root      16   0  8080 1480 1184 S  0.0  0.0   0:00.00 pure-ftpd         
  71. 2593 root      16   0  5424 1108  712 S  0.0  0.0   0:00.05 crond              
  72. 2656 root      19   0  6508 1460 1208 S  0.0  0.0   0:00.00 bka               
  73. 2673 root      16   0  2300  736  616 S  0.0  0.0   0:00.00 atd               
  74. 2682 dbus      15   0  4096 1232 1088 S  0.0  0.0   0:00.00 dbus-daemon-1      
  75. 2691 root      16   0  8072 5272 1596 S  0.0  0.1   0:00.49 hald               
  76. 2705 root      15   0  4588 1260  792 S  0.0  0.0   0:51.57 gdisk_watchdog     
  77. 2900 root      18   0 27812 2444 1612 S  0.0  0.1   0:00.00 nmagent            
  78. 2918 root      16   0 25372 1536 1264 S  0.0  0.0   0:01.04 monitoragent      
  79. 2921 root      18   0  2480  404  348 S  0.0  0.0   0:00.00 mingetty           
  80. 2922 root      18   0  2356  400  348 S  0.0  0.0   0:00.00 mingetty           
  81. 2923 root      18   0  2480  404  348 S  0.0  0.0   0:00.00 mingetty           
  82. 2924 root      18   0  2840  404  348 S  0.0  0.0   0:00.00 mingetty           
  83. 2925 root      18   0  2840  404  348 S  0.0  0.0   0:00.00 mingetty           
  84. 2926 root      17   0  1640  404  348 S  0.0  0.0   0:00.00 mingetty           
  85. 29910 root      16   0  8628 2300 1828 S  0.0  0.1   0:00.04 sshd               
  86. 29914 root      16   0  4596 1388 1128 S  0.0  0.0   0:00.01 bash               
  87. 30036 root      15   0  3596  824  652 R  0.0  0.0   0:00.00 top               
复制代码

论坛徽章:
3
水瓶座
日期:2013-08-19 19:03:1715-16赛季CBA联赛之八一
日期:2016-02-25 18:02:4715-16赛季CBA联赛之佛山
日期:2017-03-27 14:08:12
2 [报告]
发表于 2012-10-10 23:47 |只看该作者
linux鏄?敖鍙?兘澶氱殑鍦ㄥ唴瀛樹腑缂撳瓨锛屽綋涓嶅?鐢ㄦ椂鑷?姩鍥炴竻鐞嗙殑锛屾棤闇

论坛徽章:
0
3 [报告]
发表于 2012-10-11 17:05 |只看该作者
2008ohmygod 发表于 2012-10-10 23:47
linux鏄?敖鍙?兘澶氱殑鍦ㄥ唴瀛樹腑缂撳瓨锛屽綋涓嶅?鐢ㄦ椂鑷?姩鍥炴竻鐞嗙殑锛屾棤闇


您这回复都是乱码啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP