VPS侦探论坛

 找回密码
 注册
查看: 7952|回复: 1

阿里云服务器 LNMPA CPU100%求救

[复制链接]
发表于 2014-3-12 14:41:25 | 显示全部楼层 |阅读模式

阿里云服务器用的是LNMPA,每天都报CPU100%,有半年了,实在是没办法,列出几条错误日志,请军哥帮忙 。感激不尽,每天重启,实在是太痛苦了
一、IP-error_log 里全是这种错误,每秒20条左右,换着IP来,这是有人在攻击我吗,有什么办法可以禁掉?也有不少IP是10.159.63.35这样的局域网IP。
[Wed Mar 12 01:27:15 2014] [error] [client 121.205.245.160] script '/home/wwwroot/wp-comments-post.php' not found or unable to stat, referer: http://martynbedford.com/american-review/
[Wed Mar 12 01:27:20 2014] [error] [client 81.82.214.132] File does not exist: /home/wwwroot/process, referer: http://www.rootentertainment.com/blog/2012/5/16/download-those-usual-suspects-cant-hold-on-
original-mix.html
[Wed Mar 12 01:27:37 2014] [error] [client 110.85.127.165] File does not exist: /home/wwwroot/pearls, referer: http://www.sinaiem.org/pearls/2014/01/09/unintended-swim/
[Wed Mar 12 01:28:07 2014] [error] [client 222.77.203.186] File does not exist: /home/wwwroot/blog, referer: http://powerblog.vicorpower.com/blog/powerblog/2014/01/vicor-launches-first-product-in-
revolutionary-chip-package/
[Wed Mar 12 01:41:48 2014] [error] [client 121.205.196.233] File does not exist: /home/wwwroot/ita2, referer: http://browniez.sakura.ne.jp/ita2/light.cgi/best.alfinisme.com/light.cgi?res=193&quot
[Wed Mar 12 01:41:54 2014] [error] [client 63.141.253.236] File does not exist: /home/wwwroot/~aquarius, referer: http://www5.big.or.jp/~aquarius/bbs/g_book/g_book.cgi/g_book.cgi?page=60&pass=
[Wed Mar 12 01:42:09 2014] [error] [client 81.82.214.132] File does not exist: /home/wwwroot/141122, referer: http://www.vosizneias.com/141122/2013/09/11/new-york-ny-election-officials-to-recount-unresolved-
primary-votes-on-friday/
[Wed Mar 12 01:42:31 2014] [error] [client 120.40.156.41] script '/home/wwwroot/wp-comments-post.php' not found or unable to stat, referer: http://www.diggle-news.com/2014/01/public-anger-grows-following-
saddleworth-parish-councils-u-turn/
[Wed Mar 12 01:42:34 2014] [error] [client 121.205.245.160] File does not exist: /home/wwwroot/blog, referer: http://bravechick.com/blog/entry/kerri-shimko-mother-and-conqueror-of-multiple-sclerosis

二、error_log 里面,APACHE每次启动会提示以下,这个有没有影响,有什么办法解决吗?我在httpd.conf里也没找到与SSL相关的内容。
[Tue Mar 11 15:25:57 2014] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Mar 11 15:25:57 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Tue Mar 11 15:25:57 2014] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 PHP/5.2.17p1 configured -- resuming normal operations
error_log 里面还会不停地出现sh: -t: command not found,没有显示时间,一出现就是几千条,请问有办法找出原因吗?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2014-3-12 19:59:39 | 显示全部楼层


前面的日志都是些类似访问日志的,文件不存在的 这些没什么用处
要排查的话比较麻烦,简单的话ps aux 看哪个进程占用cpu多,再看情况慢慢分析
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-25 11:10 , Processed in 0.026853 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表