Too many open files, again

"M. A. Sridhar" <[email protected]> Thu, 19 May 2005 10:53:19 -0700 (PDT)
Newsgroups gmane.comp.db.mckoi
Message-ID <[email protected]>
Hi Toby,

There does seem to be a problem with too many open files under Mckoi 1.0.2. I
have tried this on three different JVMs (IBM, BEA JRockit and Sun) on
different Linux boxes. The problem seems to occur only during the backup
process using the system_make_backup call -- I have not seen it show up in
any other circumstance. I have this backup enabled every day, but it only
seems to happen after a week or so of the application being up and running.

The stack trace is below. It's the same message I receive on all the
occasions that it has failed. I would appreciate any ideas. Thanks.


Sridhar



% java.io.FileNotFoundException: /home/sfcrm/app/data/mckoiDb/./data/jnl11
(Too many open files)
        at java.io.RandomAccessFile.open(Native Method)
        at java.io.RandomAccessFile.<init>(RandomAccessFile.java(Compiled
Code))
        at com.mckoi.store.StreamFile.<init>(StreamFile.java:63)
        at
com.mckoi.store.JournalledSystem$JournalFile.open(JournalledSystem.java:546)
        at
com.mckoi.store.JournalledSystem.newTopJournalFile(JournalledSystem.java:346)
        at
com.mckoi.store.JournalledSystem.setCheckPoint(JournalledSystem.java:416)
        at
com.mckoi.store.LoggingBufferManager.setCheckPoint(LoggingBufferManager.java(Compiled
Code))
        at
com.mckoi.database.V1FileStoreSystem.setCheckPoint(V1FileStoreSystem.java:210)
        at
com.mckoi.database.TableDataConglomerate.processCommit(TableDataConglomerate.java(Compiled
Code))
        at
com.mckoi.database.Transaction.closeAndCommit(Transaction.java:2066)
        at
com.mckoi.database.DatabaseConnection.commit(DatabaseConnection.java(Compiled
Code))
        at
com.mckoi.database.jdbcserver.JDBCDatabaseInterface.execQuery(JDBCDatabaseInterface.java(Compiled
Code))
        at
com.mckoi.database.jdbc.MStatement.executeQueries(MStatement.java(Compiled
Code))
        at
com.mckoi.database.jdbc.MStatement.executeQuery(MStatement.java(Compiled
Code))
        at
com.mckoi.database.jdbc.MPreparedStatement.executeUpdate(MPreparedStatement.java:225)



		
__________________________________ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 


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