[월:] 2017년 08월
No space left on device: Couldn’t create the rewrite-map mutex
갑자기 httpd 죽고, 재시작해도 안 살아 날때.. 에러 로그를 보면 답이 나온다.
0 1 2 3 4 5 6 7 8 9 10 11 |
[root@test /]# httpd -t Syntax OK [root@test /]# service httpd start [root@test /]# ps -ef | grep httpd | wc -l root 27583 21460 0 14:14 pts/10 00:00:00 grep httpd [root@test /]# [root@test /]# tail -f /usr/local/apache/logs/error ..... [core:emerg] [pid 2159] (28)No space left on device: AH00023: Couldn't create the rewrite-map mutex ..... [core:emerg] [pid 11529] (28)No space left on device: AH00023: Couldn't create the rewrite-map mutex ..... [core:emerg] [pid 11897] (28)No space left on device: AH00023: Couldn't create the rewrite-map mutex |
메세지만 보면 디바이스에 공간이 없다는 것인데..
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
[root@er01 free]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 9.8G 580M 8.7G 7% / tmpfs 3.8G 0 3.8G 0% /dev/shm /dev/sda1 190M 64M 116M 36% /boot /dev/sda9 66G 5.5G 57G 9% /free1 /dev/sda8 976M 6.2M 919M 1% /tmp /dev/sda3 9.8G 2.4G 6.9G 26% /usr /dev/sda5 9.8G 1.4G 7.9G 16% /usr/local /dev/sda6 9.8G 1.1G 8.2G 12% /var /dev/sdc1 110G 57G 48G 55% /free # 어딜봐도 용량 딸린 곳은 없다. |
No space left on device: Couldn’t create the rewrite-map mutex
이 메시지는 아파치의 동작 환경에서
kernel: nf_conntrack: table full, dropping packet.
top 나 ps -ef 를 암만 쳐다봐도 서버에 문제가 없는 것 같은데, FTP 접속하여 파일 업로드할때 1k 짜리 파일도 10초 이상 걸릴때 확인하면 딱, 이놈이 대부분 문제다.
시스템(iptable)에서 처리할 수 있는