docker - KeyDB Takes Long time to Start - Stack Overflow

I am using Keydb for caching with data persistence (RDB persistence with allkeys-lfu eviction policy an

I am using Keydb for caching with data persistence (RDB persistence with allkeys-lfu eviction policy and maxmemory as 10GB with flash storage driver). I have restarted the keydb about 30 minutes ago and is still restarting.

I am using keydb with docker and this is my command:

keydb-server /etc/keydb/keydb.conf --storage-provider flash /flash --maxmemory 13000M --maxmemory-policy allkeys-lfu

this is the logs for docker-compose logs -f

keydb-1  | 1:1:C 11 Mar 2025 08:44:54.255 # oO0OoO0OoO0Oo KeyDB is starting oO0OoO0OoO0Oo
keydb-1  | 1:1:C 11 Mar 2025 08:44:54.255 # KeyDB version=6.3.4, bits=64, commit=7e7e5e57, modified=1, pid=1, just started
keydb-1  | 1:1:C 11 Mar 2025 08:44:54.255 # Configuration loaded
keydb-1  | 1:1:C 11 Mar 2025 08:44:54.255 * Initializing FLASH storage provider (this may take a long time)
keydb-1  |  Database 0 was not shutdown cleanly, recomputing metrics
keydb-1  | 1:1:M 11 Mar 2025 08:44:54.449 * monotonic clock: POSIX clock_gettime
keydb-1  |
keydb-1  |                   _
keydb-1  |                _-(+)-_
keydb-1  |             _-- /   \ --_
keydb-1  |          _--   /     \   --_            KeyDB  6.3.4 (7e7e5e57/1) 64 bit
keydb-1  |      __--     /       \     --__
keydb-1  |     (+) _    /         \    _ (+)       Running in standalone mode
keydb-1  |      |   -- /           \ --   |        Port: 6379
keydb-1  |      |     /--_   _   _--\     |        PID: 1
keydb-1  |      |    /     -(+)-     \    |
keydb-1  |      |   /        |        \   |        
keydb-1  |      |  /         |         \  |
keydb-1  |      | /          |          \ |
keydb-1  |     (+)_ -- -- -- | -- -- -- _(+)
keydb-1  |         --_       |       _--
keydb-1  |             --_   |   _--
keydb-1  |                 -(+)-
keydb-1  |
keydb-1  | 1:1:M 11 Mar 2025 08:44:58.457 # Server initialized

Docker compose file:

version: '3.8'

services:
  keydb:
    image: eqalpha/keydb
    volumes:
      - type: bind
        target: /flash
        source: /keydb/flash
      - type: bind
        target: /data
        source: /keydb/data
      - keydb.conf:/etc/keydb/keydb.conf
    ports:
      - "6379:6379"
    command: >
      keydb-server /etc/keydb/keydb.conf --storage-provider flash /flash --maxmemory 13000M --maxmemory-policy allkeys-lfu
    restart: always

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744805006a4594721.html

相关推荐

  • docker - KeyDB Takes Long time to Start - Stack Overflow

    I am using Keydb for caching with data persistence (RDB persistence with allkeys-lfu eviction policy an

    2天前
    50

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信