[CONTROLLER-478] Buffer leaks while running controller from OpenFlowPlugin distribution Created: 15/May/14 Updated: 25/Jul/23 Due: 27/Jun/14 Resolved: 26/Jun/14 |
|
| Status: | Verified |
| Project: | controller |
| Component/s: | netconf |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Debolina Bandyopadhyay | Assignee: | Maros Marsalek |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Windows |
||
| Issue Links: |
|
||||||||
| External issue ID: | 1017 | ||||||||
| Description |
|
I get this error while running controller. 2014-05-15 00:05:06.560 PDT [Thread-27] INFO o.o.o.protocol.impl.core.TcpHandler - Switch listener started and ready to accept incoming connections on port: 6633 2014-05-15 00:05:06.928 PDT [nettyThreadgroupModule$NioEventLoopGroupCloseable-6 |
| Comments |
| Comment by Michal Polkorab [ 16/May/14 ] |
|
Hello, I have seen the error log over the past week. However, the issue disappeared after rebuilding the openflowjava and openflowplugin repositories (and running the openflowplugin distribution). Please try updating code and rebuilding the mentioned repositories. Report if the issue persists (the '-Dio.netty.leakDetectionLevel=advanced' log would help). Regards |
| Comment by Michal Polkorab [ 21/May/14 ] |
|
As the issue appeared again I tried to debug it. It looks like there is some buffer.release() missing in the netconf pipeline. See the log below: 2014-05-21 14:06:10.943 CEST [nioEventLoopGroup-10-1] ERROR io.netty.util.ResourceLeakDetector - LEAK: ByteBuf.release() was not called before it's garbage-collected. |
| Comment by Michal Polkorab [ 21/May/14 ] |
|
This is a duplicate bug (unfortunately). It was originally reported in the openflowplugin project. I haven't marked it as a duplicate because of the previous log, that might be really helpful. Michal Polkorab |
| Comment by Maros Marsalek [ 23/Jun/14 ] |
|
Please review https://git.opendaylight.org/gerrit/#/c/8179/ Just one release added. Other buffers should be released correctly. |
| Comment by Michal Polkorab [ 26/Jun/14 ] |
|
Re-tested: issue fixed. Michal |