I'm just starting to research this issue and I'm not very familiar with
Inline.   Using Inline::Java in a mod_perl application on CentOS 6.2, Perl
v5.10.1, and $Inline::Java::VERSION = '0.53'.


At times I find Apache processes that are old (meaning the child process
was started perhaps days ago) and where strace shows the Apache process is
waiting on a read() call.   The read is waiting on the socket connected to
the server that top shows the command as:

/usr/lib/jvm/java/bin/java org.perl.inline.java.InlineJavaServer 0
localhost 7891 true false false


The java is making a webservice call and my assumption is a response is
never returned.

Is there a way to set a timeout, or do I need to trap ALRM and call alarm(
$timeout )?

Thanks,


-- 
Bill Moseley
mose...@hank.org

Reply via email to