Solve the problem of slow file modification during pc access to the samba service

Source: Internet
Author: User
After the pc accesses the samba service and modifies the file slowly, the following solutions are available. 1: [global] socketoptionsIPTOS_LOWDELAYTCP_NODELAYSO_RCVBUF16384SO_SNDBUF163842: in smb. conf? Add the following? A. pc access to modify the samba service file is slow. after you query the file on the Internet, the following solutions are available. 1: [global] socket options = IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF = 16384 SO_SNDBUF = 16384 2: In smb. conf? Add the following? Sentence can be solved? Qsmb ports = 139 3: modify/opt/etc/samba/smb. conf, add [global] read size = 512 socket options = TCP_NODELAY SO_KEEPALIVE SO_RCVBUF = 512 SO_SNDBUF = 512 IPTOS_LOWDELAY getwd cache = yes follow symlinks = no wide links = no read raw = yes write raw = yes large readwrite = yes getwd cache = yes strict locking = no fake oplocks = yes oplocks = no 4: disable firewall and selinux 5. the vhosts and/etc/sysconfig/network host names must be consistent.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.