Jason Unovitch
2014-Jan-27 02:55 UTC
openjdk6 - FreeBSD 10.0-RELEASE - dies with "exited on signal 6"
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 #
Kenneth Culver
2014-Jan-27 13:25 UTC
openjdk6 - FreeBSD 10.0-RELEASE - dies with "exited on signal 6"
I have seen similar issues with ps3mediaserver and openjdk7. It crashes and dumps core if I try to do anything that stresses it (like fastforwarding more than 1.5x on my ps3). I have been working around it but it is annoying. Ken On Sunday, January 26, 2014, Jason Unovitch <jason.unovitch at gmail.com> 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-stable at freebsd.org <javascript:;> mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org<javascript:;> > " >