Hi,

First off, this is a status message.  It's just a heads up as to where I 
am with this....

I'm working on several things like creating the package/port of OpenNMS 
for FreeBSD 10+ .

As some of you have seen on previous mails, I've been tracking down some 
things on 1.12 and fixing them.

Well, with the release of 1.14, many things have just 'gone away'.

I have tried to work with Oracle JDK, but, apparently, Oracle is 
catering more to the Linux community (no surprise given their product 
offerings on that platform).  So, basically, FreeBSD has dropped out of 
the Oracle JDK/JRE world and stays with OpenJDK.  The situation that 
FreeBSD is moving towards is running the Oracle Test Suite to make sure 
that OpenJDK is compliant with the JDK spec.

So, having said that, I need to get this running under OpenJDK 7+ or 
later (yes, I know it's not on 8 yet. :-) ).

I know, non-supported platform, non-supported Java.  However, many 
people on this list have been very helpful, so I would like to get this 
running as it seems to be 'close'.  I need to find out what the problem 
is whether it's java or an issue in OpenNMS.

First off, I had to disable the RANCID plugin as it was failing in a 
similar manner that used to afflict JDK 6 on Solaris.

After that I was getting another issue or two regarding memory tweaks 
and connections to the remote PostGreSQL server connections.

Now, I've created an /usr/local/opennms/etc/opennms.conf file to allow 
OpenNMS to run in a larger space:

# Value of the -Xmx<size>m option passed to Java.
JAVA_HEAP_SIZE=2048

ADDITIONAL_MANAGER_OPTIONS=-XX:MaxPermSize=1536m

And it runs for about 1-3 hours.  At one point, it just cores.

Now, while it's running I was watching with  top -H...

Every time I start using the web interface, I can get it to crash sooner 
rather than later.  I'll start to see the process grow.... Once it's 
about double the limit of the options above, it crashes.

I've also also given it free reign on memory and see it grow beyond 8 GB 
and slow the machine down to a crawl.

I find myself, again, back at the same place as 1.12.


#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000080383f4ae, pid=20707, tid=38495606784
#
# JRE version: OpenJDK Runtime Environment (7.0-b14) (build 1.7.0_71-b14)
# Java VM: OpenJDK 64-Bit Server VM (24.71-b01 mixed mode bsd-amd64 
compressed oops)
# Problematic frame:
# j  java.net.Inet4Address.<init>()V+0
#
# Core dump written. Default location: /cores/core or core.20707
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#

---------------  T H R E A D  ---------------

Current thread (0x00000008fb413800):  JavaThread 
"DefaultUDPTransportMapping_0.0.0.0/0" daemon [_thread_in_Java, 
id=-159098880, stack(0x00007ffff0408000,0x00007ffff0508000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), 
si_addr=0x00007ffff04e7398

So, back to the FreeBSD Java project about this issue.

I had been informed, previously, that this is an network code issue in 
the JVM/JRE.  If anyone thinks otherwise, please let me know.

Thank you,

P.


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to