wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eaglei22 <jchojnack...@gmail.com>
Subject DiskDataStore errors in production
Date Wed, 14 May 2014 20:40:58 GMT
Hi, my application in production often gets this error: 
May 14 09:12:27 ERROR
DiskDataStore-/opt/ssa/tomcat/apache-tomcat-7.0.29/work/Catalina/localhost/SSA/wicket.ssa-webapp-filestore/4729/2939/909EAC3343856968BA7B1864B71CEA85/data
(Too many open files) 
java.io.FileNotFoundException:
/opt/ssa/tomcat/apache-tomcat-7.0.29/work/Catalina/localhost/SSA/wicket.ssa-webapp-filestore/4729/2939/909EAC3343856968BA7B1864B71CEA85/data
(Too many open files) 
        at java.io.RandomAccessFile.open(Native Method) 
        at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233) 
        at
org.apache.wicket.pageStore.DiskDataStore$SessionEntry.getFileChannel(DiskDataStore.java:425)

        at
org.apache.wicket.pageStore.DiskDataStore$SessionEntry.savePage(DiskDataStore.java:343) 
        at
org.apache.wicket.pageStore.DiskDataStore.storeData(DiskDataStore.java:181) 
        at
org.apache.wicket.pageStore.AsynchronousDataStore.storeData(AsynchronousDataStore.java:228)

        at
org.apache.wicket.pageStore.DefaultPageStore.storePageData(DefaultPageStore.java:120) 
        at
org.apache.wicket.pageStore.DefaultPageStore.storePage(DefaultPageStore.java:154) 
        at
org.apache.wicket.page.PageStoreManager$PersistentRequestAdapter.storeTouchedPages(PageStoreManager.java:412)

        at
org.apache.wicket.page.RequestAdapter.commitRequest(RequestAdapter.java:181) 




and now I am getting this error for every page opened making the log file
extremely large: 

May 14 11:36:31 WARN  DiskDataStore-Cannot save page with id '866' because
the data file cannot be opened. 
May 14 11:36:31 ERROR
DiskDataStore-/opt/ssa/tomcat/apache-tomcat-7.0.29/work/Catalina/localhost/SSA/wicket.ssa-webapp-filestore/3943/9005/A851AC58C741B566C0E40BE1791649E1/data
(Permission denied) 
java.io.FileNotFoundException:
/opt/ssa/tomcat/apache-tomcat-7.0.29/work/Catalina/localhost/SSA/wicket.ssa-webapp-filestore/3943/9005/A851AC58C741B566C0E40BE1791649E1/data
(Permission denied) 
        at java.io.RandomAccessFile.open(Native Method) 
        at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233) 
        at
org.apache.wicket.pageStore.DiskDataStore$SessionEntry.getFileChannel(DiskDataStore.java:425)

        at
org.apache.wicket.pageStore.DiskDataStore$SessionEntry.savePage(DiskDataStore.java:343) 
        at
org.apache.wicket.pageStore.DiskDataStore.storeData(DiskDataStore.java:181) 
        at
org.apache.wicket.pageStore.AsynchronousDataStore$PageSavingRunnable.run(AsynchronousDataStore.java:355)

        at java.lang.Thread.run(Thread.java:722) 
May 14 11:36:31 WARN  DiskDataStore-Cannot save page with id '0' because the
data file cannot be opened. 
May 14 11:36:32 ERROR
DiskDataStore-/opt/ssa/tomcat/apache-tomcat-7.0.29/work/Catalina/localhost/SSA/wicket.ssa-webapp-filestore/3943/9005/A851AC58C741B566C0E40BE1791649E1/data
(Permission denied) 
java.io.FileNotFoundException:
/opt/ssa/tomcat/apache-tomcat-7.0.29/work/Catalina/localhost/SSA/wicket.ssa-webapp-filestore/3943/9005/A851AC58C741B566C0E40BE1791649E1/data
(Permission denied) 
        at java.io.RandomAccessFile.open(Native Method) 
        at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233) 
        at
org.apache.wicket.pageStore.DiskDataStore$SessionEntry.getFileChannel(DiskDataStore.java:425)

        at
org.apache.wicket.pageStore.DiskDataStore$SessionEntry.savePage(DiskDataStore.java:343) 
        at
org.apache.wicket.pageStore.DiskDataStore.storeData(DiskDataStore.java:181) 
        at
org.apache.wicket.pageStore.AsynchronousDataStore$PageSavingRunnable.run(AsynchronousDataStore.java:355)

        at java.lang.Thread.run(Thread.java:722) 
May 14 11:36:32 WARN  DiskDataStore-Cannot save page with id '0' because the
data file cannot be opened. 





What can be causing these errors? is this more of a Tomcat thing or Wicket? 

Thanks! 

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/DiskDataStore-errors-in-production-tp4665840.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Mime
View raw message