Re: APC problem with PHP
| From: | Colin Guthrie | Date: | Wed, 11 Feb 2009 08:42:23 +0000 |
| Subject: | Re: APC problem with PHP | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-288107@lists.php.net to get a copy of this message | ||
'Twas brillig, and Nathan Nobbe at 11/02/09 00:10 did gyre and gimble:
a lot of php extensions are not thread safe, perhaps apc is one of them. most people compile apache w/ mpm_prefork rather than mpm_worker for this reason.I know the problem is solved now but I think APC is pretty solid threading wise. It has various locking mechanisms that you can compile in to APC, including filelocks, IPC semaphores, spinlocks and pthread mutexes. So while I don't want to comment inaccurately, I suspect that APC is pretty solid in this area. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contributor [http://www.mandriva.com/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/]