[MacPorts] #29425: php5-apc: Fatal error: Unknown: apc_fcntl_unlock failed

MacPorts noreply at macports.org
Wed May 18 02:56:39 PDT 2011


#29425: php5-apc: Fatal error: Unknown: apc_fcntl_unlock failed
----------------------------------+-----------------------------------------
  Reporter:  fly.captain@…        |       Owner:  macports-tickets@…                   
      Type:  defect               |      Status:  reopened                             
  Priority:  Normal               |   Milestone:                                       
 Component:  ports                |     Version:  1.9.2                                
Resolution:                       |    Keywords:                                       
      Port:  php5-apc             |  
----------------------------------+-----------------------------------------

Comment(by andreas@…):

 It's already reported in apc:

 http://pecl.php.net/bugs/bug.php?id=22688

 Check Rasmus (creator of PHP and APC) comments about


 {{{
 [2011-05-17 20:30 UTC] rasmus at php dot net
 Are you guys explicitly enabling fcntl locking? If so, why?
 It shouldn't break, obviously, but there are much faster
 locking mechanisms available.

 Try: --enable-apc-pthreadrwlocks
 or --enable-apc-pthreadmutex (which is the default)
 }}}

 and

 {{{
 [2011-05-17 21:48 UTC] rasmus at php dot net
 Well, we switched the default away from fcntl locking years
 ago. I'll see if I can track down why it is failing, but I
 haven't used that slow locking mechanism in many many years.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/29425#comment:12>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list