Bug 11463 - Changing aio_pending_size to a large value will cause read fail
Summary: Changing aio_pending_size to a large value will cause read fail
Status: RESOLVED REMIND
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: File services (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-24 07:53 UTC by wangzhe
Modified: 2017-02-21 08:54 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wangzhe 2015-08-24 07:53:17 UTC
I changed aio_pending_size to a large value, such as 512 or 1024.
When the cifs client create 64 threads to read different files, the read operation will get stuck, and after about 1 minute, the client will create a new connection. The pid of smbd on server get changed.
Comment 1 Volker Lendecke 2015-08-24 09:08:11 UTC
What exact Samba version do you use, and what client? Samba used to have some credit handling problem with Windows 7 clients, this might be a symptom of that.
Comment 2 wangzhe 2015-08-25 07:45:38 UTC
(In reply to Volker Lendecke from comment #1)
Hi,
    I have tried samba4.1.8 samba4.1.19 and samba4.2.3, and the problem exists all the same. The client is windows server 2008 SP1.
Comment 3 wangzhe 2015-08-25 07:49:58 UTC
(In reply to Volker Lendecke from comment #1)
I found that my problem is similar to bug-10804 comment-24.