On Wed, 2002-09-25 at 07:16, Max Ischenko wrote: > I have a problem: sometimes my servlet got request which it couldn't > handle in a finite time. This leads to the situation when whole > appserver becomes unavailable and just "hangs", not responding to new > requests.
What kind of processing is going on at this time? It sounds like the long-running code is holding onto the GIL (global interpreter lock), and not letting other threads continue. If this is the case, I think the only solution is to run that in another process. > Is it possible to "stop" the servlet after a given amount of time > passed? Or should I use a timer inside my servlet to stop the > processing? Well, I suspect your servlet isn't being run either, if the rest of the system is also not available. So the servlet couldn't really monitor the processing. > PS: I'm using 0.7 release. > Should I stay with it or upgrade to stable CVS snapshot. I don't think there's any changes related to this in CVS. Ian ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
