umtxn and Apache 2.2

Jeremy Chadwick koitsu at FreeBSD.org
Tue Aug 12 10:28:56 UTC 2008


On Tue, Aug 12, 2008 at 12:17:05PM +0200, Borja Marcos wrote:
>
> On Aug 12, 2008, at 12:12 AM, Ivan Voras wrote:
>
>> Borja Marcos wrote:
>>> Hello,
>>> I'm running a server with FreeBSD 7-STABLE as of August 8, Apache  
>>> 2.2 with mpm/worker and threads support, and PHP 5.2.6.
>>> Everything works like a charm, but I see that Apache is leaking  
>>> processes that get stuck in umtxn state.
>>
>> I run Apache 2.2 with worker MPM but without mod_php (I use PHP as  
>> FastCGI) on many servers and I don't have such problems. Maybe it's  
>> PHP's fault? (I agree you need a trace with debugging symbols).
>
> May me my fault. It's a system that I didn't use to administrate. I  
> upgraded it from 6.2-REL to 7-STABLE in place, and recompiled packages. 
> But there was a lot of litter. I'm just wondering if that could be a 
> problem.
>
> Just in case I've done a thorough cleanup, recompiled needed ports, and 
> included debugging support in Apache. Let's see what happens.
>
> And please accept my apologies if this  has been a silly false alarm :)

Please be sure to report back with the outcome (in a few days, or
whenever suits you) -- I've seen a report of similar oddities (threads
locking up) on the suPHP mailing list, when using Apache with the worker
MPM.  No one stated what state the process is in (re: umtxn), so I'm not
sure if it's the same issue as what you've seen.

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |



More information about the freebsd-stable mailing list