Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 05-19-2005, 11:18 AM   #1
Registered: Aug 2002
Location: Copperas Cove, Texas
Distribution: Ubuntu 16.04 LTS
Posts: 218

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 (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 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

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

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?


Note, I'm running Mandriva 10.1 Official
Old 05-19-2005, 10:39 PM   #2
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.

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

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


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

All times are GMT -5. The time now is 04:32 AM.

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