High CPU load when write use samba 4.3.11

Zhangxiaoxu zhang.xiaoxu at h3c.com
Tue Mar 21 12:24:44 UTC 2017


Hi samba-team,

High CPU load when write use samba 4.3.11.

Top command:
    PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
464708 nobody    20   0 2543720 2.041g  22028 R  91.2  2.2  73:56.20 smbd
In another server, it cost about 40% when write the same files.

A lot of logs was printed during write:
[2017/03/21 19:57:53.532109,  1] ../librpc/ndr/ndr.c:578(ndr_pull_error)
  ndr_pull_error(11): Pull bytes 8 (../librpc/ndr/ndr_basic.c:234)
[2017/03/21 19:57:53.532161,  1] ../source3/locking/share_mode_lock.c:312(parse_share_modes)
  ndr_pull_share_mode_lock failed: Buffer Size Error

Configuration:
usershare allow guests = yes
clustering = yes
max protocol = SMB3
large readwrite = yes
aio write behind = true
load printers = no

Could you give us some help about the issue.
Thanks.

Br
Zhang Xiaoxu.

-------------------------------------------------------------------------------------------------------------------------------------
本邮件及其附件含有杭州华三通信技术有限公司的保密信息,仅限于发送给上面地址中列出
的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、
或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本
邮件!
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!


More information about the samba-technical mailing list