Re: How To Change Page Store Size in DiskPageStore?

2007-11-14 Thread Johan Compagner
-- View this message in context: http://www.nabble.com/How-To-Change-Page-Store-Size-in-DiskPageStore--tf4768072.html#a13735298 Sent from the Wicket - User mailing list archive at Nabble.com http://nabble.com/http://nabble.com

Re: How To Change Page Store Size in DiskPageStore?

2007-11-14 Thread Johan Compagner
] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/How-To-Change-Page-Store-Size-in-DiskPageStore--tf4768072.html#a13736689 Sent from the Wicket - User mailing list archive at Nabble.comhttp://nabble.com

Re: How To Change Page Store Size in DiskPageStore?

2007-11-14 Thread Chris Lintz
: http://www.nabble.com/How-To-Change-Page-Store-Size-in-DiskPageStore--tf4768072.html#a13735298 Sent from the Wicket - User mailing list archive at Nabble.com http://nabble.com/http://nabble.com/ . - To unsubscribe

Re: How To Change Page Store Size in DiskPageStore?

2007-11-14 Thread Johan Compagner
-- View this message in context: http://www.nabble.com/How-To-Change-Page-Store-Size-in-DiskPageStore--tf4768072.html#a13735298 Sent from the Wicket - User mailing list archive at Nabble.com http://nabble.com/http://nabble.com

Re: How To Change Page Store Size in DiskPageStore?

2007-11-14 Thread Chris Lintz
active. The only thing i can think of is having some check that only deletes things that are not touched for X hours or days. johan -- View this message in context: http://www.nabble.com/How-To-Change-Page-Store-Size-in-DiskPageStore

Re: How To Change Page Store Size in DiskPageStore?

2007-11-14 Thread Brandon Harper
this message in context: http://www.nabble.com/How-To-Change-Page-Store-Size-in-DiskPageStore--tf4768072.html#a13735298 Sent from the Wicket - User mailing list archive at Nabble.com http://nabble.com/http://nabble.com

Re: How To Change Page Store Size in DiskPageStore?

2007-11-14 Thread Johan Compagner
that are not touched for X hours or days. johan -- View this message in context: http://www.nabble.com/How-To-Change-Page-Store-Size-in-DiskPageStore--tf4768072.html#a13735298 Sent from the Wicket - User mailing list archive at Nabble.com http

Re: How To Change Page Store Size in DiskPageStore?

2007-11-14 Thread Chris Lintz
that are not touched for X hours or days. johan -- View this message in context: http://www.nabble.com/How-To-Change-Page-Store-Size-in-DiskPageStore--tf4768072.html#a13735298 Sent from the Wicket - User mailing list archive

Re: How To Change Page Store Size in DiskPageStore?

2007-11-14 Thread Johan Compagner
that are not touched for X hours or days. johan -- View this message in context: http://www.nabble.com/How-To-Change-Page-Store-Size-in-DiskPageStore--tf4768072.html#a13735298 Sent from the Wicket - User mailing list archive

Re: How To Change Page Store Size in DiskPageStore?

2007-11-14 Thread Johan Compagner
-- View this message in context: http://www.nabble.com/How-To-Change-Page-Store-Size-in-DiskPageStore--tf4768072.html#a13735298 Sent from the Wicket - User mailing list archive at Nabble.com http://nabble.com/ http

Re: How To Change Page Store Size in DiskPageStore?

2007-11-13 Thread Johan Compagner
://www.nabble.com/How-To-Change-Page-Store-Size-in-DiskPageStore--tf4768072.html#a13735298 Sent from the Wicket - User mailing list archive at Nabble.comhttp://nabble.com/ . - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Johan Compagner
But 50 is nothing (at least i think it is nothing) and linux should be able to handle that just fine Can somebody peak how many handles we take on those session files? Maybe we leak somewhere or do take more then we think. johan On Nov 8, 2007 2:04 AM, Matej Knopp [EMAIL PROTECTED] wrote:

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Chris Lintz
] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/How-To-Change-Page-Store-Size-in-DiskPageStore--tf4768072.html#a13651858 Sent from the Wicket - User mailing list archive at Nabble.com

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Matej Knopp
On Nov 8, 2007 6:43 PM, Eelco Hillenius [EMAIL PROTECTED] wrote: Guys I am on the same project so I can speak a bit more. The real issue is that on Redhat the default max directories is something like 32K. We ran out of file descriptors. Basically for every unique session there is a

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Eelco Hillenius
Guys I am on the same project so I can speak a bit more. The real issue is that on Redhat the default max directories is something like 32K. We ran out of file descriptors. Basically for every unique session there is a directory created for the second level cache. But the file handles are

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Matej Knopp
] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/How-To-Change-Page-Store-Size-in-DiskPageStore--tf4768072.html#a13651858 Sent from the Wicket - User mailing list archive at Nabble.com

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Eelco Hillenius
On Nov 8, 2007 3:31 PM, Chris Lintz [EMAIL PROTECTED] wrote: We get dangling cache files. I have the sessions set to expire in 1 hour. I check one of my servers and i see cache files from over a week old. This could of only have occurred because of the multiple restarts. Maybe its a bad

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Martijn Dashorst
No, as sometimes you actually want to resume those sessions. I guess this is more shell type of thing rather than somethign Wicket can take care off. At least, as long as there is no bug in cleaning the stuff up when sessions expire. Martijn On 11/9/07, Eelco Hillenius [EMAIL PROTECTED]

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Chris Lintz
this message in context: http://www.nabble.com/How-To-Change-Page-Store-Size-in-DiskPageStore--tf4768072.html#a13657063 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Matej Knopp
or not. I guess a seperate cron job can clean up the files in that dir if they are really old? johan -- View this message in context: http://www.nabble.com/How-To-Change-Page-Store-Size-in-DiskPageStore--tf4768072.html#a13658369 Sent from the Wicket - User mailing list archive

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Eelco Hillenius
No we can't do that, If you as you should terminate your web container gracefully then the web container will save all the sessions to disk. Then if you restart it again all the sessions are loaded again. And yes the application works just as it was never restarted. But if we throw away all

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Chris Lintz
-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/How-To-Change-Page-Store-Size-in-DiskPageStore--tf4768072.html#a13651858 Sent from the Wicket - User mailing list archive at Nabble.com

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Eelco Hillenius
Ok here is a bit more clarity after digging further. Timed out sessions do trigger a removal of the of the PageStore file. However if Tomcat is restarted there is no cleanup of the PageStore files on disk. In other words the Page Store will leak those cache files and never clean them up.

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Johan Compagner
1) Shall we file a Jira for a enhancement to the DiskPageStore which would be a cleanup of any dangling cache files not part of the current DiskPageStore instance? and which are dangling?? How do you know that? If i stop tomcat (even in development mode) and i restart again nothing is

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Eelco Hillenius
On Nov 8, 2007 3:09 PM, Johan Compagner [EMAIL PROTECTED] wrote: 1) Shall we file a Jira for a enhancement to the DiskPageStore which would be a cleanup of any dangling cache files not part of the current DiskPageStore instance? and which are dangling?? How do you know that? If i

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Johan Compagner
And from top of my head there is no api to get all the current session id's from an instance when the instance does start up.. But we could ditch ALL the directories it can find in the temp directory the page store uses when starting up, right? No we can't do that, If you as you

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Matej Knopp
We could read the session timeout from web.xml and delete what is older. But should we really do that? When session timeouts, the data is deleted anyway. These dangling files seem to be a caused by something else. -Matej Not a high priority thing for me tbh, but I think it can be done.

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Eelco Hillenius
On Nov 8, 2007 3:29 PM, Matej Knopp [EMAIL PROTECTED] wrote: We could read the session timeout from web.xml and delete what is older. But should we really do that? When session timeouts, the data is deleted anyway. These dangling files seem to be a caused by something else. If the sessions

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Johan Compagner
except if you hard kill the servlet container or if the container crashes.. Then with a restart everything is completely new and all the old onces will stick for ever.. johan On Nov 9, 2007 12:32 AM, Eelco Hillenius [EMAIL PROTECTED] wrote: On Nov 8, 2007 3:29 PM, Matej Knopp [EMAIL

How To Change Page Store Size in DiskPageStore?

2007-11-07 Thread Brandon Harper
Hello All, Long story short, we're in the process of load testing an application built against Wicket 1.3 snapshot. Unfortunately we've seen some server issues with sessions/page maps in the file store during testing, and I was wondering how I'd go about programatically changing the default page

Re: How To Change Page Store Size in DiskPageStore?

2007-11-07 Thread Matej Knopp
There is a constructor parameter in DiskPageStore constructor (the last int parameter) that says how many handles DiskPageStore will keep opened. But the default number of file handles is 50. If this is causing your server file handle problems than you should consider changing the configuration.