From owner-freebsd-emulation Mon Nov 19 22:53: 3 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from espresso.syncrontech.com (espresso-adsl.syncrontech.com [213.28.98.39]) by hub.freebsd.org (Postfix) with ESMTP id A80D337B416; Mon, 19 Nov 2001 22:52:55 -0800 (PST) Received: from there (coffee.syncrontech.com [62.71.8.37]) by espresso.syncrontech.com (8.9.3/8.9.3) with SMTP id IAA74878; Tue, 20 Nov 2001 08:51:40 +0200 (EET) (envelope-from ari.suutari@syncrontech.com) Message-Id: <200111200651.IAA74878@espresso.syncrontech.com> Content-Type: text/plain; charset="iso-8859-1" From: Ari Suutari To: "Andrew Atrens" Subject: Re: Small prog to demonstrate linux-jdk1.3.x signal handling prob lem. Date: Mon, 19 Nov 2001 08:48:42 +0200 X-Mailer: KMail [version 1.3.1] Cc: "Koster, K.J." , java , freebsd-emulation@FreeBSD.ORG References: <20011119142158.L7711-100000@hcarp00g.ca.nortel.com> In-Reply-To: <20011119142158.L7711-100000@hcarp00g.ca.nortel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, (I'v cc'd this to freebsd-emulation, maybe someone there has better understanding on this problem) On Monday 19 November 2001 21:33, Andrew Atrens wrote: > On Sun, 18 Nov 2001, Ari Suutari wrote: > > Sorry, maybe I was giving to strong opinion on this. > > It is mostly because I have been trying to get Apache JServ (or Tomcat) > > to run with linux jdk and it definitively does not work with > > hotspot enabled (and without it things are too slow for production > > environment). These problems resulted in having to switch a couple > > of servers from FreeBSD to Linux - a switch that I really hated to do. > > I'm in a similar situation, except that in our (my) case the java prog. is > part of a product loadbuild environment. Though it's quicker on FreeBSD, > it runs reliably on Linux. > > > that can be used to crash to Linux vm under linuxlator, maybe > > this could be discussed on freebsd-emulation or -current mailing > > My gut feeling is that it's a race condition - sometimes the signal > handler gets registered in time to catch the exception, sometimes it does > not. Though since I know very little about the linux threads model and > more importantly, how it's implemented in the Linuxulator, I can only > speculate. I found a small piece of information when searching on net for 'freebsd linux signal handling'. It says that linux makes no distinction with threads and processes and as a result signals go to a random thread rather than the one which registered them (this was BitTorrent mailing list on groups.yahoo.com, I don't know if this has any relevance to jdk, but at least there are similar problems elsewhere) > > Anyone out there an expert on this ? :) :) I was hoping that there could be a one on freebsd-emulators mailing list. > > > list ? Or is this something like a large piece of stuff missing from > > linuxlator that will take ages to fix (hopefully not) ? > Ari S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message