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
评论列表(0条)