logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: Mod_fcgid 2.3.7 (x64) live-lock on graceful restart
Author
thijs



Joined: 30 Jul 2010
Posts: 3
Location: Eindhoven, NL

PostPosted: Fri 14 Sep '12 11:58    Post subject: Mod_fcgid 2.3.7 (x64) live-lock on graceful restart Reply with quote

Running Apache 2.4.3 with mod_fcgid 2.3.7 (x64) binaries from ApacheLounge; official PHP 5.4.6 binaries.

We have an automated deployment running on our testing server, which includes a graceful restart of Apache after each deployment. As such, Apache is restarted (gracefully) about 30 times each day.

Once every couple of days, the old Apache worker-process isn't terminated properly and goes into a live-lock (taking up all cycles for a single CPU core). Most of the times it's only the worker process, sometimes a couple of PHP instances keep lingering below it as well.

Below a trace of the live-locked httpd.exe; it seems to be the same every time it happens...

Code:
libapr-1.dll!apr_allocator_max_free_set+0x243
libapr-1.dll!apr_pool_destroy+0xc4
libapr-1.dll!apr_pool_destroy+0x2e
httpd.exe+0x1271
httpd.exe+0x2876
httpd.exe+0x2ca2
kernel32.dll!BaseThreadInitThunk+0xd
ntdll.dll!RtlUserThreadStart+0x21


I'm not an expert, but looking around a bit on the Apache bug-tracker, it seems this issue might be caused by the solution implement for Apache Bug 50309 (https://issues.apache.org/bugzilla/show_bug.cgi?id=50309).

Anybody around how can help me to further pin down this issue, or is it best to simply raise this issue on the Apache bug-tracker?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Mon 17 Sep '12 17:21    Post subject: Reply with quote

Well bug 50309 has been fixed. The patch is in 2.3.7

You can try to add
FcgidWin32PreventOrphans On
to your config
Back to top
thijs



Joined: 30 Jul 2010
Posts: 3
Location: Eindhoven, NL

PostPosted: Mon 17 Sep '12 17:35    Post subject: Reply with quote

The "FcgidWin32PreventOrphans" directive is switched on. I've tried disabling it, but the issue appears to occur irrespective of whether it is enabled or disabled.

My, uneducated, guess would be that something in the fix for 50309 is causing this issue...
Back to top


Reply to topic   Topic: Mod_fcgid 2.3.7 (x64) live-lock on graceful restart View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules