LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-16-2007, 10:55 AM   #1
jmain_314159
Newbie
 
Registered: May 2007
Posts: 0

Rep: Reputation: 0
Question PAM not working to set max number of files


I'm trying to set up the number of simultaneously open files per process via PAM for the entire system. I've set the following lines in /etc/security/limits.conf:
* soft nofile 4096
* hard nofile 4096

and added the line 'session required /lib/security/pam_limits.so' to the xdm,ssh, and login files in /etc/pamd. Still, even after a reboot the command 'ulimit -a' lists the max number of files as 1024 (default).

Does anyone know what I'm doing wrong?

One of the services (launched at boot) on this machine is running out of file descriptors and I need a way of increasing the limit.

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do you determine the max number files can be stored in a single directory on the genux33 Linux - General 2 12-13-2005 05:40 PM
I need to set a max number of processes for users zahadumy Linux - Software 1 11-15-2005 12:52 AM
max number of files on ext2 ext3? tim1235 Linux - Newbie 5 10-17-2004 06:11 PM
pam or sshd ignoring max retries; 8 > 3 antieagles Linux - Security 0 09-29-2004 12:45 PM
max socket number sector Linux - General 1 06-30-2003 09:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration