Here are the most recent log entries:
- 10000 changes in 60 seconds. Saving...
- Background saving started by pid 20153
- Background saving terminated with success
- 10000 changes in 60 seconds. Saving...
- Background saving started by pid 20319
- Background saving terminated with success
- 10000 changes in 60 seconds. Saving...
- Background saving started by pid 20449
- Background saving terminated with success
The redis-server process is running as user 'redis'. Its data
directory is
/var/lib/redis. Here are the permissions on that directory:
drwxrwx--- 2 redis redis 28672 Apr 29 07:10 /var/lib/redis
The dump file permissions are this:
-rw-r--r-- 1 redis redis 323742088 Apr 23 11:45 dump.rdb
redis reports that it's using about 320MB of memory, but the temp
files are only about 40MB.
Have a look at the most recent files:
-rw-r--r-- 1 redis redis 35669641 Apr 29 07:11
temp-1241003416.1804289383.rdb
drwxrwx--- 2 redis redis 28672 Apr 29 07:10 .
-rw-r--r-- 1 redis redis 35669641 Apr 29 07:09
temp-1241003308.1804289383.rdb
-rw-r--r-- 1 redis redis 40427520 Apr 29 07:07
temp-1241003191.1804289383.rdb
-rw-r--r-- 1 redis redis 29245440 Apr 29 07:05
temp-1241003091.1804289383.rdb
-rw-r--r-- 1 redis redis 29245440 Apr 29 07:03
temp-1241002993.1804289383.rdb
-rw-r--r-- 1 redis redis 29245440 Apr 29 07:02
temp-1241002892.1804289383.rdb
-rw-r--r-- 1 redis redis 17993728 Apr 29 07:00
temp-1241002808.1804289383.rdb
At first I thought that the background saves were having trouble
keeping up with the
rate of updates. Now I'm not so sure.
Right now, our redis server is idle. I issued the "save" command via
redis-cli. I got
a 28MB temp file, but no dump.rdb. Then I noticed that redis-server
was dead. I guess
redis-server crashed during the save. I suspect that all the other
temp* files I'm seeing
are due to the background processes crashing.
When I issued the "save" command, nothing showed up in the redis log,
BTW.
On Apr 28, 5:06 pm, Salvatore Sanfilippo <
anti...@gmail.com> wrote: