5
Tomcat은 며칠 동안 내 워크 스테이션에서 실행되지만 응답이 없으므로 lsof 명령은 close_wait 상태 연결을 많이 출력하고 tomcat pid는 25422이지만 ulimit 명령은 "열린 파일"이 1024임을 보여줍니다. 어떻게 이런 일이 발생할 수 있습니까?lsof가 ulimit의 "열린 파일"출력보다 높은 열린 파일 번호를보고하는 이유
[[email protected] home]# lsof -p 25422 | wc -l
10309
[[email protected] home]# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 399360
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 399360
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
내가 가지고있는 몇 가지 문제가, 당신을 가능한 이유를 찾았나요? – snow8261
일부 답변은 http://serverfault.com/q/396872 및 http://superuser.com/q/579692를 참조하십시오. – JoseK