Compression during Mango boot
-
Hy,
I'm using publisher in a client/server environment on mango 2.8.8,
during boot I've a lot of this rowDEBUG 2019-05-31 12:38:44,061 (com.serotonin.m2m2.persistent.common.Packet.compressByteQueue:696) - Compressed from 69 to 47 bytes. Compression: 31.88405797101449% DEBUG 2019-05-31 12:38:44,061 (com.serotonin.m2m2.persistent.common.Packet.compressByteQueue:696) - Compressed from 69 to 47 bytes. Compression: 31.88405797101449% DEBUG 2019-05-31 12:38:43,059 (com.serotonin.m2m2.persistent.common.Packet.compressByteQueue:696) - Compressed from 69 to 47 bytes. Compression: 31.88405797101449% DEBUG 2019-05-31 12:38:43,059 (com.serotonin.m2m2.persistent.common.Packet.compressByteQueue:696) - Compressed from 69 to 47 bytes. Compression: 31.88405797101449% DEBUG 2019-05-31 12:38:43,059 (com.serotonin.m2m2.persistent.common.Packet.compressByteQueue:696) - Compressed from 69 to 47 bytes. Compression: 31.88405797101449% DEBUG 2019-05-31 12:38:42,059 (com.serotonin.m2m2.persistent.common.Packet.compressByteQueue:696) - Compressed from 69 to 47 bytes. Compression: 31.88405797101449% DEBUG 2019-05-31 12:38:42,059 (com.serotonin.m2m2.persistent.common.Packet.compressByteQueue:696) - Compressed from 69 to 47 bytes. Compression: 31.88405797101449% DEBUG 2019-05-31 12:38:42,059 (com.serotonin.m2m2.persistent.common.Packet.compressByteQueue:696) - Compressed from 69 to 47 bytes. Compression: 31.88405797101449% DEBUG 2019-05-31 12:38:41,059 (com.serotonin.m2m2.persistent.common.Packet.compressByteQueue:696) - Compressed from 69 to 47 bytes. Compression: 31.88405797101449% DEBUG 2019-05-31 12:38:41,059 (com.serotonin.m2m2.persistent.common.Packet.compressByteQueue:696) - Compressed from 69 to 47 bytes. Compression: 31.88405797101449% DEBUG 2019-05-31 12:38:41,059 (com.serotonin.m2m2.persistent.common.Packet.compressByteQueue:696) - Compressed from 69 to 47 bytes. Compression: 31.88405797101449% DEBUG 2019-05-31 12:38:40,059 (com.serotonin.m2m2.persistent.common.Packet.compressByteQueue:696) - Compressed from 69 to 47 bytes. Compression: 31.88405797101449% DEBUG 2019-05-31 12:38:40,059 (com.serotonin.m2m2.persistent.common.Packet.compressByteQueue:696) - Compressed from 69 to 47 bytes. Compression: 31.88405797101449% DEBUG 2019-05-31 12:38:40,059 (com.serotonin.m2m2.persistent.common.Packet.compressByteQueue:696) - Compressed from 69 to 47 bytes. Compression: 31.88405797101449% DEBUG 2019-05-31 12:38:39,062 (com.serotonin.m2m2.persistent.common.Packet.compressByteQueue:696) - Compressed from 69 to 47 bytes. Compression: 31.88405797101449% DEBUG 2019-05-31 12:38:39,062 (com.serotonin.m2m2.persistent.common.Packet.compressByteQueue:696) - Compressed from 69 to 47 bytes. Compression: 31.88405797101449% DEBUG 2019-05-31 12:38:39,062 (com.serotonin.m2m2.persistent.common.Packet.compressByteQueue:696) - Compressed from 69 to 47 bytes. Compression: 31.88405797101449% DEBUG 2019-05-31 12:38:38,059 (com.serotonin.m2m2.persistent.common.Packet.compressByteQueue:696) - Compressed from 50 to 44 bytes. Compression: 12.0% DEBUG 2019-05-31 12:38:37,972 (com.serotonin.m2m2.persistent.pub.TimedOutputStream$CheckTask.run:131) - 1 (PersistentSenderRT.SendThread): not in a write operation DEBUG 2019-05-31 12:38:38,059 (com.serotonin.m2m2.persistent.common.Packet.compressByteQueue:696) - Compressed from 50 to 44 bytes. Compression: 12.0% DEBUG 2019-05-31 12:38:37,972 (com.serotonin.m2m2.persistent.pub.TimedOutputStream$CheckTask.run:131) - 1 (PersistentSenderRT.SendThread): not in a write operation DEBUG 2019-05-31 12:38:38,059 (com.serotonin.m2m2.persistent.common.Packet.compressByteQueue:696) - Compressed from 50 to 44 bytes. Compression: 12.0% DEBUG 2019-05-31 12:38:37,972 (com.serotonin.m2m2.persistent.pub.TimedOutputStream$CheckTask.run:131) - 1 (PersistentSenderRT.SendThread): not in a write operation DEBUG 2019-05-31 12:38:37,059 (com.serotonin.m2m2.persistent.common.Packet.compressByteQueue:696) - Compressed from 50 to 44 bytes. Compression: 12.0% DEBUG 2019-05-31 12:38:37,059 (com.serotonin.m2m2.persistent.common.Packet.compressByteQueue:696) - Compressed from 50 to 44 bytes. Compression: 12.0% DEBUG 2019-05-31 12:38:37,059 (com.serotonin.m2m2.persistent.common.Packet.compressByteQueue:696) - Compressed from 50 to 44 bytes. Compression: 12.0% DEBUG 2019-05-31 12:38:36,059 (com.serotonin.m2m2.persistent.common.Packet.compressByteQueue:696) - Compressed from 69 to 47 bytes. Compression: 31.88405797101449% DEBUG 2019-05-31 12:38:36,059 (com.serotonin.m2m2.persistent.common.Packet.compressByteQueue:696) - Compressed from 69 to 47 bytes. Compression: 31.88405797101449% DEBUG 2019-05-31 12:38:36,059 (com.serotonin.m2m2.persistent.common.Packet.compressByteQueue:696) - Compressed from 69 to 47 bytes. Compression: 31.88405797101449%
is it normal, how I can speed-up the boot?
-
Hi etantonio,
The logs you've shown span eight seconds and show that your publisher was running with debug logging on. I do not know what you're asking about as far as speeding things up, or the normality of it. All the log shows are a few packets being sent every second.
If those messages are in the ma.log file, you can decrease the log settings in your Mango/classes/log4j2.xml or Mango/overrides/classes/log4j2.xml file that pertain to the package (which would lead me to believe you may have switched to the debug-log4j2.xml since these messages aren't in the default configuration).
Otherwise, I suspect this is from the publisher log, and then your publisher is set to log debug messages in its publisher settings.