Bug 5587 - Excessive hotplug events
Summary: Excessive hotplug events
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.30
Hardware: x86 Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2008-07-05 08:51 UTC by Johan van Baarlen
Modified: 2008-07-15 11:43 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Johan van Baarlen 2008-07-05 08:51:14 UTC
Using samba 3.0.30 on a fileserver with any 2.6.25+ kernel, as soon as a user connects from windows (2000,XP) and tries to get the properties of a lot of files at once, the performance is horrible, and the server is throwing hundreds of thousands of hotplug events per second. 
Samba 3.0.10 was not affected, 3.0.26 and 3.0.30 are, have not tested other versions.

Disabling hotplug altogether ('echo > /proc/sys/kernel/hotplug') restores performance to normal levels, but that does not seem the right thing to do.

Please advise.
Comment 1 Johan van Baarlen 2008-07-15 11:43:34 UTC
Figured out how to get around it - disabling the 'Group CPU Scheduler' (GROUP_SCHED) and recompiling the entire kernel stops the hotplug events, and performance is back to normal on this box.