corrupted dump.rdb ? ("Short read or OOM loading DB. Unrecoverable error, aborting now.")

1,589 views
Skip to first unread message

gotux

unread,
Sep 10, 2012, 1:46:48 PM9/10/12
to redi...@googlegroups.com
Hello

I'm trying to restore a redis DB from dump.rdb file and every time it fails with "Short read or OOM loading DB. Unrecoverable error, aborting now."

user333@User333-MacBook-Pro:/tmp/redis-2.4.13$ ./src/redis-check-dump /opt/local/var/db/redis/dump.rdb
==== Processed 136643 valid opcodes (in 613103183 bytes) =======================
==== Error trace (: traidnd_969590) ============================================
0x248b3668 - Error reading string object
0x248b3659 - Error reading entry value
0x248b3659 - Error for type
==== Processed 0 valid opcodes (in 0 bytes) ====================================
==== Error trace ===============================================================
0x248b4000 - Expected EOF, got STRING

The dump is taken from 2.4.13 . I tried to restore this dump on 2.4.13 and 2.4.17. Both version exited with same error :- "Short read or OOM loading DB. Unrecoverable error, aborting now."

Any idea what could be wrong here ?

Thanks,

-- 
gotux


Salvatore Sanfilippo

unread,
Sep 11, 2012, 5:15:42 AM9/11/12
to redi...@googlegroups.com
Hello,

unfortunately 2.4 has not checksum in RDB files, (2.6 has a CRC64 at
the end), so it's not possible to say if the file is corrupted by
Redis or the filesystem. There are no known bugs in 2.4.13 that could
lead to something like what I'm seeing here, nor previos reports.

If data is important but not critical to share you can try to send me
the RDB file and I can see what I can do checking the origin and
trying to recover the data that appears to be recoverable.

Cheers,
Salvatore
> --
> You received this message because you are subscribed to the Google Groups
> "Redis DB" group.
> To post to this group, send email to redi...@googlegroups.com.
> To unsubscribe from this group, send email to
> redis-db+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/redis-db?hl=en.



--
Salvatore 'antirez' Sanfilippo
open source developer - VMware
http://invece.org

Beauty is more important in computing than anywhere else in technology
because software is so complicated. Beauty is the ultimate defence
against complexity.
— David Gelernter

Tapas Mishra

unread,
Oct 31, 2013, 3:09:56 AM10/31/13
to redi...@googlegroups.com
Hello all, 

I am new to redis and I got the same "Short read or OOM loading DB. Unrecoverable error, aborting now." error. Can anybody give me the details steps to recover from this?

Thanks
-Tapas

shubham arya

unread,
Oct 11, 2022, 9:33:04 AM10/11/22
to Redis DB
Hi All,

I have a RDB file which I am trying to load but I am getting Short read or OOM loading DB. Unrecoverable error, aborting now. The redis version before and after RDB snapshot is Redis 3.0.504 (00000000/0) 64 bit.

Please suggest some troubleshooting techniques to resolve the issue asap.

Thanks,
Shbh

Ankit Gupta

unread,
Oct 18, 2022, 2:12:56 AM10/18/22
to Redis DB
Hello Shubham,

Do you have enough memory in node? Can you share the output of info memory?

Reply all
Reply to author
Forward
0 new messages