Details
Description
DiskPageStore does not cleanup cache files after Web container restarts. We have leaked cache files on disk which is a bad thing from the perspective of a high traffic site. This occurs when Tomcat (or I am sure other Web container) is restarted. My theory is the HttpSessionListener bound to the page store file cannot be called because the session reference is lost. It can be argued that a framework generating resources on disk is responsible for the cleanup - with the exception of logs