If you are running a transcoder on a linux box, sometimes you’ll see a “too many files open” error. When this happens, the transcoder can stop doing work.
This is because the Livepeer transcoder runs an internal IPFS node. Since IPFS requires a larger file limit, you have to change your default file limit. For Ubuntu users, you can do this by:
* hard nofile 4096and
* soft nofile 40960
- After that, change
session required pam_limits.so
- Restart the machine, and verify via
ulimit -ato make sure the soft/hard limits have changed.