Linux machines typically have a soft limit of 1024 open file descriptors. Check your current limit with the ulimit command:
ulimit
ulimit -S -n # soft limit ulimit -H -n # hard limit
Increase as a super-user the soft limit to 4096 with:
ulimit -S -n 4096