zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raúl Gutiérrez Segalés <...@itevenworks.net>
Subject Re: java.io.IOException: Unreasonable length
Date Sun, 27 Mar 2016 05:52:01 GMT
Hi,

On 26 March 2016 at 20:06, Daniel Niasoff <daniel@redactus.co.uk> wrote:

> Hi,
>
> I am trying to use Zookeeper to receive logs from a proxy.
>
> But all I get in the log lines are
>
> 2016-03-27 03:05:17,155 [myid:] - WARN  [NIOServerCxn.Factory:
> 0.0.0.0/0.0.0.0:2181:NIOServerCnxn@362] - Exception causing close of
> session 0x0 due to java.io.IOException: Unreasonable length = 65536000
> 2016-03-27 03:05:27,234 [myid:] - WARN  [NIOServerCxn.Factory:
> 0.0.0.0/0.0.0.0:2181:NIOServerCnxn@362] - Exception causing close of
> session 0x0 due to java.io.IOException: Unreasonable length = 65536000
> 2016-03-27 03:05:37,313 [myid:] - WARN  [NIOServerCxn.Factory:
> 0.0.0.0/0.0.0.0:2181:NIOServerCnxn@362] - Exception causing close of
> session 0x0 due to java.io.IOException: Unreasonable length = 65536000
> 2016-03-27 03:05:47,377 [myid:] - WARN  [NIOServerCxn.Factory:
> 0.0.0.0/0.0.0.0:2181:NIOServerCnxn@362] - Exception causing close of
> session 0x0 due to java.io.IOException: Unreasonable length = 65536000
> 2016-03-27 03:05:58,448 [myid:] - WARN  [NIOServerCxn.Factory:
> 0.0.0.0/0.0.0.0:2181:NIOServerCnxn@362] - Exception causing close of
> session 0x0 due to java.io.IOException: Unreasonable length = 65536000
> 2016-03-27 03:06:08,490 [myid:] - WARN  [NIOServerCxn.Factory:
> 0.0.0.0/0.0.0.0:2181:NIOServerCnxn@362] - Exception causing close of
> session 0x0 due to java.io.IOException: Unreasonable length = 65536000
>
> What can be causing this.
>
> I have had this setup working in the past.
>
> Thanks
>

Hmm, 65mb reqs sounds unlikely so they could be malformed packets. Maybe
try sniffing requests with zktraffic [0]? i.e.:

$ sudo pip install zktraffic
$ sudo zk-dump --iface eth0 --include-pings --unpaired


-rgs

[0] https://github.com/twitter/zktraffic

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message