Details
-
Bug
-
Status: Resolved (View Workflow)
-
Critical
-
Resolution: Fixed
-
17.0.0
-
Security Level: Default (Default Security Scheme)
-
Linux opennms 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
OpenNMS 17.0.0 using rrdtool 1.4.7, .MultithreadedJniRrdStrategy/JRRD2 configured
Description
The output.log file fills realy fast up with the following messages:
(process:1505): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion 'G_IS_OBJECT (object)' failed (process:1505): GLib-GObject-CRITICAL **: g_object_replace_qdata: assertion 'G_IS_OBJECT (object)' failed
Since output.log is not rotated I end up with a full disk and a 90 GB file after a few hours. Maybe this issue is related to rrdtool because I found some similar errors on Tobi Oetiker's github repo page:
https://github.com/oetiker/rrdtool-1.x/issues/386
https://github.com/oetiker/rrdtool-1.x/issues/374
My workaround is to delete output.log and create a symbolic link of /dev/null to /var/log/opennms/output.log:
# cd /var/log/opennms # rm output.log # ln -s /dev/null output.log
This prevents the disk from filling up but results in a quite high CPU consumption (load is ~12).