LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 03-27-2003, 03:11 AM   #1
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
Too many open files in system


some tiems when igive the command

ls /home

it gives me the following error

"Too many open files in system"

what is be the problem

here is the log file entry



[2003/03/25 09:55:06, 0] rpc_server/srv_srvsvc_nt.c:share_info_db_init(130)
Failed to open share info database /var/cache/samba/share_info.tdb (Too many open files in system)



thanks
 
Old 03-27-2003, 06:40 AM   #2
fsbooks
Member
 
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 457

Rep: Reputation: 41
You can see how many open files allowed in your system with the following: "cat /proc/sys/fs/file-max". This can be increased, for example: "echo 16384 > /proc/sys/fs/file-max" will increase this to 16384. Of course, next boot will reset this, so you can put this command in rc.local. You can also edit your kernel source and rebuild, if you prefer (see /usr/src/linux/include/linux/fs.h).

You may want to check the output of lsof to see if the problem is too many files open systemwide or for a particular process. The above procedure (minus the kernel build) fixes the systemwide problem.
 
Old 03-27-2003, 10:38 PM   #3
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Original Poster
Rep: Reputation: 30
This is a samba server, what could have caused the problem?

I have never encountered this problem before
 
Old 03-27-2003, 11:08 PM   #4
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Original Poster
Rep: Reputation: 30
what is kfmclient used for.

when i get the above error, i did a ' ps ax' command and saw abt
250 instant of the process running. when i killed all the process, the problem got solved
 
Old 03-28-2003, 02:29 AM   #5
fsbooks
Member
 
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 457

Rep: Reputation: 41
Description: Kfmclient, part of the kdebase package, is a command-line utility for opening a URL in Konqueror. (more)

http://apps.kde.com/na/2/info/id/883?sid=&sid=
 
Old 03-28-2003, 09:58 PM   #6
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Original Poster
Rep: Reputation: 30
thanks for that fsbooks
 
  


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
"Too many open files in system" neocookie Linux - General 2 08-27-2005 04:32 AM
Can Open Office open WordPerfect files hemenm Linux - Software 2 03-10-2004 05:14 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 on system error?! sarin Linux - General 4 07-23-2002 06:49 AM

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

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