Try the following:
* soft nofile 10000 * hard nofile 10000
and add this line to the .profile file, fe for root in /root/.profile
ulimit -c 10000
or for all users in /etc/profile .
Remember: for remote users: /etc/pam.d/sshd and for su /etc/pam.d/su
session required /lib/security/pam_limits.so
source share