標題: [crit] open() "/xxxx/yyyy/500.html" failed (24: Too many open files) [打印本頁] 作者: IT_man 時間: 2021-6-3 22:51 標題: [crit] open() "/xxxx/yyyy/500.html" failed (24: Too many open files) # 看目前系統設定的限制 (ulimit -a # 可查看全部參數) , @' q8 o) L: ~4 k. tulimit -n ( \( Q, `0 R9 s1 _( r/ X9 s
1024 & t8 d: p& w A' c' s& @. H9 \2 }; w& h
, v: |5 `& f9 `+ A1 @
# 由 limits.conf 設定 nofile (nofile - max number of open files) 的大小, `" o+ I3 n4 z- n5 E) r) Z- J+ k
vim /etc/security/limits.conf # ?! N. S; T, _" }( m3 R
J" u2 K' V. {5 l" s l