I have installed php 5.2.5 and php-java-bridge 4.3.0 . When I start apache/php with ext=java.so, the java bridge starts a VM. When I try to stop apache (/etc/init.d/apache2 stop), I get warnings / errors for every process: [Sun Nov 25 20:11:05 2007] [warn] child process 31341 still did not exit, sending a SIGTERM [Sun Nov 25 20:11:07 2007] [warn] child process 31341 still did not exit, sending a SIGTERM [Sun Nov 25 20:11:09 2007] [warn] child process 31341 still did not exit, sending a SIGTERM [Sun Nov 25 20:11:11 2007] [error] child process 31341 still did not exit, sending a SIGKILL The more severe implication is, that the same error obviously keeps apache from closing processes that have arrived at MaxRequestsPerChild . Thus, under load, the number of stalled apache processes increases until it reaches MaxServerLimit and then the server is blocked. I am using vm1.6.0_03 and apache 2.0.58-r2. I tried with recent apache 2.2 as well - with same result There has been a similar report from another gentoo user in the list of php-java-bridge: http://sourceforge.net/mailarchive/forum.php?thread_name=1193758273.8122.20.camel%40reaver.netbox-in.cz&forum_name=php-java-bridge-users Somebody mentions that "mshutdown()" might not be called. Could that be a side effect of the patches that are applied? Thanks! (Gerald) Reproducible: Always
Send this upstream, we won't fix this, sorry. http://php-java-bridge.sourceforge.net/pjb/contact.php
sorry, this issue is limited to gentoo. It works on other dists. I suspect it might have to do with one of the patches in the gentoo - php - patchset
Great, so when you are able to point out the offending patch, then reopen this bug. Otherwise this ebuild can just go to /dev/null since there's zero interest to maintain in from PHP folks, and we never ever got any response from java maintainers.
*** Bug 202070 has been marked as a duplicate of this bug. ***
java folks, in case you want to debug this w/ the users, reopen and re-assign the bug to yourself. We really don't have skills nor interest to deal with this thing, it's a plain PITA.
4.3.2 in PHP overlay in case someone's still using this... http://overlays.gentoo.org/svn/proj/php/testing/migration/dev-php5/php-java-bridge/
This package is no longer maintained by PHP and is masked together with java-external USE flag. +# Christian Hoffmann <hoffie@gentoo.org> (27 Dec 2007) +# broken (leads to random segfaults); masked until someone steps up to +# maintain it or it will finally get removed +dev-php5/php-java-bridge