Redis服务器已启动,但在一秒钟内就被杀死了

Max*_*mov 2 ubuntu-server redis

rdb在OS X机器上创建了500 MB 文件,Redis服务器在那里工作得很好.但是在Ubuntu Server上,它在启动后几秒内被杀死:

$ src/redis-server configFile_6381.conf

[1004] 30 Jan 15:50:27.591 * Max number of open files set to 10032
                _._                                                  
           _.-``__ ''-._                                             
      _.-``    `.  `_.  ''-._           Redis 2.6.17 (00000000/0) 64 bit
  .-`` .-```.  ```\/    _.,_ ''-._                                   
 (    '      ,       .-`  | `,    )     Running in stand alone mode
 |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6381
 |    `-._   `._    /     _.-'    |     PID: 1004
  `-._    `-._  `-./  _.-'    _.-'                                   
 |`-._`-._    `-.__.-'    _.-'_.-'|                                  
 |    `-._`-._        _.-'_.-'    |           http://redis.io        
  `-._    `-._`-.__.-'_.-'    _.-'                                   
 |`-._`-._    `-.__.-'    _.-'_.-'|                                  
 |    `-._`-._        _.-'_.-'    |                                  
  `-._    `-._`-.__.-'_.-'    _.-'                                   
      `-._    `-.__.-'    _.-'                                       
          `-._        _.-'                                           
              `-.__.-'                                               

[1004] 30 Jan 15:50:27.593 # Server started, Redis version 2.6.17
Killed
Run Code Online (Sandbox Code Playgroud)

配置文件(configFile_6381.conf):

daemonize yes
pidfile /var/run/redisVgo.pid
port 6381
timeout 0
tcp-keepalive 0
loglevel verbose
logfile /root/Dropbox/redis/_projects/vgo/vgo.log
databases 16
save 900 1
save 300 10
save 60 10000
stop-writes-on-bgsave-error yes
rdbcompression yes
rdbchecksum yes
dbfilename vgo6381.rdb
dir ./
slave-serve-stale-data yes
slave-read-only yes
repl-disable-tcp-nodelay no
slave-priority 100
appendonly no
appendfsync everysec
no-appendfsync-on-rewrite no
auto-aof-rewrite-percentage 100
auto-aof-rewrite-min-size 64mb
lua-time-limit 5000
slowlog-log-slower-than 10000
slowlog-max-len 128
hash-max-ziplist-entries 512
hash-max-ziplist-value 64
list-max-ziplist-entries 512
list-max-ziplist-value 64
set-max-intset-entries 512
zset-max-ziplist-entries 128
zset-max-ziplist-value 64
activerehashing yes
client-output-buffer-limit normal 0 0 0
client-output-buffer-limit slave 256mb 64mb 60
client-output-buffer-limit pubsub 32mb 8mb 60
hz 10
aof-rewrite-incremental-fsync yes
Run Code Online (Sandbox Code Playgroud)

有时候在杀戮之前我会在客户输出中看到消

   (error) LOADING Redis is loading the dataset in memory
Run Code Online (Sandbox Code Playgroud)

Max*_*mov 6

检查是否在两个系统上运行相同的Redis版本.

我使用了不同的Redis版本,这造成了麻烦.在OS X上它是2.8,在Ubuntu Server上它是2.6.在Ubuntu Server上设置Redis 2.8之后,我的.rdb文件就开始了.