Re: Problem with DiskDataStore

2018-04-19 Thread Claudia Hirt
Seems as if this was caused by WICKET-6471 
 - FileSystemResource 
file descriptor leak.

We did an upgrade to wicket 7.10 and hopefully it will solve it.

Thanks anyway!

Best regards,
Claudia Hirt

Am 18.04.2018 um 18:47 schrieb Francois Meillet:

you can count all open file handles via lsof | wc -l

François




Le 18 avr. 2018 à 17:42, Francois Meillet  a écrit :

Hi Claudia,

you need to update the limits in the linux kernel
have a look at 
https://serverfault.com/questions/20387/too-many-open-files-on-debian?utm_medium=organic_source=google_rich_qa_campaign=google_rich_qa
 


François




Le 18 avr. 2018 à 17:24, Claudia Hirt > a écrit :

Hi all,

I get the following error when there are a lot of sessions on the system:

[4/18/18 11:49:59:291 CEST] 0080 SystemOut O myapp 18/04/2018 
11:49:59,282 ERROR  (DiskDataStore.java:434) 
-/QIBM/UserData/WebSphere/AppServer/V85/Express/profiles/node01/temp/node01/node01/myapp/myapp.war/wicket.wicket-filestore/39/7429/6wE5N0QWVikdMSdO-oSbWCb/data
 (Too many open files)
java.io.FileNotFoundException: 
/QIBM/UserData/WebSphere/AppServer/V85/Express/profiles/node01/temp/node01/node01/myapp/myapp.war/wicket.wicket-filestore/39/7429/6wE5N0QWVikdMSdO-oSbWCb/data
 (Too many open files)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.(RandomAccessFile.java:253)
at 
org.apache.wicket.pageStore.DiskDataStore$SessionEntry.getFileChannel(DiskDataStore.java:428)
at 
org.apache.wicket.pageStore.DiskDataStore$SessionEntry.savePage(DiskDataStore.java:346)
at 
org.apache.wicket.pageStore.DiskDataStore.storeData(DiskDataStore.java:185)
at 
org.apache.wicket.pageStore.AsynchronousDataStore$PageSavingRunnable.run(AsynchronousDataStore.java:355)
at java.lang.Thread.run(Thread.java:798)

This leads to a total breakdown of file system in my case.
I saw this already was an issue here: 
http://apache-wicket.1842946.n4.nabble.com/DiskDataStore-errors-in-production-td4665842.html
 

 but there was no solution.

Are there some settings in PageStore or anything to avoid this problem?

Best regards,
Claudia Hirt


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org 

For additional commands, e-mail: users-h...@wicket.apache.org 








Re: Problem with DiskDataStore

2018-04-18 Thread Francois Meillet
you can count all open file handles via lsof | wc -l

François



> Le 18 avr. 2018 à 17:42, Francois Meillet  a 
> écrit :
> 
> Hi Claudia,
> 
> you need to update the limits in the linux kernel
> have a look at 
> https://serverfault.com/questions/20387/too-many-open-files-on-debian?utm_medium=organic_source=google_rich_qa_campaign=google_rich_qa
>  
> 
> 
> François
> 
> 
> 
>> Le 18 avr. 2018 à 17:24, Claudia Hirt > > a écrit :
>> 
>> Hi all,
>> 
>> I get the following error when there are a lot of sessions on the system:
>> 
>> [4/18/18 11:49:59:291 CEST] 0080 SystemOut O myapp 18/04/2018 
>> 11:49:59,282 ERROR  (DiskDataStore.java:434) 
>> -/QIBM/UserData/WebSphere/AppServer/V85/Express/profiles/node01/temp/node01/node01/myapp/myapp.war/wicket.wicket-filestore/39/7429/6wE5N0QWVikdMSdO-oSbWCb/data
>>  (Too many open files)
>> java.io.FileNotFoundException: 
>> /QIBM/UserData/WebSphere/AppServer/V85/Express/profiles/node01/temp/node01/node01/myapp/myapp.war/wicket.wicket-filestore/39/7429/6wE5N0QWVikdMSdO-oSbWCb/data
>>  (Too many open files)
>>at java.io.RandomAccessFile.open(Native Method)
>>at java.io.RandomAccessFile.(RandomAccessFile.java:253)
>>at 
>> org.apache.wicket.pageStore.DiskDataStore$SessionEntry.getFileChannel(DiskDataStore.java:428)
>>at 
>> org.apache.wicket.pageStore.DiskDataStore$SessionEntry.savePage(DiskDataStore.java:346)
>>at 
>> org.apache.wicket.pageStore.DiskDataStore.storeData(DiskDataStore.java:185)
>>at 
>> org.apache.wicket.pageStore.AsynchronousDataStore$PageSavingRunnable.run(AsynchronousDataStore.java:355)
>>at java.lang.Thread.run(Thread.java:798)
>> 
>> This leads to a total breakdown of file system in my case.
>> I saw this already was an issue here: 
>> http://apache-wicket.1842946.n4.nabble.com/DiskDataStore-errors-in-production-td4665842.html
>>  
>> 
>>  but there was no solution.
>> 
>> Are there some settings in PageStore or anything to avoid this problem?
>> 
>> Best regards,
>> Claudia Hirt
>> 
>> 
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org 
>> 
>> For additional commands, e-mail: users-h...@wicket.apache.org 
>> 
>> 
> 



Re: Problem with DiskDataStore

2018-04-18 Thread Francois Meillet
Hi Claudia,

you need to update the limits in the linux kernel
have a look at 
https://serverfault.com/questions/20387/too-many-open-files-on-debian?utm_medium=organic_source=google_rich_qa_campaign=google_rich_qa
 


François



> Le 18 avr. 2018 à 17:24, Claudia Hirt  a écrit :
> 
> Hi all,
> 
> I get the following error when there are a lot of sessions on the system:
> 
> [4/18/18 11:49:59:291 CEST] 0080 SystemOut O myapp 18/04/2018 
> 11:49:59,282 ERROR  (DiskDataStore.java:434) 
> -/QIBM/UserData/WebSphere/AppServer/V85/Express/profiles/node01/temp/node01/node01/myapp/myapp.war/wicket.wicket-filestore/39/7429/6wE5N0QWVikdMSdO-oSbWCb/data
>  (Too many open files)
> java.io.FileNotFoundException: 
> /QIBM/UserData/WebSphere/AppServer/V85/Express/profiles/node01/temp/node01/node01/myapp/myapp.war/wicket.wicket-filestore/39/7429/6wE5N0QWVikdMSdO-oSbWCb/data
>  (Too many open files)
>at java.io.RandomAccessFile.open(Native Method)
>at java.io.RandomAccessFile.(RandomAccessFile.java:253)
>at 
> org.apache.wicket.pageStore.DiskDataStore$SessionEntry.getFileChannel(DiskDataStore.java:428)
>at 
> org.apache.wicket.pageStore.DiskDataStore$SessionEntry.savePage(DiskDataStore.java:346)
>at 
> org.apache.wicket.pageStore.DiskDataStore.storeData(DiskDataStore.java:185)
>at 
> org.apache.wicket.pageStore.AsynchronousDataStore$PageSavingRunnable.run(AsynchronousDataStore.java:355)
>at java.lang.Thread.run(Thread.java:798)
> 
> This leads to a total breakdown of file system in my case.
> I saw this already was an issue here: 
> http://apache-wicket.1842946.n4.nabble.com/DiskDataStore-errors-in-production-td4665842.html
>  but there was no solution.
> 
> Are there some settings in PageStore or anything to avoid this problem?
> 
> Best regards,
> Claudia Hirt
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 



Problem with DiskDataStore

2018-04-18 Thread Claudia Hirt

Hi all,

I get the following error when there are a lot of sessions on the system:

[4/18/18 11:49:59:291 CEST] 0080 SystemOut O myapp 18/04/2018 
11:49:59,282 ERROR  (DiskDataStore.java:434) 
-/QIBM/UserData/WebSphere/AppServer/V85/Express/profiles/node01/temp/node01/node01/myapp/myapp.war/wicket.wicket-filestore/39/7429/6wE5N0QWVikdMSdO-oSbWCb/data 
(Too many open files)
java.io.FileNotFoundException: 
/QIBM/UserData/WebSphere/AppServer/V85/Express/profiles/node01/temp/node01/node01/myapp/myapp.war/wicket.wicket-filestore/39/7429/6wE5N0QWVikdMSdO-oSbWCb/data 
(Too many open files)

at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.(RandomAccessFile.java:253)
at 
org.apache.wicket.pageStore.DiskDataStore$SessionEntry.getFileChannel(DiskDataStore.java:428)
at 
org.apache.wicket.pageStore.DiskDataStore$SessionEntry.savePage(DiskDataStore.java:346)
at 
org.apache.wicket.pageStore.DiskDataStore.storeData(DiskDataStore.java:185)
at 
org.apache.wicket.pageStore.AsynchronousDataStore$PageSavingRunnable.run(AsynchronousDataStore.java:355)

at java.lang.Thread.run(Thread.java:798)

This leads to a total breakdown of file system in my case.
I saw this already was an issue here: 
http://apache-wicket.1842946.n4.nabble.com/DiskDataStore-errors-in-production-td4665842.html 
but there was no solution.


Are there some settings in PageStore or anything to avoid this problem?

Best regards,
Claudia Hirt


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