Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005962 [Resin] major random 11-12-15 13:39 11-13-15 12:29
Reporter snicolai View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.47 Product Version 4.0.46
  Product Build
Summary 0005962: IllegalMonitorStateException saving sessions
Description We get these messages occasionally under load.


[15-11-12 13:03:45.852] {resin-port-8080-372} SessionImpl[aaa1NL6xnVc3u6FXGv8dv,/edge]: can't serialize session
                       java.lang.IllegalMonitorStateException
                           at java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryRelease(ReentrantReadWriteLock.java:374)
                           at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1260)
                           at java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.unlock(ReentrantReadWriteLock.java:1131)
                           at com.caucho.db.table.TableRowAllocator.allocateRow(TableRowAllocator.java:131)
                           at com.caucho.db.table.Table.insert(Table.java:983)
                           at com.caucho.db.sql.InsertQuery.execute(InsertQuery.java:116)
                           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.DataStore.insert(DataStore.java:458)
                           at com.caucho.server.distcache.DataStore.save(DataStore.java:434)
                           at com.caucho.server.distcache.CacheDataBackingImpl.saveData(CacheDataBackingImpl.java:346)
                           at com.caucho.server.distcache.LocalDataManager.writeData(LocalDataManager.java:404)
                           at com.caucho.server.distcache.DistCacheEntry.putStream(DistCacheEntry.java:419)
                           at com.caucho.server.distcache.DistCacheEntry.put(DistCacheEntry.java:352)
                           at com.caucho.server.distcache.CacheImpl.put(CacheImpl.java:488)
                           at com.caucho.server.session.SessionImpl.save(SessionImpl.java:957)
                           at com.caucho.server.session.SessionImpl.saveAfterRequest(SessionImpl.java:914)
                           at com.caucho.server.session.SessionImpl.finishRequest(SessionImpl.java:653)
                           at com.caucho.server.http.AbstractCauchoRequest.finishRequest(AbstractCauchoRequest.java:1080)
                           at com.caucho.server.http.HttpServletRequestImpl.finishRequest(HttpServletRequestImpl.java:1728)
                           at com.caucho.server.http.AbstractHttpRequest.finishRequest(AbstractHttpRequest.java:1870)
                           at com.caucho.server.http.HttpRequest.finishRequest(HttpRequest.java:1495)
                           at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:870)
                           at com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:1349)
                           at com.caucho.network.listen.TcpSocketLink.handleRequest(TcpSocketLink.java:1305)
                           at com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:1289)
                           at com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:1197)
                           at com.caucho.network.listen.TcpSocketLink.handleAcceptTaskImpl(TcpSocketLink.java:993)
                           at com.caucho.network.listen.ConnectionTask.runThread(ConnectionTask.java:117)
                           at com.caucho.network.listen.ConnectionTask.run(ConnectionTask.java:93)
                           at com.caucho.network.listen.SocketLinkThreadLauncher.handleTasks(SocketLinkThreadLauncher.java:169)
                           at com.caucho.network.listen.TcpSocketAcceptThread.run(TcpSocketAcceptThread.java:61)
                           at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
                           at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)
                       
EXN: java.lang.IllegalMonitorStateException
java.lang.IllegalMonitorStateException
    at java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryRelease(ReentrantReadWriteLock.java:374)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1260)
    at java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.unlock(ReentrantReadWriteLock.java:1131)
    at com.caucho.db.sql.QueryContext.unlock(QueryContext.java:633)
    at com.caucho.db.sql.IdentityIndexExpr.nextBlock(IdentityIndexExpr.java:141)
    at com.caucho.db.sql.Query.nextBlock(Query.java:789)
    at com.caucho.db.sql.Query.nextTuple(Query.java:763)
    at com.caucho.db.sql.DeleteQuery.execute(DeleteQuery.java:83)
    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.DataStore.remove(DataStore.java:515)
    at com.caucho.server.distcache.DataRemoveActor.runTask(DataRemoveActor.java:85)
    at com.caucho.env.thread2.AbstractTaskWorker2.run(AbstractTaskWorker2.java:247)
    at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
    at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)
WarningService: java.lang.IllegalMonitorStateException
[15-11-12 13:03:46.633] {DataRemoveActor[app-0]-17} WarningService: java.lang.IllegalMonitorStateException
[15-11-12 13:03:46.634] {DataRemoveActor[app-0]-17} java.lang.IllegalMonitorStateException
                           at java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryRelease(ReentrantReadWriteLock.java:374)
                           at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1260)
                           at java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.unlock(ReentrantReadWriteLock.java:1131)
                           at com.caucho.db.sql.QueryContext.unlock(QueryContext.java:633)
                           at com.caucho.db.sql.IdentityIndexExpr.nextBlock(IdentityIndexExpr.java:141)
                           at com.caucho.db.sql.Query.nextBlock(Query.java:789)
                           at com.caucho.db.sql.Query.nextTuple(Query.java:763)
                           at com.caucho.db.sql.DeleteQuery.execute(DeleteQuery.java:83)
                           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.DataStore.remove(DataStore.java:515)
                           at com.caucho.server.distcache.DataRemoveActor.runTask(DataRemoveActor.java:85)
                           at com.caucho.env.thread2.AbstractTaskWorker2.run(AbstractTaskWorker2.java:247)
                           at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
                           at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)
                       
EXN: java.lang.IllegalMonitorStateException
java.lang.IllegalMonitorStateException
    at java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryRelease(ReentrantReadWriteLock.java:374)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1260)
    at java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.unlock(ReentrantReadWriteLock.java:1131)
    at com.caucho.db.sql.QueryContext.unlock(QueryContext.java:633)
    at com.caucho.db.sql.IdentityIndexExpr.nextBlock(IdentityIndexExpr.java:141)
    at com.caucho.db.sql.Query.nextBlock(Query.java:789)
    at com.caucho.db.sql.Query.nextTuple(Query.java:763)
    at com.caucho.db.sql.DeleteQuery.execute(DeleteQuery.java:83)
    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.DataStore.remove(DataStore.java:515)
    at com.caucho.server.distcache.DataRemoveActor.runTask(DataRemoveActor.java:85)
    at com.caucho.env.thread2.AbstractTaskWorker2.run(AbstractTaskWorker2.java:247)
    at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
    at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)
Steps To Reproduce
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
11-12-15 13:39 snicolai New Issue
11-13-15 12:29 ferg Assigned To  => ferg
11-13-15 12:29 ferg Status new => closed
11-13-15 12:29 ferg Resolution open => fixed
11-13-15 12:29 ferg Fixed in Version  => 4.0.47


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