Hi all,

I'm trying to modify some wt parameters in order to better
tailor the application behaviour to my needs.

One of these modifications concerned the number of threads
deployed within Wt pool (10 by default) at application start.

Here some issues arise. In my application there are several
reasons for having a modal dialog windows on top, providing
the user with some feedbacks about the ongoing process.
I've just noticed that if a user closes the Wt application
browser tab (I use google chrome) the session is not released
until it expires due to timeout. This implies that, in
case the user repeats this many times, the thread pool is
exhausted and the wt system does not serve any more
user requests. Everything works fine with no modal dialogs
shown on screen: as soon as the user closes the tab, the
wt server detects this event and properly deallocates the
session without waiting for the timeout to expire.

Even worse, in firefox, closing a tab even in non-modal con-
ditions does not _always_ leads to a session closure.
I don't know when and why this happens, but from a certain
moment on, four different users issuing firefox requests (v. 5
and v. 6.0.2) did not happen to imply a session deallocation,
while a chrome request did.

1) Is this "session closing in modal condition not corresponding
    to an immediate session deallocation" an expected behaviour?
2) Is the firefox abnormal behaviour known and expected?
3) Also, would it be possible to detect thread pool exhaustion at
    code-level, avoiding the user being stuck waiting for a timeout
    to happen?

Thanks in advance,
Antonio

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to