Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-04-2008, 02:11 PM   #1
LQ Newbie
Registered: Jul 2008
Posts: 3

Rep: Reputation: 0
Too many open files in system

Hello everyone,

While installing a program I copied some data to my /etc/sysctl.conf file. One of the lines I copied was: fs.file-max = 512 * PROCESSES.

Now I can't do much anything. Basically every command I execute results in: Too many open files in system.

Does anyone have any idea what I can do to fix this problem?

Thanks for your help!
Old 07-04-2008, 02:27 PM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
Boot a live CD. Mount your system partition. Edit the file to remove that line.
Old 07-04-2008, 02:41 PM   #3
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
I don't think that the /sbin/sysctl command will evaluate a line the same way bash would, so you may want to check your other changed made as well. The entries should all be "name = value" form and not "name = expression".


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
How to write C Code to play MP3 files using Open sound System programming Under Linux shayad15 Programming 3 06-05-2006 12:46 PM
Too many open files in system ipconfig Linux - Newbie 5 12-16-2003 05:14 AM
Reg Too Many Open Files in System Error manickaraja Linux - General 3 12-01-2003 05:34 AM
Too many open files in system jayakrishnan Linux - General 5 03-28-2003 09:58 PM
Too many open files on system error?! sarin Linux - General 4 07-23-2002 06:49 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:50 PM.

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