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-18.104.22.168.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!
No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.
Your password has been sent to:email@example.com
To follow this tag...
Thanks! We'll email you when relevant content is added and updated.
Share this item with your network: