You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by "Bae, Jae Hyeon" <me...@gmail.com> on 2013/11/08 23:55:51 UTC
Question on jute.maxbuffer property
Hi Zookeeper users
I think that we are having an issue similar to
https://issues.apache.org/jira/browse/ZOOKEEPER-706
I can see the following log lines repeated and I am suspecting some
application is trying to acquire a number of InterProcessMutex, one of
Apache Curator recipe.
2013-11-08 20:53:10,782 - WARN [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:NIOServerCnxn@354] - Exception causing close of
session 0xb1422ec35d9402e6 due to java.io.IOException: Len error 271603750
2013-11-08 20:53:10,783 - INFO [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1001] - Closed socket connection for
client /10.45.164.229:51904 which had sessionid 0xb1422ec35d9402e6
2013-11-08 20:53:10,853 - WARN [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:NIOServerCnxn@354] - Exception causing close of
session 0xb3422ec35f3c0228 due to java.io.IOException: Len error 28936498
2013-11-08 20:53:10,854 - INFO [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1001] - Closed socket connection for
client /10.154.133.50:51193 which had sessionid 0xb3422ec35f3c0228
So, the solution can be increasing jute.maxbuffer and according to the
zookeeper administrator's guide, it should be set in both server and the
client. What will happen when some clients are not setting that property? I
cannot urge all clients to setup this property and restart them. I believe
increasing the value should be fine for all existing clients but I want to
confirm nothing bad would happen.
Thank you
Best, Jae
Re: Question on jute.maxbuffer property
Posted by Patrick Hunt <ph...@apache.org>.
271603750 is very large for a watch issue like ZOOKEEPER-706. 271mb of
watches? That would be alot of watches, are you creating that many in
your client?
Nothing bad should happen other than the fact that you might use alot
more memory. :-)
Patrick
On Fri, Nov 8, 2013 at 2:55 PM, Bae, Jae Hyeon <me...@gmail.com> wrote:
> Hi Zookeeper users
>
> I think that we are having an issue similar to
> https://issues.apache.org/jira/browse/ZOOKEEPER-706
>
> I can see the following log lines repeated and I am suspecting some
> application is trying to acquire a number of InterProcessMutex, one of
> Apache Curator recipe.
>
> 2013-11-08 20:53:10,782 - WARN [NIOServerCxn.Factory:
> 0.0.0.0/0.0.0.0:2181:NIOServerCnxn@354] - Exception causing close of
> session 0xb1422ec35d9402e6 due to java.io.IOException: Len error 271603750
> 2013-11-08 20:53:10,783 - INFO [NIOServerCxn.Factory:
> 0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1001] - Closed socket connection for
> client /10.45.164.229:51904 which had sessionid 0xb1422ec35d9402e6
> 2013-11-08 20:53:10,853 - WARN [NIOServerCxn.Factory:
> 0.0.0.0/0.0.0.0:2181:NIOServerCnxn@354] - Exception causing close of
> session 0xb3422ec35f3c0228 due to java.io.IOException: Len error 28936498
> 2013-11-08 20:53:10,854 - INFO [NIOServerCxn.Factory:
> 0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1001] - Closed socket connection for
> client /10.154.133.50:51193 which had sessionid 0xb3422ec35f3c0228
>
> So, the solution can be increasing jute.maxbuffer and according to the
> zookeeper administrator's guide, it should be set in both server and the
> client. What will happen when some clients are not setting that property? I
> cannot urge all clients to setup this property and restart them. I believe
> increasing the value should be fine for all existing clients but I want to
> confirm nothing bad would happen.
>
> Thank you
> Best, Jae