From owner-freebsd-java@FreeBSD.ORG Fri Nov 18 18:06:37 2011 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDEC8106566B for ; Fri, 18 Nov 2011 18:06:37 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id BCCE88FC17 for ; Fri, 18 Nov 2011 18:06:37 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id pAII6bJ6076219 for ; Fri, 18 Nov 2011 10:06:37 -0800 (PST) (envelope-from yuri@rawbw.com) Message-ID: <4EC69EAC.80308@rawbw.com> Date: Fri, 18 Nov 2011 10:06:36 -0800 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111117 Thunderbird/8.0 MIME-Version: 1.0 To: java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Java process not killed by java plugin and keep hanging out after the web page using it is closed X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2011 18:06:37 -0000 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. Yuri