Hi folks Recently, I find that the number of the smbd connections may increase if the network is abnormal. And the repeated connections will exist for a long time (which is not accepted for me) So, I modify the following params and shorten the existing time of those repeated connections: TCP_KEEPCNT 3 TCP_KEEPIDLE 60 TCP_KEEPINTVL 15 My concern is that: Are there any risks of modifying above params to those values? ------------------------------------------------------------------------------------------------------------------------------------- 本邮件及其附件含有杭州华三通信技术有限公司的保密信息,仅限于发送给上面地址中列出 的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、 或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本 邮件! This e-mail and its attachments contain confidential information from H3C, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!
Jeremy Allison
2017-Mar-14 17:09 UTC
[Samba] Any risks of modifying tcp_keepidle etc params?
On Mon, Mar 13, 2017 at 09:33:04AM +0000, Chenyehua via samba wrote:> Hi folks > Recently, I find that the number of the smbd connections may increase if the network is abnormal. And the repeated connections will exist for a long time (which is not accepted for me) > So, I modify the following params and shorten the existing time of those repeated connections: > TCP_KEEPCNT 3 > TCP_KEEPIDLE 60 > TCP_KEEPINTVL 15 > My concern is that: > Are there any risks of modifying above params to those values?It's going to cause more traffic on your network, but won't hurt Samba any I think.
Apparently Analagous Threads
- How to print the log in socket_wrapper.c
- Is it fine to store the tdb files in the shared directory to solve the ctdb data synchronization problem?
- 答复: Is it fine to store the tdb files in the shared directory to solve the ctdb data synchronization problem?
- About error: 'Windows cannot access, you do not have permission to access'
- 答复: status of Continuous availability in SMB3