Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Nov 2011 14:16:41 -0500
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        freebsd-java@freebsd.org
Cc:        Yuri <yuri@rawbw.com>
Subject:   Re: Java process not killed by java plugin and keep hanging out after the web page using it is closed
Message-ID:  <201111181416.45289.jkim@FreeBSD.org>
In-Reply-To: <4EC69EAC.80308@rawbw.com>
References:  <4EC69EAC.80308@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 18 November 2011 01:06 pm, Yuri wrote:
> Hi,
>
> I have Java browser plugin insgtalled following the handbook:
> openjdk6-b23_1 + icedtea-web-1.1.4 + symbolic link.
> After using some page with Java plugin in firefox (like
> http://websdr.sp3pgx.uz.zgora.pl:8901) and closing it, I still see
> java process like this:
> 74450  ??  S      0:04.99 /usr/local/openjdk6/jre/bin/java
> -Xbootclasspath/a:/usr/local/share/icedtea-web/netx.jar:/usr/local/
>share/icedtea-web/plugin.jar -c
> Java process disappears after closing firefox.
>
> When reopening the same page, I see this java process reused.
> So it looks like java stays as a dormant child when nobody uses it.
> There is no reason to keep java process hanging since it can grow
> very large (in my case it's size/res=2489M/164M) and web browser
> usually is a long lived process.

This is a design decision made by IcedTea-Web author(s), AFAIK.  
Basically, they prefer faster applet loading.

Jung-uk Kim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111181416.45289.jkim>