Is there any way to produce "heat map" displays of energy usage with Mango? We are looking at an energy management project and one of the (many) things they have requested is heat maps.
Best posts made by petermcs
-
Heat map
Latest posts made by petermcs
-
RE: Out of memory problem
@terrypacker I got jmap running (seems that even though I changed JAVA_HOME to the OpenJDK folder Mango still runs using the Oracle Java so I need to look at the again... Anyway when I run jmap before and after the memory blows up, the results are identical!
Also a bit of further info, If I start Mango and don't connect (locally via 127.0.0.1 as I am Teamviewering in to check things) the browser the memory does not blow up. It only happens a few minutes after I connect and log in. If I connect but don't login I.e. stay at the login screen, the memory usage does not increase.Here is the after jmap result
sudo /usr/java/jdk1.8.0_152/bin/jmap 18673 Attaching to process ID 18673, please wait... Debugger attached successfully. Server compiler detected. JVM version is 25.152-b16 0x0000000000400000 7K /usr/java/jdk1.8.0_152/bin/java 0x00007f9eb46f8000 30K /usr/lib64/libnss_dns-2.17.so 0x00007f9eb6118000 259K /usr/java/jdk1.8.0_152/jre/lib/amd64/libjpeg.so 0x00007f9ec7168000 11K /usr/lib64/libfreebl3.so 0x00007f9ec736b000 39K /usr/lib64/libcrypt-2.17.so 0x00007f9ec75a2000 40K /usr/lib64/libltdl.so.7.3.0 0x00007f9ec77ac000 93K /usr/lib64/libtdb.so.1.3.16 0x00007f9ec79c3000 27K /usr/lib64/libogg.so.0.8.0 0x00007f9ec7bca000 180K /usr/lib64/libvorbis.so.0.4.6 0x00007f9ec7df7000 35K /usr/lib64/libvorbisfile.so.3.3.5 0x00007f9ecc091000 68K /usr/lib64/libcanberra.so.0.2.5 0x00007f9ecc2a2000 19K /usr/lib64/libcanberra-gtk.so.0.1.9 0x00007f9ecc4a7000 23K /usr/lib64/gtk-2.0/modules/libcanberra-gtk-module.so 0x00007f9ecc6ad000 6K /usr/lib64/gtk-2.0/modules/libpk-gtk-module.so 0x00007f9ecc8af000 43K /usr/lib64/gtk-2.0/2.10.0/engines/libpixmap.so 0x00007f9eccaba000 15K /usr/lib64/gtk-2.0/2.10.0/engines/libadwaita.so 0x00007f9ecccbe000 6K /usr/lib64/libgthread-2.0.so.0.5600.1 0x00007f9eccec0000 188K /usr/lib64/libgraphite2.so.3.0.1 0x00007f9ecd0ee000 259K /usr/lib64/libblkid.so.1.1.0 0x00007f9ecd32e000 73K /usr/lib64/libGLX.so.0.0.0 0x00007f9ecd560000 625K /usr/lib64/libGLdispatch.so.0.0.0 0x00007f9ecd816000 66K /usr/lib64/libbz2.so.1.0.6 0x00007f9ecda26000 19K /usr/lib64/libuuid.so.1.3.0 0x00007f9ecdc2b000 169K /usr/lib64/libexpat.so.1.6.0 0x00007f9ecde55000 111K /usr/lib64/libfribidi.so.0.4.0 0x00007f9ece071000 50K /usr/lib64/libthai.so.0.1.6 0x00007f9ece27d000 637K /usr/lib64/libharfbuzz.so.0.10705.0 0x00007f9ece51a000 271K /usr/lib64/libmount.so.1.1.0 0x00007f9ece75d000 103K /usr/lib64/libresolv-2.17.so 0x00007f9ece976000 152K /usr/lib64/libselinux.so.1 0x00007f9eceb9d000 31K /usr/lib64/libffi.so.6.0.1 0x00007f9eceda5000 568K /usr/lib64/libGL.so.1.7.0 0x00007f9ecf031000 88K /usr/lib64/libz.so.1.2.7 0x00007f9ecf247000 55K /usr/lib64/libxcb-render.so.0.0.0 0x00007f9ecf455000 15K /usr/lib64/libxcb-shm.so.0.0.0 0x00007f9ecf659000 175K /usr/lib64/libpng15.so.15.13.0 0x00007f9ecf884000 82K /usr/lib64/libEGL.so.1.1.0 0x00007f9ecfa98000 682K /usr/lib64/libpixman-1.so.0.34.0 0x00007f9ecfd41000 776K /usr/lib64/libfreetype.so.6.14.0 0x00007f9ed8044000 392K /usr/lib64/libpcre.so.1.2.0 0x00007f9ed82a6000 10K /usr/lib64/libXdamage.so.1.1.0 0x00007f9ed84a9000 10K /usr/lib64/libXcomposite.so.1.0.0 0x00007f9ed86ac000 43K /usr/lib64/libXrandr.so.2.2.0 0x00007f9ed88b7000 11K /usr/lib64/libXinerama.so.1.0.0 0x00007f9ed8aba000 1129K /usr/lib64/libglib-2.0.so.0.5600.1 0x00007f9ed8dd0000 331K /usr/lib64/libgobject-2.0.so.0.5600.1 0x00007f9ed9021000 270K /usr/lib64/libfontconfig.so.1.11.1 0x00007f9ed9263000 281K /usr/lib64/libpango-1.0.so.0.4200.3 0x00007f9ed94a9000 88K /usr/lib64/libpangoft2-1.0.so.0.4200.3 0x00007f9ed96bf000 1682K /usr/lib64/libgio-2.0.so.0.5600.1 0x00007f9ed9a5e000 162K /usr/lib64/libgdk_pixbuf-2.0.so.0.3612.0 0x00007f9ed9c86000 1263K /usr/lib64/libcairo.so.2.11512.0 0x00007f9ed9fbd000 153K /usr/lib64/libatk-1.0.so.0.22810.1 0x00007f9eda1e3000 55K /usr/lib64/libpangocairo-1.0.so.0.4200.3 0x00007f9eda3f1000 15K /usr/lib64/libgmodule-2.0.so.0.5600.1 0x00007f9eda5f5000 789K /usr/lib64/libgdk-x11-2.0.so.0.2400.31 0x00007f9eda8b6000 4705K /usr/lib64/libgtk-x11-2.0.so.0.2400.31 0x00007f9edb039000 23K /usr/lib64/libXfixes.so.3.1.0 0x00007f9edb23f000 44K /usr/lib64/libXcursor.so.1.0.2 0x00007f9edb54b000 513K /usr/java/jdk1.8.0_152/jre/lib/amd64/libfontmanager.so 0x00007f9edb9c4000 15K /usr/lib64/libXau.so.6.0.0 0x00007f9edbbc8000 162K /usr/lib64/libxcb.so.1.1.0 0x00007f9edbdf0000 64K /usr/lib64/libXi.so.6.1.0 0x00007f9f18023000 23K /usr/lib64/libXtst.so.6.1.0 0x00007f9f18229000 43K /usr/lib64/libXrender.so.1.3.0 0x00007f9f18434000 1287K /usr/lib64/libX11.so.6.3.0 0x00007f9f18772000 74K /usr/lib64/libXext.so.6.4.0 0x00007f9f189a3000 432K /usr/java/jdk1.8.0_152/jre/lib/amd64/libawt_xawt.so 0x00007f9f18bfc000 754K /usr/java/jdk1.8.0_152/jre/lib/amd64/libawt.so 0x00007f9f507e9000 86K /usr/lib64/libgcc_s-4.8.5-20150702.so.1 0x00007f9f50a1e000 251K /usr/java/jdk1.8.0_152/jre/lib/amd64/libsunec.so 0x00007f9f51168000 91K /usr/java/jdk1.8.0_152/jre/lib/amd64/libnio.so 0x00007f9f51394000 112K /usr/java/jdk1.8.0_152/jre/lib/amd64/libnet.so 0x00007f9f517ab000 49K /usr/java/jdk1.8.0_152/jre/lib/amd64/libmanagement.so 0x00007f9f6f1f3000 125K /usr/java/jdk1.8.0_152/jre/lib/amd64/libzip.so 0x00007f9f6f40f000 60K /usr/lib64/libnss_files-2.17.so 0x00007f9f6f622000 221K /usr/java/jdk1.8.0_152/jre/lib/amd64/libjava.so 0x00007f9f6f84e000 64K /usr/java/jdk1.8.0_152/jre/lib/amd64/libverify.so 0x00007f9f6fa5d000 42K /usr/lib64/librt-2.17.so 0x00007f9f6fc65000 1110K /usr/lib64/libm-2.17.so 0x00007f9f6ff67000 16640K /usr/java/jdk1.8.0_152/jre/lib/amd64/server/libjvm.so 0x00007f9f70f63000 2105K /usr/lib64/libc-2.17.so 0x00007f9f71331000 18K /usr/lib64/libdl-2.17.so 0x00007f9f71535000 101K /usr/java/jdk1.8.0_152/lib/amd64/jli/libjli.so 0x00007f9f7174b000 138K /usr/lib64/libpthread-2.17.so 0x00007f9f71967000 159K /usr/lib64/ld-2.17.so
-
Out of memory problem
I have a Mango installation (Centos 7) that has been running fine for a couple of years on a customers site. When I logged in yesterday to check on it the UI had locked up. I managed to restart Mango but it was still very slow to respond and screens would not populate. I tried a few things including installing the 8 or so updates that were outstanding to no avail. When I run the System Monitor it shows JAVA using almost 100% processor and several GB of RAM. I updated the Mango config to use large memory java init with 10G RAM available but in a matter of a couple of minutes Java used all that up.
I was using Java SE 1.8.152 and I considered updating to the latest but I see Oracle have changed their licensing and I haven't figured out the consequences of that yet. Instead I updated to OpenJDK 1.8.0.232 but this made no difference.
Any suggestions on what I should check next?BTW this is the console log:
[petermcs@localhost ~]$ cd /opt/mango/e*/bin [petermcs@localhost bin]$ sudo ./ma.sh start [sudo] password for petermcs: MA_HOME is /opt/mango/enterprise-m2m2-core-3.2.2 [petermcs@localhost bin]$ MA removing dead pid file for PID: 5322 ma-start: MA started with Process ID: 12604 INFO 2019-11-06T10:24:04,596 (com.serotonin.m2m2.Main.main:105) - Starting Mango 3.6.5 with Schema Version: 28 INFO 2019-11-06T10:24:06,314 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'ssh', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:06,401 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'Haystack', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:06,490 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'loggingConsole', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:06,499 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'advancedComponents', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:06,535 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/enterprise-m2m2-core-3.2.2/web/modules/advancedComponents/web/dox/manifest.xml INFO 2019-11-06T10:24:06,575 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'dnp3', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:06,634 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'excelReports', v3.6.2 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:06,765 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'openv4j', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:06,834 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'dataPointDetailsView', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:06,905 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'mqttClientDataSource', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:06,952 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'scripting', v3.6.2 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:06,955 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'opcda', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:06,956 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'reports', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:07,013 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'sstTheme', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:07,014 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'measurlogicDTSCell', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:07,019 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'mbus', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:07,069 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'twilio', v3.6.1 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:07,163 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'asciiFile', v3.6.1 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:07,211 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'controlcore', v3.6.1 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:07,298 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'meta', v3.6.2 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:07,382 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'mangoUI', v3.6.7 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:07,450 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/enterprise-m2m2-core-3.2.2/web/modules/mangoUI/web/dox/manifest.xml INFO 2019-11-06T10:24:07,835 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'BACnet', v3.6.3 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:07,906 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'mangoApi', v3.6.4 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:07,981 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'log4JReset', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:07,981 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'pointLinks', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,050 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'sstGraphics', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,195 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'virtualDS', v3.6.1 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,233 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'mangoNoSqlDatabase', v3.6.4 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,276 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'http', v3.6.2 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,305 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'persistent', v3.6.2 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,320 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'dashboardDesigner', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,322 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/enterprise-m2m2-core-3.2.2/web/modules/dashboardDesigner/web/dox/manifest.xml INFO 2019-11-06T10:24:08,338 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'graphicalViews', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,393 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'serial', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,395 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'maintenanceEvents', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,398 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'onewire', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,400 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'scheduledEvents', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,441 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'vmstat', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,455 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'dataFile', v3.6.1 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,488 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'egauge', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,521 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'jsonFileImport', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,595 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'watchlists', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,648 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'advancedScheduler', v3.6.1 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,649 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'dataImport', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,665 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'envcands', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,666 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'log4jDS', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,668 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'pachube', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,671 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'snmp', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,673 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'TCPIP', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,689 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'deviceConfig', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,690 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/enterprise-m2m2-core-3.2.2/web/modules/deviceConfig/web/dox/manifest.xml INFO 2019-11-06T10:24:08,708 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'jmxds', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,712 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'pakbus', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,802 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'sqlConsole', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,804 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'templateConfig', v3.6.0 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,846 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'sstGlobalScripts', v3.6.1 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,855 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'modbus', v3.6.6 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,895 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'pid', v3.6.1 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,960 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'sqlds', v3.6.1 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:08,995 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'pop3', v3.6.2 by Infinite Automation Systems Inc. INFO 2019-11-06T10:24:09,012 (com.serotonin.m2m2.Main.loadModules:586) - Loading module 'internal', v3.6.0 by Infinite Automation Systems Inc. WARN 2019-11-06T10:24:13,790 (com.serotonin.m2m2.Lifecycle.webServerInitialize:1058) - BROWSE action not supported on your platform, unable to open browser at startup. INFO 2019-11-06T10:24:13,979 (com.serotonin.m2m2.Lifecycle.loadLic:611) - Checking license... INFO 2019-11-06T10:24:14,154 (com.serotonin.m2m2.db.H2Proxy.initializeImpl:61) - Initializing H2 connection manager INFO 2019-11-06T10:24:18,884 (com.serotonin.m2m2.db.upgrade.DBUpgrade.checkUpgrade:38) - Starting instance with core version 3.6.5, schema v28 INFO 2019-11-06T10:24:18,884 (com.infiniteautomation.nosql.MangoNoSqlProxy.initialize:77) - Starting MangoNoSql Database INFO 2019-11-06T10:24:18,994 (com.infiniteautomation.tsdb.impl.IasTsdbImpl.<init>:144) - Database at /opt/mango/enterprise-m2m2-core-3.2.2/databases/mangoTSDB started INFO 2019-11-06T10:24:22,897 (com.infiniteautomation.tsdb.impl.IasTsdbImpl.<init>:173) - Empty dir delete for database at /opt/mango/enterprise-m2m2-core-3.2.2/databases/mangoTSDB took 3874ms INFO 2019-11-06T10:24:22,901 (com.infiniteautomation.tsdb.impl.IasTsdbImpl.<init>:234) - Corruption scan for database at /opt/mango/enterprise-m2m2-core-3.2.2/databases/mangoTSDB skipped because the database is configured not to run scan. INFO 2019-11-06T10:24:22,945 (com.infiniteautomation.tsdb.impl.IasTsdbImpl.<init>:144) - Database at /opt/mango/enterprise-m2m2-core-3.2.2/databases/mangoTSDBAux started INFO 2019-11-06T10:24:22,971 (com.infiniteautomation.tsdb.impl.IasTsdbImpl.<init>:173) - Empty dir delete for database at /opt/mango/enterprise-m2m2-core-3.2.2/databases/mangoTSDBAux took 0ms INFO 2019-11-06T10:24:22,972 (com.infiniteautomation.tsdb.impl.IasTsdbImpl.<init>:234) - Corruption scan for database at /opt/mango/enterprise-m2m2-core-3.2.2/databases/mangoTSDBAux skipped because the database is configured not to run scan. INFO 2019-11-06T10:24:25,577 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:125) - Spring context 'runtimeContext' refreshed: org.springframework.context.annotation.AnnotationConfigApplicationContext@6f044c58 INFO 2019-11-06T10:24:25,581 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextStarted:139) - Spring context 'runtimeContext' started: org.springframework.context.annotation.AnnotationConfigApplicationContext@6f044c58 INFO 2019-11-06T10:24:25,777 (com.serotonin.m2m2.rt.DataSourceGroupInitializer.initialize:77) - Initializing 5 NORMAL priority data sources in 8 threads. INFO 2019-11-06T10:24:26,276 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup:408) - Data source Schedule Points took 497ms to start INFO 2019-11-06T10:24:26,351 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup:408) - Data source Mango Internal took 571ms to start INFO 2019-11-06T10:24:27,119 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup:408) - Data source Fast BACnet took 1341ms to start INFO 2019-11-06T10:24:28,951 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup:408) - Data source HVAC took 3172ms to start INFO 2019-11-06T10:24:29,261 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup:408) - Data source site took 3480ms to start INFO 2019-11-06T10:24:29,327 (com.serotonin.m2m2.rt.DataSourceGroupInitializer.initialize:109) - Initialization of 5 NORMAL priority data sources took 3550ms INFO 2019-11-06T10:24:29,327 (com.serotonin.m2m2.rt.DataSourceGroupInitializer.initialize:77) - Initializing 5 LAST priority data sources in 8 threads. INFO 2019-11-06T10:24:30,377 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup:408) - Data source landlord total electricity took 1048ms to start INFO 2019-11-06T10:24:30,377 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup:408) - Data source innovate total electricity took 1048ms to start INFO 2019-11-06T10:24:30,393 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup:408) - Data source wcc total electricity took 1065ms to start INFO 2019-11-06T10:24:30,560 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup:408) - Data source site total electricity took 1232ms to start INFO 2019-11-06T10:24:30,664 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup:408) - Data source Window Control took 1336ms to start INFO 2019-11-06T10:24:30,704 (com.serotonin.m2m2.rt.DataSourceGroupInitializer.initialize:109) - Initialization of 5 LAST priority data sources took 1377ms INFO 2019-11-06T10:24:31,102 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initialize:176) - Starting 0 Publishers... INFO 2019-11-06T10:24:31,102 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initialize:188) - 0 Publisher's started in 3ms WARN 2019-11-06T10:24:32,572 (org.eclipse.jetty.webapp.StandardDescriptorProcessor.addServletMapping:1220) - Duplicate mapping from *.jsp to jsp INFO 2019-11-06T10:24:33,190 (com.serotonin.m2m2.web.M2M2ContextListener.contextInitialized:32) - Mango Automation context starting INFO 2019-11-06T10:24:33,190 (com.serotonin.m2m2.web.M2M2ContextListener.contextInitialized:40) - Mango Automation context started INFO 2019-11-06T10:24:34,149 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:125) - Spring context 'rootWebContext' refreshed: Root WebApplicationContext INFO 2019-11-06T10:24:34,892 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:125) - Spring context 'jspDispatcherContext' refreshed: WebApplicationContext for namespace 'JSP_DISPATCHER-servlet' INFO 2019-11-06T10:24:35,212 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:125) - Spring context 'rootRestDispatcherContext' refreshed: WebApplicationContext for namespace 'ROOT_REST_DISPATCHER-servlet' INFO 2019-11-06T10:24:36,706 (com.serotonin.m2m2.web.mvc.rest.v1.BacnetDiscoveryRestController.<init>:54) - Creating Discovery Rest Controller INFO 2019-11-06T10:24:37,042 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:125) - Spring context 'restV1DispatcherContext' refreshed: WebApplicationContext for namespace 'restV1DispatcherServlet-servlet' INFO 2019-11-06T10:24:38,847 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:125) - Spring context 'restV2DispatcherContext' refreshed: WebApplicationContext for namespace 'restV2DispatcherServlet-servlet' INFO 2019-11-06T10:24:38,850 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: MeasurlogicDTSCellDataSourceDwr INFO 2019-11-06T10:24:38,850 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: EnvCanEditDwr INFO 2019-11-06T10:24:38,852 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: HttpDataSourceDwr INFO 2019-11-06T10:24:38,853 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: TcpIpDataSourceEditDwr INFO 2019-11-06T10:24:38,854 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: Pop3EditDwr INFO 2019-11-06T10:24:38,855 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: HaystackDataSourceDwr INFO 2019-11-06T10:24:38,855 (com.serotonin.m2m2.Lifecycle.configureDwr:1277) - Duplicate definition of DWR class ignored: com.serotonin.m2m2.http.dwr.HttpDataSourceDwr INFO 2019-11-06T10:24:38,856 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: OPCDAEditDwr INFO 2019-11-06T10:24:38,858 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: DataFileDataSourceEditDwr INFO 2019-11-06T10:24:38,860 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: BACnetMSTPEditDwr INFO 2019-11-06T10:24:38,862 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: PakBusEditDwr INFO 2019-11-06T10:24:38,863 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: MBusEditDwr INFO 2019-11-06T10:24:38,863 (com.serotonin.m2m2.Lifecycle.configureDwr:1277) - Duplicate definition of DWR class ignored: com.infiniteautomation.mango.pakbus.dwr.PakBusEditDwr INFO 2019-11-06T10:24:38,863 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: SNMPEditDwr INFO 2019-11-06T10:24:38,864 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: InternalEditDwr INFO 2019-11-06T10:24:38,865 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: SerialEditDwr INFO 2019-11-06T10:24:38,866 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: MetaEditDwr INFO 2019-11-06T10:24:38,867 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: PersistentDataSourceDwr INFO 2019-11-06T10:24:38,868 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: DnpEditDwr INFO 2019-11-06T10:24:38,869 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: ModbusEditDwr INFO 2019-11-06T10:24:38,870 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: SshDataSourceEditDwr INFO 2019-11-06T10:24:38,872 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: ScriptingEditDwr INFO 2019-11-06T10:24:38,873 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: Log4jEditDwr INFO 2019-11-06T10:24:38,875 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: PidDataSourceEditDwr INFO 2019-11-06T10:24:38,876 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: AsciiFileEditDwr INFO 2019-11-06T10:24:38,876 (com.serotonin.m2m2.Lifecycle.configureDwr:1277) - Duplicate definition of DWR class ignored: com.serotonin.m2m2.http.dwr.HttpDataSourceDwr INFO 2019-11-06T10:24:38,878 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: OneWireEditDwr INFO 2019-11-06T10:24:38,881 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: PachubeDataSourceDwr INFO 2019-11-06T10:24:38,882 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: VMStatEditDwr INFO 2019-11-06T10:24:38,884 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: SqlEditDwr INFO 2019-11-06T10:24:38,884 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: MqttClientEditDwr INFO 2019-11-06T10:24:38,886 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: EgaugeDataSourceDwr INFO 2019-11-06T10:24:38,886 (com.serotonin.m2m2.Lifecycle.configureDwr:1277) - Duplicate definition of DWR class ignored: com.serotonin.m2m2.http.dwr.HttpDataSourceDwr INFO 2019-11-06T10:24:38,887 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: JmxEditDwr INFO 2019-11-06T10:24:38,889 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: BACnetIPEditDwr INFO 2019-11-06T10:24:38,890 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: OpenVEditDwr INFO 2019-11-06T10:24:38,891 (com.serotonin.m2m2.Lifecycle.configureDwr:1277) - Duplicate definition of DWR class ignored: br.org.scadabr.dnp3.dwr.DnpEditDwr INFO 2019-11-06T10:24:38,892 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: ControlCoreEditDwr INFO 2019-11-06T10:24:38,892 (com.serotonin.m2m2.Lifecycle.configureDwr:1277) - Duplicate definition of DWR class ignored: com.serotonin.m2m2.modbus.dwr.ModbusEditDwr INFO 2019-11-06T10:24:38,893 (com.serotonin.m2m2.Lifecycle.configureDwr:1284) - Added DWR definition for: VirtualEditDwr INFO 2019-11-06T10:24:38,893 (com.serotonin.m2m2.Lifecycle.configureDwr:1277) - Duplicate definition of DWR class ignored: com.serotonin.m2m2.http.dwr.HttpDataSourceDwr WARN 2019-11-06T10:31:38,863 (com.serotonin.m2m2.rt.dataSource.PollingDataSource.incrementUnsuccessfulPolls:150) - Data Source Fast BACnet aborted 1 polls since it started. WARN 2019-11-06T10:35:51,712 (com.serotonin.m2m2.rt.dataSource.PollingDataSource.incrementUnsuccessfulPolls:150) - Data Source Mango Internal aborted 1 polls since it started. WARN 2019-11-06T10:37:46,812 (org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produceTask:361) - java.lang.OutOfMemoryError: GC overhead limit exceeded at java.util.ArrayDeque.iterator(ArrayDeque.java:611) ~[?:1.8.0_152] at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.processUpdates(ManagedSelector.java:376) ~[jetty-io-9.4.12.v20180830.jar:9.4.12.v20180830] at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce(ManagedSelector.java:355) ~[jetty-io-9.4.12.v20180830.jar:9.4.12.v20180830] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produceTask(EatWhatYouKill.java:357) ~[jetty-util-9.4.12.v20180830.jar:9.4.12.v20180830] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:181) ~[jetty-util-9.4.12.v20180830.jar:9.4.12.v20180830] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) ~[jetty-util-9.4.12.v20180830.jar:9.4.12.v20180830] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) ~[jetty-util-9.4.12.v20180830.jar:9.4.12.v20180830] at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) ~[jetty-util-9.4.12.v20180830.jar:9.4.12.v20180830] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) ~[jetty-util-9.4.12.v20180830.jar:9.4.12.v20180830] at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) ~[jetty-util-9.4.12.v20180830.jar:9.4.12.v20180830] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_152] WARN 2019-11-06T10:40:07,183 (com.serotonin.m2m2.rt.dataSource.PollingDataSource.incrementUnsuccessfulPolls:150) - Data Source site aborted 1 polls since it started.
-
RE: Heat map
Hi Jared, Great work on putting that together!
I'll try playing around with it when I get some sensible data and see what it looks like. I'm hoping we get somewhere with this particular tender as it is a really nice project based around monitoring electricity, water and environmental factors in multiple apartments.
-
RE: Heat map
Hi Jared,
Here's an example of heat mapping http://www.vesma.com/heatmap . It's basically a 2 dimensional display of an array of data with the consumption in a cell represented as a colour which gives you a way to visualise the energy usage over a period of time more clearly. -
Heat map
Is there any way to produce "heat map" displays of energy usage with Mango? We are looking at an energy management project and one of the (many) things they have requested is heat maps.
-
RE: Schedule issues
Hi Jared,
I updated the modules and tried:
<ma-button style="color: rgb(0, 0, 0); text-align: center;" onclick="window.open('/ui/advanced-scheduler-full-screen/ADVSCH_9456d1ed-67bb-4c92-a014-2deb74392c5f', 'schedule', 'height=800,width=1024')" label="Open Landlord Schedule" raised="true"></ma-button>
I now get a page not found error.
Regards,
Peter -
Schedule issues
I've run into a couple of issues with schedules recently and I'm not sure what the cause is:
First issue is my schedules stopped updating the points I had set them up to write to. I had to reboot the PC recently and also did an update to the modules so I'm not sure what triggered the problem but after all that the points set up under schedule events did not update. The only way I could get one of them to update was to delete the schedule, recreate it and re attach the point.
Second issue is, I have been using the following:
<ma-button style="color: rgb(0, 0, 0); text-align: center;" onclick="window.open('/ui/scheduler-no-ui/ADVSCH_9456d1ed-67bb-4c92-a014-2deb74392c5f', 'schedule', 'height=800,width=1024')" label="Open Landlord Schedule" raised="true"></ma-button>
to open an edit window for the schedule from the users dashboard but it now just opens a blank window with no schedule details. The only way I can edit the schedule now is to use the Advanced Scheduler.
Regards,
Peter -
RE: Correcting historical data
Thanks Phil,
That was exactly what I needed.
Regards,
Peter -
Correcting historical data
I've one or two data point values for a data source that are incorrect (device occasionally returns 0 for a meter reading if there is a transient issue which screws up the delta calculations) when displaying). I was wondering what is the easiest way to delete the errant readings from the point history?
-
BACnet custom properties
Can Mango read custom properties of BACnet objects?
Peter