#Write error saving DB on disk: No space left on device

398 views
Skip to first unread message

Pavan Varyani

unread,
Jul 12, 2022, 10:55:56 AMJul 12
to Redis DB
Hi,
I see some intermittent errors in "/var/log/redis/redis-server.log"

856881:C 11 Jul 2022 20:13:41.149 # Write error saving DB6619:M 11 Jul 2022 20:13:41.251 # Background saving error
6619:M 11 Jul 2022 20:13:47.050 * 100 changes in 300 seconds. Saving...
6619:M 11 Jul 2022 20:13:47.052 * Background saving started by pid 856957
856957:C 11 Jul 2022 20:13:47.238 # Write error saving DB on disk: No space left on device

the size of dump.rdp  is 3.8MB which is located in /var/lib/redis

performing a df -h /  the output  is :
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2        49G   19G   28G  40% /

We see available memory is 28GB, am is missing something here?

Anthony LaTorre

unread,
Jul 15, 2022, 1:56:30 PMJul 15
to redi...@googlegroups.com
Could be you've run out of inodes. Do you have a lot of very small
files on your disk? You can check with:

$ df -i

I think

Tony
> --
> You received this message because you are subscribed to the Google Groups "Redis DB" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/redis-db/12eabba7-558c-45f3-a351-6e47a6620d90n%40googlegroups.com.

Kunal Gangakhedkar

unread,
Jul 17, 2022, 3:54:07 AMJul 17
to redi...@googlegroups.com
Another possibility could be a different partition mounted on /var?
Can you check for "df -ah /var"?

Some linux distributions create separate partitions for /usr, /var etc. during installation.

Kunal


Reply all
Reply to author
Forward
0 new messages