Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
newworld
V2EX  ›  Linux

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

  •  
  •   newworld · Dec 29, 2016 · 2082 views
    This topic created in 3453 days ago, the information mentioned may be changed or developed.
    如题啊,机器是 VPS , centos+PHP+MySQL+nginx+appache ,昨天睡觉前还好好的,今天早上一打开网站就 502 。。。然后 ssh 上去 top 查看一下就 发现大量的 httpd 进程,结束了重启后,很快又会有大量的 httpd 进程出现,导致内存耗尽。。。。请问如何排查啊。
    2 replies    2017-01-23 18:01:31 +08:00
    gengyf
        1
    gengyf  
       Jan 23, 2017
    被攻击了,去查日志吧 /usr/local/apache/logs/access-*.log
    newworld
        2
    newworld  
    OP
       Jan 23, 2017
    @gengyf 谢谢 查到了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2655 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 10:54 · PVG 18:54 · LAX 03:54 · JFK 06:54
    ♥ Do have faith in what you're doing.