goroutines) used by Dgraph from the
default value of eight. For example, you can reduce the goroutines that
Dgraph uses to four by calling the dgraph alpha command with the following
option:
--badger "goroutines=4"
ulimit
command, as follows:
ulimit -n -Hulimit -n -S1048576 open files is the recommended minimum to use Dgraph in
production, but you can try increasing this soft limit if you continue to see
this error. To learn more, see the ulimit documentation for your operating
system.
ulimit values on Ubuntu 20.04 systems: