From owner-freebsd-java@FreeBSD.ORG Mon Jan 27 08:34:03 2014 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BEA473DE for ; Mon, 27 Jan 2014 08:34:03 +0000 (UTC) Received: from smadev.internal.net (adsltrust.ath.forthnet.gr [194.219.204.174]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6B2231E61 for ; Mon, 27 Jan 2014 08:34:00 +0000 (UTC) Received: from smadev.internal.net (smadev [10.9.200.131]) by smadev.internal.net (8.14.7/8.14.7) with ESMTP id s0R8P0QN007325 for ; Mon, 27 Jan 2014 10:25:00 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) Message-ID: <52E617DC.5090205@matrix.gatewaynet.com> Date: Mon, 27 Jan 2014 10:25:00 +0200 From: Achilleas Mantzios User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Re: openjdk6 - FreeBSD 10.0-RELEASE - dies with "exited on signal 6" References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jan 2014 08:34:03 -0000 I heard the -STABLE branch has some work on solving this. Maybe look it up. I think the -RELEASE branches are the ones with the problem, but someone from here with more insight might help you better. On 27/01/2014 04:55, Jason Unovitch wrote: > Evening FreeBSD Java/Stable, > Anybody out there seeing any issues with Java performance on FreeBSD > 10? I've recently updated my home NAS box from 9.2-RELEASE-p3 to > 10.0-RELEASE and simply cannot get my Serviio media center jail using > OpenJDK6 to stay running without getting some kind of Java crash. To > be fair, the Java crashes haven't just been confined to 10.0 as I've > been dealing with some kind of issue for months now and could use the > insight. With FreeBSD 9.2-RELEASE, b27_8 is the last release that > worked absolutely solid. However, reverting to an older version > doesn't seem to resolve my issues on 10.0 like it did for 9.2. So as > for this weekend, I just went to FreeBSD 10 and can't seem to get it > to run on either the current b30 version or b27_8 version that worked > well for me before. > > Here is a description of the symptoms I've seen over the past 3 months: > > - OpenJDK6 b28/FreeBSD 9.2 - I would get this error message after > around 18-24 hours of starting the Java. > > kernel: sonewconn: pcb 0xfffffe0068969188: Listen queue overflow: 76 > already in queue awaiting acceptance > > Also on b28, if I removed my library and had it search through all my > media files, it would lock up after an hour. I don't have the exact > error message but the Java process would hit whatever the > "kern.maxfilesperproc" sysctl was set to and would not be able to read > in new files. It would appear the the former error from opening and > not closing sockets could be triggered much faster from opening and > closing files in my media library. > > - OpenJDK b29/FreeBSD 9.2 - I had 3 kernel panics from the VM bug that > came up. I immediately reverted back to b27_8 and didn't try again > after the errata fix was released since I was planning on just moving > to 10.0. > > - OpenJDK b30 and b27_8/FreeBSD 10.0, I've seen multiple crashes with > various messages. The headers from the 10 error files I have follow. > One of these was built with GCC4.8 just to give that a try. All > others with system default Clang. > > Any thoughts or ideas? I'm going to try some of the other Java > versions and if that fails a dedicated jail running FreeBSD 9.2 on my > 10.0 host replicating the versions that worked for me prior. > > Note, I have the full dump messages for all of these crashes below for > anybody interested. > > Respectfully, Jason Unovitch > > # A fatal error has been detected by the Java Runtime Environment: > # > # SIGSEGV (0xb) at pc=0x0000000801c3d429, pid=80584, tid=101388 > # > # JRE version: 6.0_32-b30 > # Java VM: OpenJDK 64-Bit Server VM (23.25-b01 mixed mode bsd-amd64 > compressed oops) > # Problematic frame: > # V [libjvm.so+0x43d429] +0x2bc019 > # > > # A fatal error has been detected by the Java Runtime Environment: > # > # SIGSEGV (0xb) at pc=0x0000000801da6553, pid=82439, tid=34410369024 > # > # JRE version: 6.0_32-b27 > # Java VM: OpenJDK 64-Bit Server VM (20.0-b12 mixed mode bsd-amd64 > compressed oops) > # Problematic frame: > # V [libjvm.so+0x5a6553] JVM_FindSignal+0xb4373 > # > > # A fatal error has been detected by the Java Runtime Environment: > # > # SIGBUS (0xa) at pc=0x0000000801c8b413, pid=91659, tid=100649 > # > # JRE version: 6.0_32-b30 > # Java VM: OpenJDK 64-Bit Server VM (23.25-b01 mixed mode bsd-amd64 > compressed oops) > # Problematic frame: > # V [libjvm.so+0x48b413] AsyncGetCallTrace+0x57393 > # > > # A fatal error has been detected by the Java Runtime Environment: > # > # SIGSEGV (0xb) at pc=0x0000000803989a3e, pid=91970, tid=101485 > # > # JRE version: 6.0_32-b30 > # Java VM: OpenJDK 64-Bit Server VM (23.25-b01 mixed mode bsd-amd64 > compressed oops) > # Problematic frame: > # J org.apache.derby.impl.store.raw.data.StoredPage.releaseExclusive()V > # > > # A fatal error has been detected by the Java Runtime Environment: > # > # SIGSEGV (0xb) at pc=0x0000000000000000, pid=93147, tid=34410372096 > # > # JRE version: 6.0_32-b27 > # Java VM: OpenJDK 64-Bit Server VM (20.0-b12 mixed mode bsd-amd64 > compressed oops) > # Problematic frame: > # V [libjvm.so+0x74c5cf] JVM_handle_bsd_signal+0x11becf > # > > # A fatal error has been detected by the Java Runtime Environment: > # > # SIGBUS (0xa) at pc=0x000000080392492a, pid=95509, tid=101328 > # > # JRE version: 6.0_32-b30 > # Java VM: OpenJDK 64-Bit Server VM (23.25-b01 mixed mode bsd-amd64 > compressed oops) > # Problematic frame: > # J java.lang.ThreadLocal.getMap(Ljava/lang/Thread;)Ljava/lang/ThreadLocal$ThreadLocalMap; > # > > # A fatal error has been detected by the Java Runtime Environment: > # > # SIGSEGV (0xb) at pc=0x0000000801f2474d, pid=79598, tid=100707 > # > # JRE version: 6.0_32-b30 > # Java VM: OpenJDK 64-Bit Server VM (23.25-b01 mixed mode bsd-amd64 > compressed oops) > # Problematic frame: > # V [libjvm.so+0x72474d] JVM_handle_bsd_signal+0x81a4d > # > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" -- Achilleas Mantzios Head of IT DEV IT DEPT Dynacom Tankers Mgmt