Hi,
Thanks for quick reply.
It took me a bit more code reading, but now I see what you're saying.
Models are really oversized, so this is the problem.
Unfortunately, necessary changes to our project would be out of budget, so i'll stay with increasing diskpagestore max size for now.

So, thanks again and..
Stastne a vesele:)
tom kmec.

Dne 18.12.2009 12:29, Matej Knopp napsal(a):
Hi,

problem in your case is that that the diskpagestore overflows. That
normal, it's cyclic, but it shouldn't happen too often. The default
size is 10 megabytes (can be increased), that means it should be able
to accommodate quite a few (well, hundreds) of pages. So even with
multiple tabs the expiration shouldn't happen too often. That is,
unless your serialized pages are particularly big, which would
indicate that you're not using detachable models properly and
serialize lot of stuff.

Btw, seeing your are working for EEA, try contacting Tomas Drencak
(EEA KE), he might be able to help you with this.

-Matej

2009/12/18 Tom Kmec<[email protected]>:
Hello,

we are experiencing occasional page expirations in our Wicket based
application when user is working in several browser tabs.

After some debugging, i got to PageWindowManager class, which manages
positions and size of serialized pages in the pagemap file.

I have identified adjustWindowSize(int index, int size) method as the source
of my problem, namely this part:

// merge as many times as necessary
while (window.filePartSize<  size&&  index<  windows.size() - 1)
{
    mergeWindowWithNext(index);
}

The problem with this is that beyond the resized window there might be a
page window containing data of another page (open in another browser tab).
This code just wipes the data out.

I haven't found any 'quick fix' solution for this.
I might replace DiskPageStore with SimpleSynchronousFilePageStore, but that
"will perform badly in production." as the documentation states and it will
require altering wicket code anyway, so I'd prefer another solution...
any thoughts?

Thanks,
Tom Kmec
eea cz


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


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



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

Reply via email to