


To find out how many file descriptors are currently being used: more /proc/sys/fs/file-nr To check the current open file descriptor limit: more /proc/sys/fs/file-max Test the settings using the following command: ulimit -a To change the ulimit setting, edit the file /etc/security/nf and set the hard and soft limits: * soft nofile 100000 * hard nofile 100000Īfter this value is changed please reboot the server. To change the file descriptor setting, edit the file /etc/nf. Increase ulimit value and test system settings Set map count within /etc/nf file by adding the following line: Verify the installation by running the following command: java -version Install wget by running the following command: yum install wget Install OpenJDK 11 by running the following command: sudo yum install java-11-amazon-corretto Recommended EC2 instance type is r5.large.
