当前位置:  开发笔记 > 运维 > 正文

如果scylla节点正在加载数据,如何延长其启动时间

如何解决《如果scylla节点正在加载数据,如何延长其启动时间》经验,为你挑选了1个好方法。

我正在加载数据时,在scylla节点的启动时间出现此错误

Nov 12 21:55:13 usw1-im-stage-scylladb1 scylla[53703]:  [shard 0] database - Keyspace product_prod: Reading CF cleanup_transaction id=bb0a0640-058f-11ea-b8e4-00000000000c version=dde3ee6f-185b-37ba-80fb-6425cce4532f

Nov 12 22:10:02 usw1-im-stage-scylladb1 systemd[1]: scylla-server.service start operation timed out. Terminating.

在scylla enterprise 2019.1.2上运行



1> TomerSan..:

Scylla's documentation includes KBs and FAQ. I think this KB is spot-on, what you are looking for: https://docs.scylladb.com/troubleshooting/scylla_wont_start/#solution

Here is the solution suggested there:

    Locate the directory with the systemd files where the scylla-server.service resides.

    For Centos operating systems it is expected to be under /usr/lib/systemd/system/scylla-server.service

    For Ubuntu operating systems it is expected to be under /etc/systemd/system/scylla-server.service.d

    Create the following directory (if not exist)

    Centos sudo mkdir /usr/lib/systemd/system/scylla-server.service

    Ubuntu sudo mkdir /etc/systemd/system/scylla-server.service.d

    Create a file inside that directory named 10-timeout.conf, with the following contents:

[Service]
TimeoutStartSec=9000?

    Reload the systemd Daemon for the new configurations to take in effect.

systemctl daemon-reload

推荐阅读
TXCWB_523
这个屌丝很懒,什么也没留下!
DevBox开发工具箱 | 专业的在线开发工具网站    京公网安备 11010802040832号  |  京ICP备19059560号-6
Copyright © 1998 - 2020 DevBox.CN. All Rights Reserved devBox.cn 开发工具箱 版权所有