Re: Serialized Session Data in Websphere

2017-08-30 Thread Martijn Dashorst
We are aware of this issue: WICKET-6457 (since yesterday). The dev@ list is
discussing releasing patches for 6.x and 7.x.

Martijn


On Wed, Aug 30, 2017 at 4:22 PM, Entropy  wrote:

> Our operations team just discovered huge growth of files in a temp folder
> named [app_name]Wicket-filestore.  We're on Wicket 6 (well, most of our
> apps
> are).  There's clearly some stuff in there that shouldn't be, and our devs
> are going to need to be more frugal with what they throw into the user
> session.
>
> However, there's quite alot of files that are months old.  This seems odd,
> because my understanding is that Wicket deletes these upon session
> invalidation.  And it must be doing that for the most part, or there would
> be ALOT more of these things, I suspect.
>
> But maybe there are circumstances where it's not cleaning up?  Does the
> cleanup fire when the app is stopped?  When Websphere is restarted?  I am
> thinking I am going to instruct our ops team to write a script to
> automatically delete any files in this directory older than a day.
>
> I am wanting to check that folks agree that such an action is appropriate,
> and what circumstances are known that might cause this buildup.  Shutdown
> is
> the only one I can think of (no, the server hasn't been crashing).
>
> --
> Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-
> f1842947.html
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


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


Re: Serialized Session Data in Websphere

2017-08-30 Thread Martin Grigorov
Hi,

These files are deleted when a session is invalidated.
If WebSphere invalidates the sessions during stop then they should be
deleted. It should be easy for you to test this.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Wed, Aug 30, 2017 at 5:22 PM, Entropy  wrote:

> Our operations team just discovered huge growth of files in a temp folder
> named [app_name]Wicket-filestore.  We're on Wicket 6 (well, most of our
> apps
> are).  There's clearly some stuff in there that shouldn't be, and our devs
> are going to need to be more frugal with what they throw into the user
> session.
>
> However, there's quite alot of files that are months old.  This seems odd,
> because my understanding is that Wicket deletes these upon session
> invalidation.  And it must be doing that for the most part, or there would
> be ALOT more of these things, I suspect.
>
> But maybe there are circumstances where it's not cleaning up?  Does the
> cleanup fire when the app is stopped?  When Websphere is restarted?  I am
> thinking I am going to instruct our ops team to write a script to
> automatically delete any files in this directory older than a day.
>
> I am wanting to check that folks agree that such an action is appropriate,
> and what circumstances are known that might cause this buildup.  Shutdown
> is
> the only one I can think of (no, the server hasn't been crashing).
>
> --
> Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-
> f1842947.html
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Serialized Session Data in Websphere

2017-08-30 Thread Entropy
Our operations team just discovered huge growth of files in a temp folder
named [app_name]Wicket-filestore.  We're on Wicket 6 (well, most of our apps
are).  There's clearly some stuff in there that shouldn't be, and our devs
are going to need to be more frugal with what they throw into the user
session.

However, there's quite alot of files that are months old.  This seems odd,
because my understanding is that Wicket deletes these upon session
invalidation.  And it must be doing that for the most part, or there would
be ALOT more of these things, I suspect.  

But maybe there are circumstances where it's not cleaning up?  Does the
cleanup fire when the app is stopped?  When Websphere is restarted?  I am
thinking I am going to instruct our ops team to write a script to
automatically delete any files in this directory older than a day.

I am wanting to check that folks agree that such an action is appropriate,
and what circumstances are known that might cause this buildup.  Shutdown is
the only one I can think of (no, the server hasn't been crashing).

--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

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