igor.vaynberg wrote:
> 
> firstly, wicket 1.4.1 is out.
> 
> secondly, it looks like you need to increase the number of open file
> handles allowed on your system because you are running out. one cause
> may be that a wicket app is deployed in development mode instead of
> deployment mode.
> 
> -igor
> 
> On Fri, Sep 11, 2009 at 1:35 AM, Anton Komratov <[email protected]>
> wrote:
>> I’m using wicket-1.4.rc4 with Geronimo 2.1.4 (tomcat 6, java ee 5) and
>> have got the following exception:
>>
>> 2009-09-11 10:10:44,212 ERROR [DiskPageStore] Error flushing page
>> java.lang.RuntimeException: java.io.FileNotFoundException:
>> /usr/local/geronimo-tomcat6-javaee5-2.1.4/var/catalina/work/depost/Main-filestore/CDBF71162CAA988157064CA98A5D1CEA/pm-null
>> (Too many open files)
>>      at
>> org.apache.wicket.protocol.http.pagestore.FileChannelPool.newFileChannel(FileChannelPool.java:103)
>>      at
>> org.apache.wicket.protocol.http.pagestore.FileChannelPool.getFileChannel(FileChannelPool.java:170)
>>      at
>> org.apache.wicket.protocol.http.pagestore.DiskPageStore$SessionEntry.savePage(DiskPageStore.java:241)
>>      at
>> org.apache.wicket.protocol.http.pagestore.DiskPageStore.flushPagesToSaveList(DiskPageStore.java:898)
>>      at
>> org.apache.wicket.protocol.http.pagestore.DiskPageStore$PageSavingThread.run(DiskPageStore.java:970)
>>      at java.lang.Thread.run(Thread.java:619)
>> Caused by: java.io.FileNotFoundException:
>> /usr/local/geronimo-tomcat6-javaee5-2.1.4/var/catalina/work/depost/Main-filestore/CDBF71162CAA988157064CA98A5D1CEA/pm-null
>> (Too many open files)
>>      at java.io.RandomAccessFile.open(Native Method)
>>      at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
>>      at
>> org.apache.wicket.protocol.http.pagestore.FileChannelPool.newFileChannel(FileChannelPool.java:98)
>>      ... 5 more
>>
>>
>> I did not find solutions in this forum. S-o-s. It happened in production
>> system.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

Thanx. The old value was 1024. I've increased it to 65535.
But any way, would you like to explain me briefly why could that happened? 
1) the server runs only for the application server (geronimo). no more
services. server runs without rebooting for a 2-3 weeks with permanent
workload (amount of user connections per day).
2) how the wicket development/deployment mode affects to the amount of
opened files. 

-- 
View this message in context: 
http://www.nabble.com/Error-flushing-page-tp25397097p25491295.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to