LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices



Reply
 
Search this Thread
Old 05-19-2005, 12:18 PM   #1
Toadman
Member
 
Registered: Aug 2002
Location: Texas
Distribution: Ubuntu 14.04 LTS
Posts: 171

Rep: Reputation: 15
VFS: file-max limit 25241 reached


Came home Tuesday from a 13hr day to find the system locked up. Hit the reset switch,
let fsck check the drives, found a lot of orphaned inodes. Looking at my
syslog I see the following:

May 17 19:48:29 cpollock fetchmail[5229]: 1 message for cpollock at
pop.earthlink.net (3339 octets).
May 17 19:48:29 cpollock kernel: VFS: file-max limit 25241 reached
May 17 19:48:29 cpollock last message repeated 7 times
May 17 19:48:29 cpollock fetchmail[5229]: reading message
cpollock@pop.earthlink.net:1 of 1 (3339 octets)
May 17 19:48:29 cpollock kernel: VFS: file-max limit 25241 reached
May 17 19:48:29 cpollock last message repeated 2 times
May 18 00:48:29 cpollock fetchmail[5229]: MDA open failed
May 18 00:48:29 cpollock fetchmail[5229]: MDA error while fetching from
pop.earthlink.net

A little more background. Last night I tried for hours to send a 107k pdf
file to my boss. It got to about 60% and this window popped up in Kmail:

Could not write to file smtpauth.earthlink.net

The rest was the usual, nothing else will be sent until this file is sent or
removed. I tested various file sizes until I found that only a 14k file
would go out. So, now for my questions:

1) What would cause these 25241 files?
2) How to prevent this from happening in the future?

Thanks
Chris

Note, I'm running Mandriva 10.1 Official
 
Old 05-19-2005, 11:39 PM   #2
godzero
Member
 
Registered: May 2005
Distribution: Mandriva 2005LE
Posts: 78

Rep: Reputation: 15
Well, I spent a little quality time with google, and it sounds like some proccess has alot of files open.
You may want to see if you can figure out which one it is, see if you can fix it...
But, here's a band-aid you might use:

(as root)
# echo *value* > /proc/sys/fs/file-max

Where value is the number of files to be openable at once. I don't know the upper bounds, but my machine has it set at 50918.

EDIT:
If you find a value that works for you; you can make it permanent by adding the echo to /etc/rc.d/rc.local
or
add a line to etc/sysctl.conf...
file-max = *value*

Last edited by godzero; 05-19-2005 at 11:54 PM.
 
  


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
ide1(22,7): write failed, user block limit reached. andy18 Linux - General 1 07-05-2005 01:14 PM
APACHE: limit max connections from the same IP ? tclwp Linux - Networking 3 06-24-2005 12:47 PM
Threads - Max Limit socratesinus Linux - Software 5 04-20-2005 04:43 PM
Location of mail storage once the quota has reached the limit jomy Linux - Enterprise 0 01-10-2005 08:09 AM
max process limit anoop_chandran Linux - Networking 2 01-16-2002 06:22 AM


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