[Gluster-devel] rpc throttling causing ping timer expiries while running iozone

Anand Avati avati at gluster.org
Wed Apr 23 16:42:18 UTC 2014

On Tue, Apr 22, 2014 at 11:49 PM, Pranith Kumar Karampuri <
pkarampu at redhat.com> wrote:

> hi,
>     When iozone is in progress and the number of blocking inodelks is
> greater than the threshold number of rpc requests allowed for that client
> (RPCSVC_DEFAULT_OUTSTANDING_RPC_LIMIT), subsequent requests from that
> client will not be read until all the outstanding requests are processed
> and replied to. But because no more requests are read from that client,
> unlocks on the already granted locks will never come thus the number of
> outstanding requests would never come down. This leads to a ping-timeout on
> the client. I am wondering if the proper fix for this is to not account
> INODELK/ENTRYLK/LK calls for throttling. I did make such a change in the
> codebase and tested it and it works. Please let me know if this is
> acceptable or it needs to be fixed differently.

Do you know why there were > 64 outstanding inodelk requests? What does
iozone do to result in this kind of a locking pattern?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20140423/20414e3e/attachment-0001.html>

More information about the Gluster-devel mailing list