g2p / bedup

Btrfs deduplication
http://pypi.python.org/pypi/bedup
GNU General Public License v2.0
322 stars 50 forks source link

note about ulimit #66

Open unhammer opened 9 years ago

unhammer commented 9 years ago

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).