ID: 21926
Updated by: [email]iliaaphp.net[/email]
Reported By: arinto at almedina dot net
-Status: Open
+Status: Feedback
Bug Type: Java related
Operating System: Red Hat Linux 7.1
PHP Version: 4CVS-2003-01-28 (stable)
New Comment:

Please try using this CVS snapshot:

[url]http://snaps.php.net/php4-STABLE-latest.tar.gz[/url]

For Windows:

[url]http://snaps.php.net/win32/php4-win32-STABLE-latest.zip[/url]




Previous Comments:
------------------------------------------------------------------------

[2003-02-14 12:03:46] minusone at yahoo dot com

I would like to ammend this report by saying I am seeing something
similar... using Lucene...

Now... here's some more information. Using the CLI... my PHP script
works just fine. It instantiates my java object and executes perfectly
and returns results as I would expect... so it appears to be definitely
something with the libphp4.so module.

I have rebuilt it many many times.

I should also say that running on RedHat 8.0 everything works
perfectly... its just on RedHat 7.x appears to be a problem.

I am using Sun JDK 1.3.1_07 for Linux
Apache 1.24

------------------------------------------------------------------------

[2003-01-28 13:16:59] arinto at almedina dot net

Hi.

I'm using the PHP Java extension to run Jakarta Lucene to power my
internal site search. Whenever I call a Java object, Apache starts
between 1 to 5 new httpd processes and it keeps growing with each
subsequent call to the object.
After some time (and after more than 50 httpd processes are started)
the web site stops respondig for some clients. For others it continues
running as usual.
This happens with PHP 4.3.0 and the latest CVS (2003-01-28)

My configure line is as follows:

'./configure' '--with-mysql' '--with-imap' '--with-imap-ssl'
'--with-kerberos' '--with-apxs=/var/www/bin/apxs' '--enable-xslt'
'--with-xslt-sablot' '--with-xml' '--with-iconv' '--with-pgsql'
'--with-dom' '--with-zlib' '--with-gd'
'--with-java=/usr/java/j2sdk1.4.1_01'

Java Version: Sun J2SE 1.4.1
Apache Version 1.3.24

This also seems to be the same bug as #20270, that is closed.

------------------------------------------------------------------------


--
Edit this bug report at [url]http://bugs.php.net/?id=21926&edit=1[/url]