Often a segfault or kill -9 causes the temp folders to retain session files.

Martijn

On Fri, Jan 22, 2016 at 9:52 PM, Martin Grigorov <[email protected]> wrote:
> https://issues.apache.org/jira/browse/WICKET-6083
>
> I also see some pretty old files and folders on our servers.
> I'll debug it!
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Fri, Jan 22, 2016 at 10:58 AM, Martin Grigorov <[email protected]>
> wrote:
>
>> Hi,
>>
>> I think the best would be to test it.
>> Login into the application, check your sessionid (e.g. check the browser
>> cookie), then go to /tmp and look for your session folder, it must be
>> something like
>> /tmp/app-filestore/firstFourLettersFromSessionId/secondFourLettersFromSessionId/TheRestLettersFromSessionId/data
>>
>> Then logout explicitly and check whether the folder (and some of its
>> parent folders if there is no other session with the same prefix in its
>> sessionid) is removed. Then do the same but leave the session to expire and
>> then check the file structure.
>>
>> Martin Grigorov
>> Wicket Training and Consulting
>> https://twitter.com/mtgrigorov
>>
>> On Fri, Jan 22, 2016 at 10:22 AM, Manfred Bergmann <
>> [email protected]> wrote:
>>
>>> There are a few empty "file-prefix..." files but the majority of files and
>>> data are in filestore folders. Some with tons of subfolders.
>>> The logout" button in the app calls Session.invalidate().
>>> But I'm not certain many actually click this button.
>>> So I'm assuming that many sessions will just invalidate due to inactivity.
>>>
>>> Could it be a wrong invalidation time setting on my side?
>>>
>>>
>>> Manfred
>>>
>>> --
>>> View this message in context:
>>> http://apache-wicket.1842946.n4.nabble.com/Lots-of-files-in-temp-folder-tp4673379p4673394.html
>>> Sent from the Users forum mailing list archive at Nabble.com.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com

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

Reply via email to