I ran into an issue with entries from limits.conf being affected when users default shell switched from csh to ksh. Once the switch was made the user lost the nofile and nproc settings. I ran an strace for both shells (edit passwd and strace -o"file" su - "account") and it shows both sessions reading the limits file and picking up the changes
strace line showing modified nofile limits being set
The above line along with the nproc settings appear to be picked up with both shells but when ksh is default shell.... actually anything but csh... it appears the new setting is not inherited by the shell. It is set to 8k not 64k
The kernel level is 2.6.18-126.96.36.199.1.el5 x86_64 I am at a loss for this one
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!