IPFS error "flatfs: too many open files"

in #ipfs6 years ago

flatfs-too-many-open-files-cover.png

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:

     . . .
*     hard     nofile     4096
*     soft      nofile     40960
# End of file

ulimits.png

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)

Sort:  

Congratulations @frayoshi! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes received

Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word STOP

Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Coin Marketplace

STEEM 0.18
TRX 0.14
JST 0.030
BTC 59634.42
ETH 3191.92
USDT 1.00
SBD 2.45