/etc/security/limits.conf

*            soft nofile  4096
*            hard nofile 10240

root         soft nofile  4096
root         hard nofile 10240