On Tue, Apr 7, 2020 at 3:36 AM alean Huang <woalean(a)gmail.com> wrote:
hi,
i am appreciate you work very much, there is a problem about ceph mds i meet.
ceph version: luminous
the mds cache grow to 20G and limit is 4G after 'stat *' from client which
mount by kernel(centos7 , 4.14).
there are 1000w files in this dir. mds log show recall_client_state does not work
after recall some caps.
log is like this:
2020-04-07 17:08:36.841304 7f23ddd15700 10 mds.2.server recall_client_state: session
client.2366013 172.16.200.20:0/4162573294 caps 6801282, leases 0
2020-04-07 17:08:36.841323 7f23ddd15700 15 mds.2.server session recall threshold
(16384) hit at 0; skipping!
2020-04-07 17:08:36.841326 7f23ddd15700 7 mds.2.server recalled (throttled) 0 client
caps.
mds_recall_max_decay_rate = 2.5
It looks like your setting for mds_recall_max_caps is larger than
mds_recall_max_decay_threshold. Are you changing these configurations?
If so, why?
--
Patrick Donnelly, Ph.D.
He / Him / His
Senior Software Engineer
Red Hat Sunnyvale, CA
GPG: 19F28A586F808C2402351B93C3301A3E258DD79D