错误(28)设备上没有剩余空间:mod_fcgid:无法绑定unix域套接字/ var / run / mod_fcgid / sock /

时间:2017-01-07 11:28:40

标签: linux apache

我的httpd服务器在几个机会中突然停止工作。 所以我尝试重启:

/etc/init.d/httpd restart
Parando httpd:                                             [  OK  ]
Iniciando httpd: (98)Address already in use: make_sock: could not bind to address [::]:7080
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:7080
no listening sockets available, shutting down
Unable to open logs
                                                           [FALLÓ]

所以在TOP中,我发现了一个正在运行的apache进程

 PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                                    
17694 apache    20   0  487m  37m 1568 S 21.7  0.2 125:59.92 httpd                                                                                                      
17703 hamenorc  20   0 43128 8792 1364 S  5.9  0.1 117:08.16 perl                                                                                                       
 1490 root      20   0     0    0    0 S  2.0  0.0   1:13.05 kondemand/4                                                                                                
30655 root      20   0 15140 1416 1004 R  2.0  0.0   0:00.06 top                                                                                                        
    1 root      20   0 19364 1588 1268 S  0.0  0.0   0:05.48 init                                                                                                       
    2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthreadd                                                                                                   
    3 root      RT   0     0    0    0 S  0.0  0.0   0:01.03 migration/0  

杀死Pid好。

/etc/init.d/httpd restart
Parando httpd:                                             [FALLÓ]
Iniciando httpd:                                           [  OK  ]

检查日志:

tail /var/log/httpd/error_log
[Sat Jan 07 12:02:01 2017] [error] (28)No space left on device: mod_fcgid: couldn't bind unix domain socket /var/run/mod_fcgid/sock/31115.11
[Sat Jan 07 12:02:01 2017] [warn] (28)No space left on device: mod_fcgid: spawn process /var/www/cgi-bin/cgi_wrapper/cgi_wrapper error

制作DF,我认为空间是好的。:

df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/md1              4,0G  646M  3,4G  16% /
/dev/mapper/ssd-usr    24G  4,3G   19G  19% /usr
/dev/mapper/ssd-var    28G  9,5G   17G  36% /var
/dev/mapper/ssd-home   24G  139M   23G   1% /home
/dev/mapper/hdd-data  821G   28G  753G   4% /data
none                  7,9G   68K  7,9G   1% /tmp

我不知道为什么会这样,也许服务器已被黑了。 让我知道你的印象和任何解决它的机会。 非常感谢

0 个答案:

没有答案