|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2010-09-02 01:32 UTC] noodles at planetslackers dot com
Description: ------------ Similar problem to http://www.pecl.php.net/bugs/bug.php?id=15179 but it's happening on the latest build of APC (3.1.4). We're seeing Apache processes hanging at random times and filling up the Apache slots causing the server to be unreachable. So far I don't have much to go on other than strace returns this while the problem is occurring: strace -p 8537 Process 8537 attached - interrupt to quit futex(0xafcc1050, FUTEX_WAIT, 2, NULL <unfinished ...> Process 8537 detached Restarting Apache fixes the problem. I initially thought it was a memory issue so I increased apc.shm_size to 128M APC settings are as follows: apc.shm_size = 128M apc.ttl = 3600 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 22:00:01 2025 UTC |
4 years later, I still see this bug with php5-5.4.20-34.3.x86_64 php5-APC-3.1.14_git201309121127-3.1.x86_64 on an openSUSE 13.1 server. I already wondered why I get lots of hanging apache processes (usually one to three times per day) and have a cronjob that regularly restarts apache as workaround. I was able to strace one of the hanging processes - it was hanging in futex(0x7ff5bf79b00c, FUTEX_WAIT, 21, NULL which looks exactly like this bug.