Submitted by dboone on Tue, 05/01/2012 - 13:25
When an invalid domain or user is passed to the daemon on port 11000, the child process ended up calling next which took it to the main loop where it would spin it's wheels until forcefully quit 30-60 seconds later. On a busy server this bug can really increase average CPU usage.
Attached is a patch which I believe fixes the issue
Status:
Active
Comments
Submitted by andreychek on Tue, 05/01/2012 - 14:13 Comment #1
Thanks for your bug report and patch! I'll pass this along to Jamie to review.
Submitted by JamieCameron on Tue, 05/01/2012 - 15:53 Comment #2
Thanks for the patch! Although actually I already fixed this bug as a side effect of another re-write of that script a few days ago ..
Submitted by dboone on Tue, 05/01/2012 - 15:55 Comment #3
I've attached a munin log showing the decrease in CPU usage after I applied my fix to my server just over 2 hours ago. Note the spiky blue during most of the chart, and then the solid chunk of blue as I was debugging at Tue 10:30, and then the nice even usage starting at about 11:00 once the fix was applied.
Submitted by dboone on Tue, 05/01/2012 - 15:57 Comment #4
Thanks! I'll watch for the fix to come through the Debian repository.
Submitted by gusswendson on Thu, 05/10/2012 - 15:40 Pro Licensee Comment #5
this was also happening on ubuntu 10.04 x64, i just updated to 3.92. I assume that fixes it?
Submitted by andreychek on Thu, 05/10/2012 - 15:45 Comment #6
Yup, the current release should fix that. Let us know if you notice any problems with it though!
Submitted by gusswendson on Thu, 05/10/2012 - 15:47 Pro Licensee Comment #7
thank you -- i will let you know how i go :)
Submitted by mx5gr on Mon, 03/27/2017 - 03:59 Comment #8
I can verify that the issue still persists under CentOS 7.3.1611 (Kernel Linux 3.10.0-514.10.2.el7.x86_64 on x86_64) and Virtualmin v5.07 / Webmin v1.831 and Authentic Theme v18.40.
How can I find the patch? I could not locate the attachment.
Submitted by oracast on Wed, 04/19/2017 - 22:36 Comment #9
Have you confirmed this is still an issue? We are seeing some major load recently and curious is this may be related to our issue.
Submitted by websmurf on Tue, 07/11/2017 - 07:18 Comment #10
Hi all, same issue on Debian 8 here.
It's definitely not the same issue. It may have similar symptoms, but we'll need to start over to make any sense out of it; the problem that opened this ticket was fixed five years ago. ;-)
So, what is the problem you're seeing? (And, please open a new ticket about it, as it's hard to work with a ticket about two different problems.)