V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
newworld
V2EX  ›  Linux

请教:大量 httpd 进程 不停的增长 如何排查

  •  
  •   newworld · 2016-12-29 13:35:30 +08:00 · 1541 次点击
    这是一个创建于 2684 天前的主题,其中的信息可能已经有所发展或是发生改变。
    如题啊,机器是 VPS , centos+PHP+MySQL+nginx+appache ,昨天睡觉前还好好的,今天早上一打开网站就 502 。。。然后 ssh 上去 top 查看一下就 发现大量的 httpd 进程,结束了重启后,很快又会有大量的 httpd 进程出现,导致内存耗尽。。。。请问如何排查啊。
    2 条回复    2017-01-23 18:01:31 +08:00
    gengyf
        1
    gengyf  
       2017-01-23 14:55:25 +08:00
    被攻击了,去查日志吧 /usr/local/apache/logs/access-*.log
    newworld
        2
    newworld  
    OP
       2017-01-23 18:01:31 +08:00
    @gengyf 谢谢 查到了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   736 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 21:37 · PVG 05:37 · LAX 14:37 · JFK 17:37
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.