Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » PHP
  • » [PHP-DEV] apache and MSHUTDOWN [RSS Feed]

#1 March 17, 2008 20:43:10

a.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[PHP-DEV] apache and MSHUTDOWN


hi,

what is the correct behavior, if apache killing _idle_ child processes
in an environment where:
apache prefork_mpm
php loaded as apache module
php loads a module with extension=xy.so

should be the msshutdown function called for each httpd child or only
once if the whole httpd server shuts down?

thanks for clarifying this.

Attila Soki



--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:http://www.php.net/unsub.php

Offline

#2 March 18, 2008 09:48:57

Antony D.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[PHP-DEV] apache and MSHUTDOWN


On 03/17/2008 10:43 PM, ati wrote:
> hi,
>
> what is the correct behavior, if apache killing _idle_ child processes
> in an environment where:
> apache prefork_mpm
> php loaded as apache module
> php loads a module with extension=xy.so
>
> should be the msshutdown function called for each httpd child or only
> once if the whole httpd server shuts down?

Since Apache children are separate processes, they have their own shutdown
sequences and MSHUTDOWN is called for each child (which is pretty easy to
check, btw).

--
Wbr,
Antony Dovgal

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:http://www.php.net/unsub.php

Offline

#3 March 18, 2008 23:27:59

a.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[PHP-DEV] apache and MSHUTDOWN


On Tue, 2008-03-18 at 11:48 +0300, Antony Dovgal wrote:
> On 03/17/2008 10:43 PM, ati wrote:
> >
> > should be the msshutdown function called for each httpd child or only
> > once if the whole httpd server shuts down?
>
> Since Apache children are separate processes, they have their own shutdown
> sequences and MSHUTDOWN is called for each child (which is pretty easy to
> check, btw).


thanks for your answer.

i asked this, because i trying get a rid of a bug. if apache 2.2.8,
php5.2.5 and php-java-bridge used thogether the apache childs begin to
freeze.

the apache-team say this is an php bug, javabridge team says this is an
php or apache bug.

please look these threads:

"internal dummy connections blocking httpd"https://issues.apache.org/bugzilla/show_bug.cgi?id=43966"php-java-bridge bug and maybe a working patch"http://sourceforge.net/mailarchive/forum.php?thread_name=1205435208.2906.45.camel%40kukac&forum_name=php-java-bridge-usersso, where is the bug?

thanks.


Best regards,

Attila Soki


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:http://www.php.net/unsub.php

Offline

  • Root
  • » PHP
  • » [PHP-DEV] apache and MSHUTDOWN [RSS Feed]

Board footer

Moderator control

Enjoy the 11th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support