PHP & Java: Apache processes
| From: | Jim Kirkpatrick | Date: | Wed, 20 Jun 2001 22:28:46 +0000 |
| Subject: | PHP & Java: Apache processes | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-54631@lists.php.net to get a copy of this message | ||
I have what appears to be a successful implementation of Java support
compiled into PHP running on an Apache server. Specifics:
PHP: 4.0.5
Java: 1.3.1 (Sun)
Apache: 1.3.19
OS: Redhat 6.2
The problem I'm experiencing has to do with finding multiple Apache child
processes spawned but never closed for each call to Java. They show up with
' rt_sigsuspend ' in a PS listing. My guess, based on looking for that term
on the net, is that it may have to do with the Java RunTime not being able
to exit and hanging. Over a day or two, three developers can crank the
Apache processes up near 300.
I'd appreciate any help with this. I'm currently "cleaning up" with a cron
script, but I'd like to solve the problem if at all possible.
-Jim Kirkpatrick