apache error_log에 Too many open files
작성자 정보
- 관리자 작성
- 작성일
컨텐츠 정보
- 1,440 조회
- 0 추천
- 목록
본문
아래 내용을 보시는 바와 같이 /proc/sys/fs에는 파일시스템의 일반적인 제한과 설정에 대한 커널옵션파일들이 있습니다.
아래 파일중에서 file-max의 값을 올려주시면 해결이 될 듯합니다.
다만, 메모리에만 존재하는 proc파일시스템의 파일이므로 다룰 때 주의하시기 바랍니다.
[root@command fs]# pwd
/proc/sys/fs
[root@command fs]# ls -l
total 0
dr-xr-xr-x 2 root root 0 Feb 23 04:17 binfmt_misc
-r--r--r-- 1 root root 0 Feb 23 04:17 dentry-state
-rw-r--r-- 1 root root 0 Feb 23 04:17 dir-notify-enable
-rw-r--r-- 1 root root 0 Feb 23 04:17 file-max
-r--r--r-- 1 root root 0 Feb 23 04:17 file-nr
-r--r--r-- 1 root root 0 Feb 23 04:17 inode-nr
-r--r--r-- 1 root root 0 Feb 23 04:17 inode-state
-rw-r--r-- 1 root root 0 Feb 23 04:17 lease-break-time
-rw-r--r-- 1 root root 0 Feb 23 04:17 leases-enable
-rw-r--r-- 1 root root 0 Feb 23 04:17 overflowgid
-rw-r--r-- 1 root root 0 Feb 23 04:17 overflowuid
dr-xr-xr-x 2 root root 0 Feb 23 04:17 quota
[root@command fs]#
관련자료
-
이전
-
다음