Ask Your Question
0

Ovsdb exception when using more than 12 bridges

asked 2014-12-05 13:52:48 -0700

skywalker gravatar image

Hi,

Have you ever had problems with the following exception when you use the public Node connect(String identifier, Map<ConnectionConstants, String> params) from IConnectionServiceInternal? Strangely enough, this happens only when I start Mininet with 13 or more bridges and the log is gets flooded with this exception.

I tried both mininet 2.1 and 2.2b. I also tried ovsdb 0.5.0-1-SNAPSHOT/ and 0.5.1-SNAPSHOT/. The newer versions have different dependencies and do not integrate in hydrogen.

io.netty.handler.codec.TooLongFrameException: frame length exceeds 100000: 100000 - discarded
at org.opendaylight.ovsdb.lib.jsonrpc.JsonRpcDecoder.fail(JsonRpcDecoder.java:159) [bundlefile:na]
at org.opendaylight.ovsdb.lib.jsonrpc.JsonRpcDecoder.decode(JsonRpcDecoder.java:115) [bundlefile:na]
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:228) [bundlefile:4.0.17.Final]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:141) [bundlefile:4.0.17.Final]
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:340) [bundlefile:4.0.17.Final]
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:326) [bundlefile:4.0.17.Final]
at io.netty.handler.logging.LoggingHandler.channelRead(LoggingHandler.java:283) [bundlefile:4.0.17.Final]
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:340) [bundlefile:4.0.17.Final]
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:326) [bundlefile:4.0.17.Final]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [bundlefile:4.0.17.Final]
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:116) [bundlefile:4.0.17.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:494) [bundlefile:4.0.17.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:461) [bundlefile:4.0.17.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:378) [bundlefile:4.0.17.Final]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:350) [bundlefile:4.0.17.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101) [bundlefile:4.0.17.Final]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_65]

Is there any solution for it?

edit retag flag offensive close merge delete

Comments

May want to convert that comment to an answer, CASP3R.

dfarrell07 ( 2014-12-08 06:20:47 -0700 )edit

credits to Chris O'Shea. Thanks to his suggestion I tried it again and it does work. I am not able to convert his comment to an answer.

skywalker ( 2014-12-08 06:47:07 -0700 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-12-05 15:15:16 -0700

Moderators

Thanks for remind me this, There is a quick work around of changing the buffer size in https://git.opendaylight.org/gerrit/gitweb?p=ovsdb.git;a=blob;f=library/src/main/java/org/opendaylight/ovsdb/lib/impl/OvsdbConnectionService.java#l113 increase 100000

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2014-12-05 13:52:48 -0700

Seen: 57 times

Last updated: Dec 05 '14