[Bugs] [Bug 1393316] OOM Kill on client when heal is in progress on 1*(2+1) arbiter volume

bugzilla at redhat.com bugzilla at redhat.com
Wed Nov 23 03:58:01 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1393316



--- Comment #3 from Raghavendra G <rgowdapp at redhat.com> ---
(In reply to Raghavendra G from comment #2)
> > Based on the statedump, one big leak I see is from dirents which are allocated by DHT but don't seem to be leaking in dht. I think some xlator above dht is not freeing it. Could you let me know the size of the directory you may have?
> 
> I think this can be readdir-ahead. Is it possible to turn off readdir-ahead
> and see whether it helps?

The reason I suspect readdir-ahead is that there is no upper limit to amount of
dentries readdir-ahead can store as of now. It keeps populating the cache till
EOD is reached or an error is encountered in readdir from lower xlators. So, in
a scenario where readdirs from application are infrequent and directory is
huge, all the dentries of a directory is cached in memory and that could result
in OOM. Please note that it is not a leak, but a bug in readdir-ahead to not
have an upper limit.

> 
> regards,
> Raghavendra

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=rEKMQWRrnV&a=cc_unsubscribe


More information about the Bugs mailing list