Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005978 [Resin] major random 02-12-16 10:26 05-09-16 11:32
Reporter Mathias Lagerwall View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.47
Summary 0005978: Error in session database
Description We are using Resin in a clustering setup. Two instances serves the customers. The following error message occurs from time to time in the log and it seems as the session database is locked for quite some time for some customers when we see it. It is so bad that we are forced to restart the instance.

java.lang.IllegalMonitorStateException
  at java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryRelease(ReentrantReadWriteLock.java:371)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1261)
  at java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.unlock(ReentrantReadWriteLock.java:1131)
  at com.caucho.db.index.BTree.removeWrite(BTree.java:900)
  at com.caucho.db.index.BTree.remove(BTree.java:774)
  at com.caucho.db.table.BinaryColumn.deleteIndex(BinaryColumn.java:418)
  at com.caucho.db.table.Table.delete(Table.java:1154)
  at com.caucho.db.table.TableIterator.delete(TableIterator.java:512)
  at com.caucho.db.sql.DeleteQuery.execute(DeleteQuery.java:80)
  at com.caucho.db.jdbc.PreparedStatementImpl.execute(PreparedStatementImpl.java:367)
  at com.caucho.db.jdbc.PreparedStatementImpl.executeUpdate(PreparedStatementImpl.java:337)
  at com.caucho.server.distcache.MnodeStore.remove(MnodeStore.java:840)
  at com.caucho.server.distcache.CacheDataBackingImpl.removeData(CacheDataBackingImpl.java:501)
  at com.caucho.server.distcache.CacheDataBackingImpl.access$600(CacheDataBackingImpl.java:60)
  at com.caucho.server.distcache.CacheDataBackingImpl$ReaperListener.removeExpiredData(CacheDataBackingImpl.java:614)
  at com.caucho.server.distcache.CacheDataBackingImpl$ReaperListener.handleAlarm(CacheDataBackingImpl.java:570)
  at com.caucho.util.Alarm.handleAlarm(Alarm.java:523)
  at com.caucho.util.Alarm.run(Alarm.java:495)
  at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
  at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
02-12-16 10:26 Mathias Lagerwall New Issue
05-09-16 11:32 ferg Assigned To  => ferg
05-09-16 11:32 ferg Status new => closed
05-09-16 11:32 ferg Resolution open => fixed
05-09-16 11:32 ferg Fixed in Version  => 4.0.49


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker