B
B
Barnie Savington2017-08-31 17:51:10
linux
Barnie Savington, 2017-08-31 17:51:10

Does Redis crash from time to time?

Hello. About once a day, Redis crashes on a Linux server:


ERR Error running script (call to f_9bd406a64e43e31f0dde2849660e8cd56f340b85): @user_script:2: @user_script: 2: -MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.

In the logs:
1468:M 28 Aug 11:49:40.126 # Background saving error
1468:M 28 Aug 11:49:46.044 * 10 changes in 300 seconds. Saving...
1468:M 28 Aug 11:49:46.047 * Background saving started by pid 13268
13268:C 28 Aug 11:49:46.047 # Failed opening .rdb for saving: Read-only file system

When trying to do `service redis-server restart` - hangs.
"kill -9 pid" helps to restore work

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
Fixid, 2017-08-31
@iwex

Not writeable to RDB.
Show ls -lh /var/redis/

M
Melkij, 2017-08-31
@melkij

# Failed opening .rdb for saving: Read-only file system

well?
Configured to write a copy of the data to disk. Can't write a copy. Radish takes offense and leaves for RO.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question