OpenGreekAndLatin / leipzig_cts

GNU General Public License v3.0
1 stars 1 forks source link

Bug on reading #2

Closed PonteIneptique closed 7 years ago

PonteIneptique commented 7 years ago

Check redis and gunicorn log next monday.

PonteIneptique commented 7 years ago

Issue is clearly tied with Redis, and once again, to data persistence. Redis taret dir :

thibault@ctsstage:/local/www-data$ sudo redis-cli
127.0.0.1:6379> CONFIG GET dbfilename
1) "dbfilename"
2) "dump.rdb"
127.0.0.1:6379> CONFIG GET dir
1) "dir"
2) "/local/redis-data"

Redis target dir rights:

thibault@ctsstage:/local/www-data$ ls -la ../redis-data/
total 0
drwxr-xr-x  2 redis redis 38 Mar 27 06:19 .
drwxr-xr-x. 7 root  root  77 Mar 22 14:59 ..
-rw-r--r--  1 redis redis  0 Mar 27 06:19 dump.rdb
-rw-r--r--  1 redis redis  0 Mar 22 15:10 temp.rdb

Redis logs :

thibault@ctsstage:/local/www-data$ tail -f /var/log/redis/redis.log
28426:C 27 Mar 06:19:56.170 # Failed opening .rdb for saving: Read-only file system
17485:M 27 Mar 06:19:56.269 # Background saving error
17485:M 27 Mar 06:19:58.079 # User requested shutdown...
17485:M 27 Mar 06:19:58.079 * Saving the final RDB snapshot before exiting.
17485:M 27 Mar 06:19:58.079 # Failed opening .rdb for saving: Read-only file system
17485:M 27 Mar 06:19:58.079 # Error trying to save the DB, can't exit.
17485:M 27 Mar 06:20:02.083 * 1 changes in 900 seconds. Saving...
17485:M 27 Mar 06:20:02.149 * Background saving started by pid 28438
28438:C 27 Mar 06:20:02.150 # Failed opening .rdb for saving: Read-only file system
17485:M 27 Mar 06:20:02.250 # Background saving error
17485:M 27 Mar 06:20:08.068 * 1 changes in 900 seconds. Saving...
17485:M 27 Mar 06:20:08.152 * Background saving started by pid 28506
28506:C 27 Mar 06:20:08.153 # Failed opening .rdb for saving: Read-only file system

@balmas Have you ever met this situation ?

PonteIneptique commented 7 years ago

I have tried upgrading redis to a new module @46dfff0, but I think there might be a module-cache bug

Error: Evaluation Error: Error while evaluating a Resource Statement, Class[Redis]:
  has no parameter named 'redis_version'
  has no parameter named 'redis_memory'