Board logo

標題: [介紹] 解決 Samba 遇到 rlimit_max increasing rlimit_max (1024)的問題 [打印本頁]

作者: girl    時間: 2013-2-21 16:19     標題: 解決 Samba 遇到 rlimit_max increasing rlimit_max (1024)的問題

設定好 /etc/samba/smb.conf 之下...下了 testparm 參數...卻出現一個訊息
複製內容到剪貼板
代碼:
[root@www samba]# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[share]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
這時可以這樣解決:
複製內容到剪貼板
代碼:
# ulimit -n 16384
# vi /etc/security/limits.conf
在最下面加入:
* - nofile 16384
這樣再執行一次就不會再出現啦~~




歡迎光臨 ADJ網路實驗室 (http://dz.adj.idv.tw/) Powered by Discuz! 6.0.0