Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200653 - dev-php5/php-java-bridge-4.3.0 -apache processes don't terminate w/ php-5.2.5
Summary: dev-php5/php-java-bridge-4.3.0 -apache processes don't terminate w/ php-5.2.5
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PMASKED
: 202070 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-11-28 16:38 UTC by Gerald
Modified: 2007-12-27 17:03 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald 2007-11-28 16:38:24 UTC
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
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-28 18:04:34 UTC
Send this upstream, we won't fix this, sorry.

http://php-java-bridge.sourceforge.net/pjb/contact.php
Comment 2 Gerald 2007-11-28 18:28:24 UTC
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
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-11-28 18:31:42 UTC
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.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-12-12 19:57:12 UTC
*** Bug 202070 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-12-13 10:12:29 UTC
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.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-12-21 08:15:30 UTC
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/
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-12-27 17:02:50 UTC
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