[ 
https://issues.apache.org/jira/browse/WICKET-7108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17842618#comment-17842618
 ] 

Martin Tzvetanov Grigorov commented on WICKET-7108:
---------------------------------------------------

IMO you need to consult with the Tomcat documentation and forums.
Tomcat has settings how to treat users' sessions during restart - to preserve 
or to invalidate. 
As I said earlier - if Tomcat does not send a notification about session 
invalidation then Wicket cannot know that the store should be cleaned up.
Please ask in Tomcat's mailing list why your instance does not send these 
notifications.

> Wicket file storage bloating
> ----------------------------
>
>                 Key: WICKET-7108
>                 URL: https://issues.apache.org/jira/browse/WICKET-7108
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>    Affects Versions: 10.0.0
>            Reporter: Viliam Repan
>            Priority: Minor
>
> DiskPageStore doesn't cleanup old/invalid session data. AFAIK there are two 
> scenarios when it forgets about content in wicket file store folder:
>  * normal restart of tomcat, index was saved, however all sessions that were 
> invalidated by restart - files for them will never be cleaned up.
>  * tomcat went down, index file was not saved - whole wicket file store now 
> contains files that will never be cleaned up.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to