[MacPorts] #27470: port unload lighttpd fails to kill all php-cgi children

MacPorts noreply at macports.org
Sat Nov 27 06:11:56 PST 2010


#27470: port unload lighttpd fails to kill all php-cgi children
-----------------------------------------+----------------------------------
 Reporter:  mitch@…                      |       Owner:  macports-tickets@…                   
     Type:  defect                       |      Status:  new                                  
 Priority:  Normal                       |   Milestone:                                       
Component:  ports                        |     Version:  1.9.2                                
 Keywords:  lighttpd,php-cgi,php,unload  |        Port:  lighttpd                             
-----------------------------------------+----------------------------------
 port load lighttpd works just fine, however port unload lighttpd seems to
 leave dangling cgi children keeping automated restarts and whatnot from
 working properly.

 This could be a snow leopard issue, but I need more help determining what
 is the cause to be sure.

 ENVIRONMENT

 {{{
 # port -v
 MacPorts 1.9.2

 # lighttpd -v
 lighttpd/1.4.26 (ssl) - a light and fast webserver
 Build-Date: Nov 21 2010 10:58:21

 # php -v
 PHP 5.3.3 (cli) (built: Nov 16 2010 15:05:08)
 Copyright (c) 1997-2010 The PHP Group
 Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
     with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans
 }}}

 Ultimately this is my experience:

 {{{
 # port load lighttpd
 # port unload lighttpd
 # ps ax | grep php
  5418   ??  Ss     0:00.01 /opt/local/bin/php-cgi
  5419   ??  S      0:00.00 /opt/local/bin/php-cgi
  5420   ??  Ss     0:00.01 /opt/local/bin/php-cgi
  5421   ??  S      0:00.00 /opt/local/bin/php-cgi
  5422   ??  Ss     0:00.01 /opt/local/bin/php-cgi
  5423   ??  S      0:00.00 /opt/local/bin/php-cgi
  5424   ??  Ss     0:00.01 /opt/local/bin/php-cgi
  5425   ??  S      0:00.05 /opt/local/bin/php-cgi
  5433 s001  R+     0:00.00 grep php
 }}}

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


More information about the macports-tickets mailing list