LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 07-02-2002, 01:27 PM   #1
Glover
LQ Newbie
 
Registered: Jun 2002
Location: Detroit
Distribution: Fedora, Gentoo
Posts: 14

Rep: Reputation: 0
/proc/sys/fs/file-max Opinions


I have a system where it looks like it is running out of file handles while executing a large computation program. At least Google'ing error I found in my /var/log/messages file:
kernel: Unable to load interpreter /lib/ld-linux.so.2
found that the likely answer was the file handles shortage.

The current file-max I have is 4096. My system has 128 MB of RAM and 136 MB of swap. I was wondering if y'all thought I'd be safe in increasing the file-max. I'd like to double that at least.

Any opinions?

Also noteworthy - after that error above appears, my inetd dies with signal 11. Then ypbind stops working. Anybody have any suggestions?
 
Old 07-02-2002, 09:52 PM   #2
mlp68
Member
 
Registered: Jun 2002
Location: NY
Distribution: Gentoo,RH
Posts: 333

Rep: Reputation: 40
I managed to increase the number of filehandles for a database server, but it's tricky - the kernel change is trivial, just edit include/linux/fs.h, make clean and rebuild.

However, the glibc has its own version of that definition, and at compile time sets the lengths of some arrays. You need to rebuild the glibc for yourself after making the corresponding change. I recall that it took me a while.

My kernel came with 8192 preset, by the way.

Hope it helps,
Martin
 
  


Reply



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
Can't create file using echo: /proc/sys/net/ipv4/ip_local_port_change rsumbeling Linux - General 4 07-17-2013 04:20 AM
/proc/sys/fs/file-nr ?? jharris Linux - General 5 07-27-2009 06:07 PM
LM_Sensors proc V sys Weirdname Slackware 5 11-29-2005 08:22 PM
/proc/sys/fs/file-max vaginismus Linux - General 1 10-31-2005 11:34 PM
/proc vs /sys alaios Linux - Newbie 1 06-11-2005 11:56 PM

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

All times are GMT -5. The time now is 03:15 PM.

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