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:
# ulimit -n 16384
# vi /etc/security/limits.conf
在最下面加入:
* - nofile 16384
這樣再執行一次就不會再出現啦~~