mpm_winnt with LDAP httpd child process using 100% CPU workaround
From: Weisser, Mark S (CTO Architecture + Engineering) <Mark.Weisser_at_thehartford.com>
Date: Thu, 1 May 2014 11:20:51 +0000
Another thread with subject "Re: Subversion 1.8 httpd.exe taking 100% CPU" describes a 100% CPU condition that sporadically occurs in the single httpd child process when using mpm_winnt with LDAP authentication. We have been experiencing this issue 2 or 3 times a week since upgrading to Subversion 1.8. The issue continued for us through the following version:
[Wed Apr 23 04:15:17.065606 2014] [mpm_winnt:notice] [pid 1728:tid 436] AH00455: Apache/2.4.9 (Win64) SVN/1.8.8 OpenSSL/1.0.1g configured -- resuming normal operations
I think that we found a possible workaround. Since we made the following changes to our httpd.conf the looping condition causing the 100% CPU usage has not reoccurred from the date and time of the log message above (8 days):
# Allow LDAP cache (if any) to be examined at runtime.
# LDAP Cache settings:
My conjecture is that the "LDAPSharedCacheSize 0" is the significant change. Since mpm_winnt has only 1 child process there is no reason to use a shared cache. The stack trace of the looping threads is similar to the one captured below which seems to point in this direction as well.
085:a1c
I am reluctant to fiddle any more with these settings to affirm this with 100% confidence as our server is working nicely for now. Perhaps someone else experiencing the 100% CPU issue can give the "LDAPSharedCacheSize 0" a try.
mark w
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.