girl 2013-2-21 16:19
解決 Samba 遇到 rlimit_max increasing rlimit_max (1024)的問題
設定好 /etc/samba/smb.conf 之下...下了 testparm 參數...卻出現一個訊息
[code][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[/code]
這時可以這樣解決:
[code]# ulimit -n 16384
# vi /etc/security/limits.conf
在最下面加入:
* - nofile 16384 [/code]
這樣再執行一次就不會再出現啦~~