Re: [Resin-interest] java.lang.IllegalStateException: block at ffffffffc0000000 is invalid for file

2008-10-02 Thread Scott Ferguson

On Oct 1, 2008, at 11:46 PM, Tuan Tran wrote:

> Hi all,
>
> After some hours of running Resin i get this exception,
>
> [nnection.java:389)
> [01:29:02.987]  at
> com.caucho.util.ThreadPool.runTasks(ThreadPool.java:507)
> [01:29:02.987]  at com.caucho.util.ThreadPool.run(ThreadPool.java:433)
> [01:29:02.987]  at java.lang.Thread.run(Thread.java:595)
>
> This exception keeps going, after a while i get a nasty java heap  
> space
> out of memory. We are running Resin version 3.0.19. Is there a way to
> fix this?

You either need to upgrade to a 3.1.x version or switch to the jdbc  
store for sessions.  3.1.x fixed a large number of issues with our  
session backing store.

-- Scott

>
>
> Best regards,
>
> Tuan.
>
>
>
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


[Resin-interest] java.lang.IllegalStateException: block at ffffffffc0000000 is invalid for file

2008-10-01 Thread Tuan Tran
Hi all,

After some hours of running Resin i get this exception, 

[01:29:02.533] java.lang.IllegalStateException: block at
c000 is invalid for
file /usr/local/resin/session/srun_cyclops_zett_no.db (length 4000)
[01:29:02.535] java.lang.IllegalStateException: block at
c000 is invalid for
file /usr/local/resin/session/srun_cyclops_zett_no.db (length 4000)
[01:29:02.542] java.lang.IllegalStateException: block at
c000 is invalid for
file /usr/local/resin/session/srun_cyclops_zett_no.db (length 4000)
[01:29:02.699] java.lang.IllegalStateException: block at
c000 is invalid for
file /usr/local/resin/session/srun_cyclops_zett_no.db (length 4000)
[01:29:02.777] java.lang.IllegalStateException: block at
c000 is invalid for
file /usr/local/resin/session/srun_cyclops_zett_no.db (length 4000)
[01:29:02.819] java.lang.IllegalStateException: block at
c000 is invalid for
file /usr/local/resin/session/srun_cyclops_zett_no.db (length 4000)
[01:29:02.895] java.lang.IllegalStateException: block at
c000 is invalid for
file /usr/local/resin/session/srun_cyclops_zett_no.db (length 4000)
[01:29:02.987] java.io.IOException: Negative seek offset
[01:29:02.987]  at java.io.RandomAccessFile.seek(Native Method)
[01:29:02.987]  at
com.caucho.vfs.FileRandomAccessStream.write(FileRandomAccessStream.java:71)
[01:29:02.987]  at com.caucho.db.store.Store.writeBlock(Store.java:1099)
[01:29:02.987]  at
com.caucho.db.store.Store.saveAllocation(Store.java:716)
[01:29:02.987]  at
com.caucho.db.store.Store.allocateBlock(Store.java:590)
[01:29:02.987]  at
com.caucho.db.store.Store.allocateFragmentBlock(Store.java:514)
[01:29:02.987]  at
com.caucho.db.store.Store.allocateFragment(Store.java:862)
[01:29:02.987]  at com.caucho.db.store.Inode.append(Inode.java:322)
[01:29:02.987]  at
com.caucho.db.store.BlobOutputStream.flushBlock(BlobOutputStream.java:192)
[01:29:02.987]  at
com.caucho.db.store.BlobOutputStream.close(BlobOutputStream.java:165)
[01:29:02.987]  at
com.caucho.db.table.BlobColumn.setStream(BlobColumn.java:189)
[01:29:02.987]  at
com.caucho.db.table.BlobColumn.setExpr(BlobColumn.java:295)
[01:29:02.987]  at com.caucho.db.table.Table.insert(Table.java:710)
[01:29:02.987]  at
com.caucho.db.sql.InsertQuery.execute(InsertQuery.java:118)
[01:29:02.987]  at
com.caucho.db.jdbc.PreparedStatementImpl.execute(PreparedStatementImpl.java:349)
[01:29:02.987]  at
com.caucho.db.jdbc.PreparedStatementImpl.executeUpdate(PreparedStatementImpl.java:325)
[01:29:02.987]  at
com.caucho.server.cluster.FileBacking.storeSelfInsert(FileBacking.java:555)
[01:29:02.987]  at
com.caucho.server.cluster.FileBacking.storeSelf(FileBacking.java:481)
[01:29:02.987]  at
com.caucho.server.cluster.ClusterStore.storeSelf(ClusterStore.java:1098)
[01:29:02.987]  at
com.caucho.server.cluster.ClusterStore.update(ClusterStore.java:1081)
[01:29:02.987]  at
com.caucho.server.hmux.HmuxClusterRequest.saveObject(HmuxClusterRequest.java:366)
[01:29:02.987]  at
com.caucho.server.hmux.HmuxClusterRequest.handleRequest(HmuxClusterRequest.java:203)
[01:29:02.987]  at
com.caucho.server.hmux.HmuxRequest.scanHeaders(HmuxRequest.java:639)
[01:29:02.987]  at
com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:350)
[01:29:02.987]  at
com.caucho.server.port.TcpConnection.run(TcpConnection.java:389)
[01:29:02.987]  at
com.caucho.util.ThreadPool.runTasks(ThreadPool.java:507)
[01:29:02.987]  at com.caucho.util.ThreadPool.run(ThreadPool.java:433)
[01:29:02.987]  at java.lang.Thread.run(Thread.java:595)

This exception keeps going, after a while i get a nasty java heap space
out of memory. We are running Resin version 3.0.19. Is there a way to
fix this?

Best regards,

Tuan.



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest