我試着一路改變了CentOS上運行的Apache的ulimit參數設置。下面是我在/etc/security/limits.conf在CentOS上爲apache設置ulimits
apache hard fszie 1024
apache soft fszie 1024
apache hard nproc 512
apache soft nproc 512
apache hard cpu 14
apache soft cpu 14
apache hard nofile 1024
apache soft nofile 1024
我重新啓動我的系統以及但是當我試圖檢查的ulimit使用PHP腳本的Apache參數,他們沒有建立設置。有什麼我錯過了,我需要創建一些其他入口或某些其他參數嗎?建議
屬於serverfault或其他地方。 – bmargulies