Re: Too many open files, again

"M. A. Sridhar" <[email protected]> Fri, 20 May 2005 08:56:50 -0700 (PDT)
Newsgroups gmane.comp.db.mckoi
Message-ID <[email protected]>
I am (for the most part) using the IBM Java 1.4.1 kit on Linux (Mandrake
9.1). I have not tested this particular aspect on Windows.

The application had died this morning with the same problem, so I had to
restart it. Here is the result of running the cat command:

Before restarting

[sfcrm@demo sfcrm]$ cat /proc/sys/fs/file-nr
2076    90      52422



After restarting:

[root@demo sfcrm]# cat /proc/sys/fs/file-nr
2128    822     52422


I would be grateful for any ideas/patches/workarounds.

Thanks and regards.

Sridhar



--- Tobias Downer <[email protected]> wrote:
> The backup process requires a lot of files to be open in a short period 
> of time.  Mckoi opens and closes a lot of files during normal operation 
> also.  About every 512kb of data inserted into the database causes a new 
> journal file to be created and later closed and deleted.
> 
> May I ask which JVM versions you are using?  You have found that the 
> problem happens regardless of JVM after about a week?  Does it happen on 
> both Windows and Linux machines?
> 
> Would it be possible to run a 'cat /proc/sys/fs/file-nr' every day after 
> a backup and send me the output?  This should give an idea if the linux 
> file descriptor limit is being exhausted.
> 
> Toby.
> 


M. A. Sridhar


		
Discover Yahoo! 
Use Yahoo! to plan a weekend, have fun online and more. Check it out! 
http://discover.yahoo.com/


---------------------------------------------------------------
Mckoi SQL Database mailing list  http://www.mckoi.com/database/
To unsubscribe, send a message to [email protected]