explicitClick to confirm you are 18+

IPFS error "flatfs: too many open files"

FraYoshiJun 9, 2018, 2:26:43 AM
thumb_up6thumb_downmore_vert

If you have followed my previous tutorial on how to batch import your pinned files, you could have easily incurred on this "flatfs: too many open files" error.

Here a practical solution for your Linux OS:

Enter the following folder as superuser via your editor of preference, I'm using nano:

sudo nano /etc/security/limits.conf

add these 2 lines at the end of the file:


ulimits picture


     . . .
     *     hard     nofile     4096

     *     soft      nofile     40960
     # End of file

Log out and log in again > retry =)

4096 and 40960 should be enough, just in case you can always augment these values! ^^

Thank You for reading!

donation area: http://fgobbo.com/donate
(it helps me to keep servers running ipfs nodes)