You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Sergei Hanus (Jira)" <ji...@apache.org> on 2022/06/14 13:44:00 UTC

[jira] [Created] (ZOOKEEPER-4559) Zookeeper creates snapshots too often (every 5-10 minutes)

Sergei Hanus created ZOOKEEPER-4559:
---------------------------------------

             Summary: Zookeeper creates snapshots too often (every 5-10 minutes)
                 Key: ZOOKEEPER-4559
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4559
             Project: ZooKeeper
          Issue Type: Bug
    Affects Versions: 3.6.1
            Reporter: Sergei Hanus


I experience an issue, when zookeeper creates snapshots every 5-10 minutes.

First, I suspected lots of transactions, which overload the ransaction log and rotate it - but, that's no the case. Each transaction log contains not more than 300-400 transactions (I opened one log file using zookeeper utility and at the end of this log there's a record "OF reached after 328 txns."

Log dile size is also not big - less than 1 MB.

Snapshot file is pretty big, though - it contains ~400k znodes. Also, there are about 2000 simultaneous sessions open to this zookeeper node. But that does not directly explain - why snapshots are rotated so fast.

 

So, I'm wondering - what could be the reason for such frequent rotation?

 

 Thank you in advance.
 
 
 

 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)