LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 12-06-2004, 07:14 PM   #1
kryten
LQ Newbie
 
Registered: Aug 2004
Posts: 4

Rep: Reputation: 0
Low open file descriptor limit Suse 9.2


Hi,
can anyone tell me the following:

1) how do I check the system total allowed for open files.

2) how I can change both the system and user limits.

Any help gratefully appreaciated

Thanks
 
Old 12-12-2004, 07:42 PM   #2
cjcox
Member
 
Registered: Jun 2004
Posts: 307

Rep: Reputation: 42
Do a man initscript and see if that helps.
 
Old 12-19-2004, 07:15 PM   #3
kryten
LQ Newbie
 
Registered: Aug 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Hi,
I am a linux newbie how do I do this, I need to increase the user file limit.

Thanks


Do a man initscript and see if that helps.


kryten
Distribution: Hi,
can anyone tell me the following:

1) how do I check the system total allowed for open files.

2) how I can change both the system and user limits.

Any help gratefully appreaciated

Thanks
 
Old 12-20-2004, 01:20 AM   #4
cjcox
Member
 
Registered: Jun 2004
Posts: 307

Rep: Reputation: 42
As root you can use sysctl to view the system wide fs.file-max parameter. You can also change it as root.

For the session values... you can use ulimit -H -a to see the current hard upper limit (root can set the hard limit) and ulimit -S -a to show the soft limit for current session process.

Many people are interested in settting the session values for everything.. that is what is described in the example in the man page for initscript (shows the core file setting being changed.... using initscript effectively changes the value system wide.. you will have to reboot though.. or at least reload the runlevel).

Here's a website with more info (some examples):
http://www.cs.wisc.edu/condor/condor...alability.html
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Get the absolute path of file using file descriptor. appas Programming 7 01-19-2012 12:47 PM
Wireless : cardmgr[4292] : Open sock(socket 1) failed: Bad file descriptor mahendra Fedora 1 12-07-2004 05:36 PM
File Descriptor Limit rbd Linux - General 3 10-11-2004 02:57 PM
apt-file returns nothing; 'bad file descriptor' overbored Debian 3 10-03-2004 10:13 PM
Descriptor limit for a process akuate Linux - General 0 08-18-2004 12:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 02:05 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