I got a crash with OSError: [Errno 24] Too many open files: (6, 'somepath'). Running it again with sudo bash -c 'ulimit -n 10000 && bedup dedup /mnt/thing' worked. Maybe that exception could be caught and replaced with a note telling the user that they may want to increase the ulimit (or run on fewer files at a time).
I got a crash with
OSError: [Errno 24] Too many open files: (6, 'somepath')
. Running it again withsudo bash -c 'ulimit -n 10000 && bedup dedup /mnt/thing'
worked. Maybe that exception could be caught and replaced with a note telling the user that they may want to increase the ulimit (or run on fewer files at a time).