Hi,
and yes I saw your comment and what I tried to say in my last post is that I
got 2.2.0-SNAPSHOT running and that I quite quickly got an ResourceLeak log
entry in my 2.1.0 and that I did'nt see any on the snapshot.

However, after running 2.2.0-SNAPSHOT a few hours, I also got the exception.
I have'nt gotten my logging working in my testbed, so the only output I got
is pasted below.
I will continue help tracking this one down.


3.6.2017 14:16:20
io.netty.handler.codec.mqtt.MqttDecoder.decodePublishVariableHeader(MqttDecoder.java:268)
3.6.2017 14:16:20
io.netty.handler.codec.mqtt.MqttDecoder.decodeVariableHeader(MqttDecoder.java:194)
3.6.2017 14:16:20
io.netty.handler.codec.mqtt.MqttDecoder.decode(MqttDecoder.java:84)
3.6.2017 14:16:20
io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:367)
3.6.2017 14:16:20
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:248)
3.6.2017 14:16:20
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
3.6.2017 14:16:20
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
3.6.2017 14:16:20
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
3.6.2017 14:16:20
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334)
3.6.2017 14:16:20
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
3.6.2017 14:16:20
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
3.6.2017 14:16:20
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926)
3.6.2017 14:16:20
io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:1017)
3.6.2017 14:16:20
io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:394)
3.6.2017 14:16:20
io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:299)
3.6.2017 14:16:20
io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
3.6.2017 14:16:20       java.lang.Thread.run(Thread.java:748)
3.6.2017 14:16:20#1:
3.6.2017 14:16:20
io.netty.buffer.AdvancedLeakAwareByteBuf.readUnsignedByte(AdvancedLeakAwareByteBuf.java:402)
3.6.2017 14:16:20
io.netty.handler.codec.ReplayingDecoderByteBuf.readUnsignedByte(ReplayingDecoderByteBuf.java:523)
3.6.2017 14:16:20
io.netty.handler.codec.mqtt.MqttDecoder.decodeMsbLsb(MqttDecoder.java:454)
3.6.2017 14:16:20
io.netty.handler.codec.mqtt.MqttDecoder.decodeMsbLsb(MqttDecoder.java:449)
3.6.2017 14:16:20
io.netty.handler.codec.mqtt.MqttDecoder.decodeString(MqttDecoder.java:434)
3.6.2017 14:16:20
io.netty.handler.codec.mqtt.MqttDecoder.decodeString(MqttDecoder.java:419)
3.6.2017 14:16:20
io.netty.handler.codec.mqtt.MqttDecoder.decodePublishVariableHeader(MqttDecoder.java:268)
3.6.2017 14:16:20
io.netty.handler.codec.mqtt.MqttDecoder.decodeVariableHeader(MqttDecoder.java:194)
3.6.2017 14:16:20
io.netty.handler.codec.mqtt.MqttDecoder.decode(MqttDecoder.java:84)
3.6.2017 14:16:20
io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:367)
3.6.2017 14:16:20
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:248)
3.6.2017 14:16:20
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
3.6.2017 14:16:20
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
3.6.2017 14:16:20
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
3.6.2017 14:16:20
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334)
3.6.2017 14:16:20
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
3.6.2017 14:16:20
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
3.6.2017 14:16:20
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926)
3.6.2017 14:16:20
io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:1017)
3.6.2017 14:16:20
io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:394)
3.6.2017 14:16:20
io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:299)
3.6.2017 14:16:20
io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
3.6.2017 14:16:20       java.lang.Thread.run(Thread.java:748)
3.6.2017 14:16:20Created at:
3.6.2017 14:16:20
io.netty.util.ResourceLeakDetector.track(ResourceLeakDetector.java:237)
3.6.2017 14:16:20
io.netty.buffer.PooledByteBufAllocator.newDirectBuffer(PooledByteBufAllocator.java:327)
3.6.2017 14:16:20
io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:181)
3.6.2017 14:16:20
io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:172)
3.6.2017 14:16:20
io.netty.buffer.AbstractByteBufAllocator.ioBuffer(AbstractByteBufAllocator.java:133)
3.6.2017 14:16:20
io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator$MaxMessageHandle.allocate(DefaultMaxMessagesRecvByteBufAllocator.java:80)
3.6.2017 14:16:20
io.netty.channel.epoll.EpollRecvByteAllocatorHandle.allocate(EpollRecvByteAllocatorHandle.java:71)
3.6.2017 14:16:20
io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:1006)
3.6.2017 14:16:20
io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:394)
3.6.2017 14:16:20
io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:299)
3.6.2017 14:16:20
io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
3.6.2017 14:16:20       java.lang.Thread.run(Thread.java:748)
3.6.2017 14:16:2012:16:20,064 ERROR [io.netty.util.ResourceLeakDetector]
LEAK: ByteBuf.release() was not called before it's garbage-collected. See
http://netty.io/wiki/reference-counted-objects.html for more information.
3.6.2017 14:16:20Recent access records: 1
3.6.2017 14:16:20#1:
3.6.2017 14:16:20       Hint: 'MQTTProtocolHandler#0' will handle the message 
from
this point.
3.6.2017 14:16:20
io.netty.handler.codec.mqtt.MqttPublishMessage.touch(MqttPublishMessage.java:99)
3.6.2017 14:16:20
io.netty.handler.codec.mqtt.MqttPublishMessage.touch(MqttPublishMessage.java:26)
3.6.2017 14:16:20
io.netty.channel.DefaultChannelPipeline.touch(DefaultChannelPipeline.java:107)
3.6.2017 14:16:20
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:345)
3.6.2017 14:16:20
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
3.6.2017 14:16:20
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
3.6.2017 14:16:20
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
3.6.2017 14:16:20
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
3.6.2017 14:16:20
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
3.6.2017 14:16:20
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
3.6.2017 14:16:20
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334)
3.6.2017 14:16:20
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
3.6.2017 14:16:20
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
3.6.2017 14:16:20
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926)
3.6.2017 14:16:20
io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:1017)
3.6.2017 14:16:20
io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:394)
3.6.2017 14:16:20
io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:299)
3.6.2017 14:16:20
io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
3.6.2017 14:16:20       java.lang.Thread.run(Thread.java:748)
3.6.2017 14:16:20Created at:
3.6.2017 14:16:20
io.netty.util.ResourceLeakDetector.track(ResourceLeakDetector.java:237)
3.6.2017 14:16:20
io.netty.buffer.SimpleLeakAwareByteBuf.unwrappedDerived(SimpleLeakAwareByteBuf.java:143)
3.6.2017 14:16:20
io.netty.buffer.SimpleLeakAwareByteBuf.readRetainedSlice(SimpleLeakAwareByteBuf.java:67)
3.6.2017 14:16:20
io.netty.buffer.AdvancedLeakAwareByteBuf.readRetainedSlice(AdvancedLeakAwareByteBuf.java:103)
3.6.2017 14:16:20
io.netty.handler.codec.ReplayingDecoderByteBuf.readRetainedSlice(ReplayingDecoderByteBuf.java:589)
3.6.2017 14:16:20
io.netty.handler.codec.mqtt.MqttDecoder.decodePublishPayload(MqttDecoder.java:414)
3.6.2017 14:16:20
io.netty.handler.codec.mqtt.MqttDecoder.decodePayload(MqttDecoder.java:321)
3.6.2017 14:16:20
io.netty.handler.codec.mqtt.MqttDecoder.decode(MqttDecoder.java:96)
3.6.2017 14:16:20
io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:367)
3.6.2017 14:16:20
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:248)
3.6.2017 14:16:20
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
3.6.2017 14:16:20
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
3.6.2017 14:16:20
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
3.6.2017 14:16:20
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334)
3.6.2017 14:16:20
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
3.6.2017 14:16:20
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
3.6.2017 14:16:20
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926)
3.6.2017 14:16:20
io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:1017)
3.6.2017 14:16:20
io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:394)
3.6.2017 14:16:20
io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:299)
3.6.2017 14:16:20
io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
3.6.2017 14:16:20       java.lang.Thread.run(Thread.java:748)


clebertsuconic wrote
> Did u see my answer about a bug fixed recently ?
> 
> Can u try a snapshot. Just to validate it
> 
> 
> 
> On Sat, Jun 3, 2017 at 4:25 AM hwaastad <

> helge@

> > wrote:
> 
>> Ok,
>> so in 2.1.0 I quickly get a:
>> 08:17:03,277 ERROR [io.netty.util.ResourceLeakDetector] LEAK:
>> ByteBuf.release() was not called before it's garbage-collected. See
>> http://netty.io/wiki/reference-counted-objects.html for more information.
>>
>> In 2.2.0-sn I still have'nt gotten any.
>>
>> I'll keep investigating and update thread.
>>
>> /hw
>>
>>
>>
>> --
>> View this message in context:
>> http://activemq.2283324.n4.nabble.com/artemis-2-1-0-logging-disaster-tp4726922p4726989.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
> -- 
> Clebert Suconic





--
View this message in context: 
http://activemq.2283324.n4.nabble.com/artemis-2-1-0-logging-disaster-tp4726922p4726991.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to