How to change ulimit in CentOS6

Sandeep Singh

I am using CentOS6.6 and trying to install HDP2.2

When I do: ulimit -Sn Its value is 1024

When I do: ulimit -Hn Its value is 4096

The recommended maximum number of open file descriptors is 10000, or more.

I am trying to increase this value. I have checked several link and trying to follow steps but not getting any success. I am looking some help to increase this value.

gwgyk

CentOS is different from RHEL5, you need to modify the file /etc/security/limits.conf, add the follow sentences to the end of file:

*           soft    nofile          655350
*           hard    nofile          655350

then, relogin the system(very important). Gook luck.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to start/stop/flush OpenCPU on CentOS6?

From Dev

How to start/stop/flush OpenCPU on CentOS6?

From Dev

How to replace a disk which contains the CentOS6

From Dev

how can i resize standard partition in centOS6?

From Dev

How to install packages to a custom location in centos6

From Dev

How to use ulimit with java correctly?

From Dev

Change the resource limits (ulimit / rlimit) of a running process

From Dev

How to install node-oracledb module on AWS centos6 through command line?

From Dev

Recommended ulimit values for Centos7

From Dev

How to add persist shell ulimit settings on Mac?

From Dev

How are the various ulimit values for a process set?

From Dev

How to run ulimit in a script with other application

From Dev

How are the number various ulimit values for a process set?

From Dev

Redis as service on CentOs6

From Dev

Configuring virtualenvwrapper on Centos6

From Dev

How to check, which limit was exceeded? (Process terminated because of ulimit. )

From Dev

How can I determine what individual ulimit constraint a process has?

From Dev

How can the OOM killer kill ulimit(ed) process?

From Dev

How to change hostname on CentOS 6.5?

From Dev

How to change centos partition to LVM

From Dev

How to change the timezone on CentOS 7?

From Dev

git push error on centos6

From Dev

PHP installation conflicts on Centos6

From Dev

locale-gen command in centos6

From Dev

Installing snipping tool in centos6

From Dev

OpenCV on CentOS6 with Java installation problems

From Dev

git push error on centos6

From Dev

Cannot upgrade git on CentOS6

From Dev

Docker run centos6 command fails