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

François



> Le 18 avr. 2018 à 17:42, Francois Meillet <francois.meil...@gmail.com> 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&utm_source=google_rich_qa&utm_campaign=google_rich_qa
>  
> <https://serverfault.com/questions/20387/too-many-open-files-on-debian?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa>
> 
> François
> 
> 
> 
>> Le 18 avr. 2018 à 17:24, Claudia Hirt <hirt-clau...@gmx.de 
>> <mailto:hirt-clau...@gmx.de>> 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] 00000080 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.<init>(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
>>  
>> <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 
>> <mailto:users-unsubscr...@wicket.apache.org>
>> For additional commands, e-mail: users-h...@wicket.apache.org 
>> <mailto:users-h...@wicket.apache.org>
>> 
> 

Reply via email to