cat /proc/$(pidof osmosisd)/limits
Edit /etc/systemd/system/osmosisd.service
(or whatever you named it.) And in the [Service]
section, set the following:
LimitNOFILE=infinity
very important, need to have systemd rescan the unit files or the change won't get picked up:
systemctl daemon-reload
Just to be double-sure it's possible to remove all ulimits for the user. Edit /etc/security/limits.conf
and add the line (I named the user osmo
, but you probably have something else, so adjust accordingly.)
osmo -
Changes won't get picked up until after a restart...
systemctl restart osmosisd
# tail logs...
journalctl -fu osmosisd
docker-run ...
Or in docker-compose ...