# See smb.conf.example for a more detailed config file or # read the smb.conf manpage. # Run 'testparm' to verify the config is correct after # you modified it. [global] workgroup = SAMBA security = user passdb backend = tdbsam printing = cups printc
在运维工作中,我们发现Linux系统安装之后并不能立即投入生产环境使用,往往需要先经过我们运维人员的优化才行.以下是我在日常生产应用的优化操作. 一.文件打开数限制优化 描述 生产下要调整一下 Linux 的最大文件打开数nofile,在 Linux 下部署应用时,有时候会遇上 "Too many open files" 这样的问题,这个值也会影响服务器的最大并发数.其实 Linux 是有文件句柄限制的.但默认值下是很高,一般是1024,生产服务器很容易就会达到这个值,所以