Got it

ZooKeeper: fsync-ing the write ahead

Created: Mar 30, 2020 02:42:55Latest reply: Sep 9, 2021 01:55:08 5193 4 2 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hello team,

ZooKeeper is not running properly, and message:

WARN | SyncThread:14 | fsync-ing the write ahead log in SyncThread:14 took 14818ms which will adversely effect operation latency. See the ZooKeeper troubleshooting guide | org.apache.zookeeper.server.persistence.FileTxnLog.commit


Please help!


Featured Answers
little_fish
Admin Created Mar 30, 2020 02:49:53

Dear Lucas,

The ZooKeeper data directory maybe is not mounted to an independent disk.

  1. Increase the heartbeat timeout interval between the client and ZooKeeper.

  2. Increase the heartbeat timeout interval on the ZooKeeper server.

The heartbeat timeout period between ZooKeeper instances is the value of (syncLimit x tickTime), which is 10s by default. You can change the period to the optimized value 40s to avoid ZooKeeper server instance exceptions caused by a short period of disk stalling.

More references here:

http://support-it.huawei.com/docs/en-us/fusioninsight-all/maintenance-guide/en-us_topic_0074643856.html

Thanks.


View more
  • x
  • convention:

Unicef
Unicef Created Sep 9, 2021 01:54:59 (1) (0)
 
little_fish
little_fish Reply Unicef  Created Sep 9, 2021 08:32:59 (0) (0)
 
All Answers

Dear Lucas,

The ZooKeeper data directory maybe is not mounted to an independent disk.

  1. Increase the heartbeat timeout interval between the client and ZooKeeper.

  2. Increase the heartbeat timeout interval on the ZooKeeper server.

The heartbeat timeout period between ZooKeeper instances is the value of (syncLimit x tickTime), which is 10s by default. You can change the period to the optimized value 40s to avoid ZooKeeper server instance exceptions caused by a short period of disk stalling.

More references here:

http://support-it.huawei.com/docs/en-us/fusioninsight-all/maintenance-guide/en-us_topic_0074643856.html

Thanks.


View more
  • x
  • convention:

Unicef
Unicef Created Sep 9, 2021 01:54:59 (1) (0)
 
little_fish
little_fish Reply Unicef  Created Sep 9, 2021 08:32:59 (0) (0)
 
Good one
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.