ulimits and server restarts

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
thompsonp
Premium Member
Premium Member
Posts: 205
Joined: Tue Mar 01, 2005 8:41 am

ulimits and server restarts

Post by thompsonp »

We have a new v11.5 install and all the recommended kernel settings were supposedly made before the installation.

The server was recently rebooted and we saw a message about increasing the open files limit changed from
10240 to 30000 and then after the reboot it became 1024 to 4096.

What is the recommended way of setting limits so that they remain the same after a reboot and should they be set for just the root and dsadm users or any user that we might have configured to run the unix processes resulting from running a DataStage job?

On a previous AIX v8 install the ulimits were set in the dsenv file, but is that still the way to do it on v11.5 on Linux?

Thanks
PaulVL
Premium Member
Premium Member
Posts: 1315
Joined: Fri Dec 17, 2010 4:36 pm

Post by PaulVL »

well, I have found that setting it in the dsenv does not solve all of the issues.

I always get the System Admins to edit the default settings on the Hosts. So that EVERY user who logs in to the ETL host has the correct settings by default. It's an ETL box, the tool has a lot of file handles or processes that run as a result.


On RHEL:

/etc/security/limits.d/90-nproc.conf

/etc/security/limits.conf


Those are my two files that I have modified to appropriate values.

Can't really tell you what normal is for you, but 1024 is not. HA
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Minimum nofiles for installation is 10240. I tend to use double that, and leave that setting in place.

Since root does not execute dsenv, I also put the ulimit command into /root/.bashrc (initialization file for root - yours may be different).

On RHEL you can use sysctl -w command to update kernel parameter values.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply