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 2001/10/10 22:12:32 UTC

DO NOT REPLY [Bug 4083] New: - extremely poor performance when serving html-requests using cocoon2 with tomcat 4.x

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4083

extremely poor performance when serving html-requests using cocoon2 with tomcat 4.x

           Summary: extremely poor performance when serving html-requests
                    using cocoon2 with tomcat 4.x
           Product: Tomcat 4
           Version: 4.0 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: momo@novitatis.de


sorry for my bad english !!
please contact me if anything is not understandable or if you need more information or the code i use

the problem seems to occur with every version of tomcat 4.x (tried everything since beta 7), i didn't test with any 3.x or older...

i set up tomcat with cocoon2 (tried about every release of cocoon2, the problem remains the same)

i'm generating websites using cocoon's xsp, then transforming and formatting the xml output via xsl into html pages. i use tomcat directly as http-server, not apache nor something else

the problem: 
my server has a permanent internet connection with 128kBit bandwith but i'm just able to get about 1,5-2 kByte transfer speed with any client, no matter how much client bandwith i throw at the server. if i do a request with a browser directly from the server like http://localhost:8080/cocoon/foo i get transfer speeds of 45 to 75 kBytes per second (seems a bit low since i'm talking about an athlon 1,5GHz system). cpu utilization stays nearly 0% all the time !! - i think that clearly indicates that something's wrong. as far as i've testet the cocoon examples and documentation provided with the cocoon2 release are suffering from the same problem.
today i tried jetty together with my cocoon2 installation (without any change) and now i'm getting up to 16kByte per sec from the server and a few hundred kBytes locally - seems right to me since cpu utilization is 100% all the time.

if i did something really stupid please accept my apologies and forget about everything i wrote.