JDK1.4.1 and runaway processes.

Remco van 't Veer rwvtveer at xs4all.nl
Mon Apr 28 15:23:45 PDT 2003


I am experiencing the same problem with tomcat-4.1 here, on a
4.8-RELEASE with jdk-1.4.1p3_3.  The problem doesn't always
occur and the runaway process keeps running when I stop tomcat.

Remco


On Tue, Apr 29, 2003 at 09:41, Jonathan Chen wrote:

> Hi,
> 
> I've been using the native JDK1.4.1 for a while now, and am happy to
> report that it performs very well - most of the time. However, there
> have been cases where the JVM appears to spawn off a new process that
> runs amok.
> 
> The cases where this happens appears most commonly with Tomcat 4.1+,
> when Tomcat has to compile a jsp page. The JVM spawns off a separate
> process to compile a page, which then hangs and chews up processor time.
> On killing everything (only a -9 works), and then restarting Tomcat, a
> 2nd attempt to compile the page will probably succeed.
> 
> Another case where this runaway process could happen is with code
> dealing with Printers. When a new java.awt.PrintJob is requested using
> java.awt.Tookit.getPrintJob, there have been times when the JVM hangs.
> A quick look at top(1) reveals a runaway process.
> 
> What can I do to help track down this problem? It'd be nice to get a
> core-dump for analysis, but the processes don't seem to die unless a
> kill -9 is applied to it. Am I the only person to see this?
> 
> System info:
>     FreeBSD grimoire.chen.org.nz 4.8-STABLE FreeBSD 4.8-STABLE #0: Sun Apr 20 11:43:08 NZST 2003     root at grimoire.chen.org.nz:/usr/obj/usr/src/sys/GRIMOIRE  i386
> 
> Running jdk-1.4.1p3_3.
> 
> Cheers.


More information about the freebsd-java mailing list