Skip to content
Cosmopediaby Unity Nodes
DiscussionsValidationUbuntu Error to many open files, when run a nodeForum ↗

Ubuntu Error to many open files, when run a node

Validation2 posts1,192 views3 likesLast activity Jul 2018
ME
melea-trustOP
Jun 2018 3

Solution

For those of you with gaiad crashing on the too many open files error, here’s a short guide to fix it

check your user’s per-process open file limit

ulimit -Sn
​

check how many files gaiad has open

ls /proc/(pidof gaiad)/fd/ | wc -l
​

increase username’s per process limit

sudo vi /etc/security/limits.conf
username soft nofile 2048
​
From @peng and @zmanian in riot

GK
gkrizek
Jul 2018

Also a solution in the Docs
https://cosmos.network/docs/validators/validator-setup.html#problem-2-my-gaiad-crashes-because-of-too-many-open-files

← Back to Discussions