LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-04-2008, 03:11 PM   #1
DanaBrown
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!
Dana
 
Old 07-04-2008, 03:27 PM   #2
stress_junkie
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, 03:41 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
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".
 
  


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


All times are GMT -5. The time now is 08:25 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration