hadoop-zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: Frequent SessionTimeoutException[Client] - CancelledKeyException[Server]
Date Wed, 07 Jul 2010 20:38:22 GMT
What is your garbage collection situation?  This sounds like your server has
stalled.

What is your transaction rate?  Average size?

On Wed, Jul 7, 2010 at 12:00 PM, Lakshman <lakshman_ch@huawei.com> wrote:

> Hi Everyone,
>
> We are using zookeeper 3.3.1. And more frequently we are hitting
> CancelledKeyException after startup of application.
> Average response time is less than 50 milliseconds. But the last request
> sent is not getting any response for 20 seconds so its timing out.
>
> When analyzed, we found some possible problem with CommitRequestProcessor.
>
> Following are the series of steps happening.
>
> Client has sent some request[exists, setData, etc.]
> Server received the packet completely. That is submitted for processing.
> [nextPending]
> Client has sent some ping requests after that.
> Server has received the ping request as well and that is also queued up.
> Client is timing out as it didn't get any response from server.
> This is because ping requests are also getting queued up into
> queuedRequests.
> Its waiting for a commitedRequest for the current nextPending operation.
>
> As per my understanding pings request from client need not be queued up and
> can be processed immediately.
>
> Plz throw some pointers on this issue to me & do correct me if I went
> wrong.
> --
> Thanks & Regards
> Laxman
>
>
>

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