From owner-freebsd-java Sun Dec 9 10:40:15 2001 Delivered-To: freebsd-java@freebsd.org Received: from harrier.prod.itd.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by hub.freebsd.org (Postfix) with ESMTP id 8C12F37B405 for ; Sun, 9 Dec 2001 10:40:09 -0800 (PST) Received: from dhcp151-67-151-24.nt01-c3.cpe.charter-ne.com ([24.151.67.151]) by harrier.prod.itd.earthlink.net with smtp (Exim 3.33 #1) id 16D8rw-0006kU-00 for freebsd-java@freebsd.org; Sun, 09 Dec 2001 10:40:09 -0800 Received: by dhcp151-67-151-24.nt01-c3.cpe.charter-ne.com (sSMTP sendmail emulation); Sun, 9 Dec 2001 13:40:05 -0500 Date: Sun, 9 Dec 2001 13:40:05 -0500 From: Dylan Carlson To: freebsd-java@freebsd.org Subject: [newbeb@yahoo.com: Re: Java crashes on FreeBSD?] Message-ID: <20011209134005.C1480@absinthe> Reply-To: absinthe@pobox.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline User-Agent: Mutt/1.2.5i Organization: Retrovertigo X-Editor: VIM - Vi IMproved 6.0 2001 Sep 26 http://www.vim.org/ Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello Am curious what, if anything (besides heap) are tuneable in the VM? Also if people should make any adjustments to the FreeBSD kernel when using the VM as a heavily-trafficked application server. I have made a few adjustments to the kernel, specifically NMBCLUSTERS ... but I would appreciate any advice that would allow our VMs to scale and perform better under FreeBSD. Wondering how many of you are using RMI and the 1.3.1 patchset 5 build under Tomcat 3.2.3? Would like to compare notes. As a third, but much less important question -- I have not had any luck trying to build a VM with native threads using the 1.3.1 port/patchset 5. Are there any instructions towards this? We would like to build a VM with native threads (even if it is "alpha-quality code") to test it running under Tomcat first, then our RMI apps second. Cheers, -- Dylan Carlson (absinthe@pobox.com) --qMm9M+Fa2AknHoGS Content-Type: message/rfc822 Content-Disposition: inline X-Apparently-To: damage_z@yahoo.com via web10407; 30 Nov 2001 13:19:43 -0800 (PST) X-RocketRCL: 2157;1;2937881039 Return-Path: X-Track: 1: 40 Received: from mx2.FreeBSD.org (EHLO mx2.freebsd.org) (216.136.204.119) by mta401.mail.yahoo.com with SMTP; 30 Nov 2001 07:22:02 -0800 (PST) Received: from hub.freebsd.org (hub.FreeBSD.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 1EB9C5596F; Fri, 30 Nov 2001 07:21:01 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: by hub.freebsd.org (Postfix, from userid 538) id B0FEE37B42A; Fri, 30 Nov 2001 07:20:50 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with SMTP id DEB232E8012; Fri, 30 Nov 2001 07:20:50 -0800 (PST) Received: by hub.freebsd.org (bulk_mailer v1.12); Fri, 30 Nov 2001 07:20:50 -0800 Delivered-To: freebsd-java@freebsd.org Received: from web12902.mail.yahoo.com (web12902.mail.yahoo.com [216.136.174.69]) by hub.freebsd.org (Postfix) with SMTP id 4D84537B417 for ; Fri, 30 Nov 2001 07:20:32 -0800 (PST) Message-ID: <20011130152032.65495.qmail@web12902.mail.yahoo.com> Received: from [66.66.241.54] by web12902.mail.yahoo.com via HTTP; Fri, 30 Nov 2001 07:20:32 PST Date: Fri, 30 Nov 2001 07:20:32 -0800 (PST) From: Brian Lloyd-Newberry Subject: Re: Java crashes on FreeBSD? To: Brad Cox Cc: freebsd-java@freebsd.org In-Reply-To: <222D2DAF-E500-11D5-97CC-0005022D9F0A@virtualschool.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-java@FreeBSD.ORG List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Precedence: bulk --- Brad Cox wrote: > Problem is, the application are disappearing off the net every couple > of > days leaving no diagnostics to go by in the log files. ps ax shows > that > the whole VM disappears, not just jetty or the two applications. If a > > core file exists, I've not managed to find it. Is it possible that your application is throwing a run time exception that you are not logging or catching? We have had a problem with a JVM (not sure which one right now, but I could find out) where this issue was causing a silent death. The person who debugged this should be back in town this weekend, and I will ask him about it and try to let you know. > 1) Is the Linux 1.2.2 port thought to be stable on FreeBSD? Not on my machine. 4.4-RELEASE FreeBSD SMP > 2) Is reverting to JDK 1.1.8 likely to improve matters? > 3) Is upgrading to IBM 1.3.x likely to improve matters if I can > overcome the space problem somehow? I have severe problems with the IBM JDK locking or not exiting. I have only seen the behavior in ant builds right now, but I have not tried anything else that is heavy duty with it. My few tests with hello world applications (even multithreaded ones) couldn't replicate the behavior. I have spent too many hours playing with it to not try to warn you off. > 4) Does someone have a cron script handy that could restart jetty > as a workaround? > 5) Am on the wrong track altogether? I would suck it up and use 1.2.2 native on FreeBSD or possible 1.3 native (although I am not brave enough yet). You will be without JIT unless you install one, but that might cause problems for you as well (with space and possibly reliability). OpenJIT was pretty easy to install, IMHO. Good luck. -Brian ===== Brian S. Lloyd-Newberry Vertical Learning Curve Solutions newbeb@yahoo.com __________________________________________________ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message --qMm9M+Fa2AknHoGS-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message