You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2007/12/10 17:09:20 UTC

DO NOT REPLY [Bug 44047] New: - Provide a way for Tomcat to serve up error pages when too busy

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44047>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44047

           Summary: Provide a way for Tomcat to serve up error pages when
                    too busy
           Product: Tomcat 6
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: chris@aidworld.org


We have a site which performs fairly heavy processing in Tomcat
(http://www.loband.org). In order to avoid overloading the machine, we restrict
the number of processing threads to 10 or so.

However, when it's busy, Tomcat always waits (apparently forever?) for a new
processor to become free, rather than giving up and returning an error message
to the client.

I'd like to have:

1. a mechanism to return an error page (e.g. Server Too Busy) after a
configurable timeout waiting for a processor thread to become available.

2. a way to plugin code into Tomcat to decide dynamically whether to create a
new processor or not, based on e.g. system load or network load.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org