You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Shawn Evans <sh...@hotmail.com> on 2001/08/17 21:07:43 UTC

mod_webapp performace issues... NT4, Apache 1.3.20, Tomcat 4.0.7, JDK 1.3.1

Since I finally got the mod_webapp working, I have been banging on the
machine.  Tomcat is solid when I access it from port 8080, and Apache
screams like it should... but
when I access Tomcat thru mod_webapp (examples) I get random errors and even
hello world doesn't work... sometimes

Apache
access.log
216.174.11.51 - - [17/Aug/2001:14:59:22 -0400] "GET
/examples/servlets/index.html HTTP/1.1" 304 0
216.174.11.51 - - [17/Aug/2001:14:59:22 -0400] "GET
/examples/images/execute.gif HTTP/1.1" 304 0
-->216.174.11.51 - - [17/Aug/2001:14:59:22 -0400] "GET
/examples/images/return.gif HTTP/1.1" 500 305
-->216.174.11.51 - - [17/Aug/2001:15:01:20 -0400] "GET
/examples/servlet/HelloWorldExample HTTP/1.1" 500 305
-->216.174.11.51 - - [17/Aug/2001:15:01:21 -0400] "GET
/examples/images/return.gif HTTP/1.1" 500 316
-->216.174.11.51 - - [17/Aug/2001:15:01:21 -0400] "GET
/examples/images/code.gif HTTP/1.1" 500 325
-->216.174.11.51 - - [17/Aug/2001:15:01:21 -0400] "GET
/examples/images/code.gif HTTP/1.1" 500 0

error.log
-->[Fri Aug 17 14:59:22 2001] [error] (null)
-->[Fri Aug 17 15:01:20 2001] [error] (null)
-->[Fri Aug 17 15:01:21 2001] [error] Invalid packet 16
-->[Fri Aug 17 15:01:21 2001] [error] Communitcation interrupted
-->[Fri Aug 17 15:01:21 2001] [error] Communitcation interrupted

Tomcat
apache_log.2001-08-17.txt
2001-08-17 14:59:22 WarpEngine[Apache]: Mapping request
2001-08-17 14:59:22 WarpHost[216.174.11.51]: Mapping request for Host
2001-08-17 14:59:22 WarpEngine[Apache]: Mapping request
2001-08-17 14:59:22 WarpHost[216.174.11.51]: Mapping request for Host
2001-08-17 14:59:22 WarpEngine[Apache]: Mapping request
2001-08-17 14:59:22 WarpHost[216.174.11.51]: Mapping request for Host
2001-08-17 14:59:22 WarpEngine[Apache]: Mapping request
2001-08-17 14:59:22 WarpHost[216.174.11.51]: Mapping request for Host
2001-08-17 14:59:22 WarpEngine[Apache]: Mapping request
2001-08-17 14:59:22 WarpHost[216.174.11.51]: Mapping request for Host
2001-08-17 15:01:20 WarpEngine[Apache]: Mapping request
2001-08-17 15:01:20 WarpHost[216.174.11.51]: Mapping request for Host
2001-08-17 15:01:20 org.apache.catalina.INVOKER.HelloWorldExample: init
2001-08-17 15:01:20 InvokerFilter(ApplicationFilterConfig[name=Servlet
Mapped Filter, filterClass=filters.ExampleFilter]): 47 milliseconds
2001-08-17 15:01:20 InvokerFilter(ApplicationFilterConfig[name=Path Mapped
Filter, filterClass=filters.ExampleFilter]): 47 milliseconds
2001-08-17 15:01:21 WarpEngine[Apache]: Mapping request
2001-08-17 15:01:21 WarpHost[216.174.11.51]: Mapping request for Host
2001-08-17 15:01:21 [org.apache.catalina.connector.warp.WarpConnection]
Exception on socket
java.net.SocketException: Connection aborted by peer: socket write error
 at java.net.SocketOutputStream.socketWrite(Native Method)
 at java.net.SocketOutputStream.write(SocketOutputStream.java:62)
 at
org.apache.catalina.connector.warp.WarpConnection.send(WarpConnection.java:2
18)
 at
org.apache.catalina.connector.warp.WarpResponse$Stream.close(WarpResponse.ja
va:301)
 at
org.apache.catalina.connector.warp.WarpResponse$Stream.finish(WarpResponse.j
ava:311)
 at
org.apache.catalina.connector.warp.WarpResponse.finishResponse(WarpResponse.
java:152)
 at
org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHand
ler.java:213)
 at
org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:19
4)
 at java.lang.Thread.run(Thread.java:484)

Thanks,

Shawn

Re: mod_webapp performace issues... NT4, Apache 1.3.20, Tomcat 4.0.7, JDK 1.3.1

Posted by "Pier P. Fumagalli" <pi...@betaversion.org>.
Hmm... This is a good one... The support for Win32 was added only for B7,
so, I bet there are some problems, still. Can you file a bug at
http://nagoya.apache.org/bugzilla (so we can track it?)...

How does it handle when you don't "BANG" the server? But use it normally?

    Pier

Shawn Evans at shawnwe@hotmail.com wrote:
> 
> Since I finally got the mod_webapp working, I have been banging on the
> machine.  Tomcat is solid when I access it from port 8080, and Apache
> screams like it should... but
> when I access Tomcat thru mod_webapp (examples) I get random errors and even
> hello world doesn't work... sometimes
> 
> Apache
> access.log
> 216.174.11.51 - - [17/Aug/2001:14:59:22 -0400] "GET
> /examples/servlets/index.html HTTP/1.1" 304 0
> 216.174.11.51 - - [17/Aug/2001:14:59:22 -0400] "GET
> /examples/images/execute.gif HTTP/1.1" 304 0
> -->216.174.11.51 - - [17/Aug/2001:14:59:22 -0400] "GET
> /examples/images/return.gif HTTP/1.1" 500 305
> -->216.174.11.51 - - [17/Aug/2001:15:01:20 -0400] "GET
> /examples/servlet/HelloWorldExample HTTP/1.1" 500 305
> -->216.174.11.51 - - [17/Aug/2001:15:01:21 -0400] "GET
> /examples/images/return.gif HTTP/1.1" 500 316
> -->216.174.11.51 - - [17/Aug/2001:15:01:21 -0400] "GET
> /examples/images/code.gif HTTP/1.1" 500 325
> -->216.174.11.51 - - [17/Aug/2001:15:01:21 -0400] "GET
> /examples/images/code.gif HTTP/1.1" 500 0
> 
> error.log
> -->[Fri Aug 17 14:59:22 2001] [error] (null)
> -->[Fri Aug 17 15:01:20 2001] [error] (null)
> -->[Fri Aug 17 15:01:21 2001] [error] Invalid packet 16
> -->[Fri Aug 17 15:01:21 2001] [error] Communitcation interrupted
> -->[Fri Aug 17 15:01:21 2001] [error] Communitcation interrupted
> 
> Tomcat
> apache_log.2001-08-17.txt
> 2001-08-17 14:59:22 WarpEngine[Apache]: Mapping request
> 2001-08-17 14:59:22 WarpHost[216.174.11.51]: Mapping request for Host
> 2001-08-17 14:59:22 WarpEngine[Apache]: Mapping request
> 2001-08-17 14:59:22 WarpHost[216.174.11.51]: Mapping request for Host
> 2001-08-17 14:59:22 WarpEngine[Apache]: Mapping request
> 2001-08-17 14:59:22 WarpHost[216.174.11.51]: Mapping request for Host
> 2001-08-17 14:59:22 WarpEngine[Apache]: Mapping request
> 2001-08-17 14:59:22 WarpHost[216.174.11.51]: Mapping request for Host
> 2001-08-17 14:59:22 WarpEngine[Apache]: Mapping request
> 2001-08-17 14:59:22 WarpHost[216.174.11.51]: Mapping request for Host
> 2001-08-17 15:01:20 WarpEngine[Apache]: Mapping request
> 2001-08-17 15:01:20 WarpHost[216.174.11.51]: Mapping request for Host
> 2001-08-17 15:01:20 org.apache.catalina.INVOKER.HelloWorldExample: init
> 2001-08-17 15:01:20 InvokerFilter(ApplicationFilterConfig[name=Servlet
> Mapped Filter, filterClass=filters.ExampleFilter]): 47 milliseconds
> 2001-08-17 15:01:20 InvokerFilter(ApplicationFilterConfig[name=Path Mapped
> Filter, filterClass=filters.ExampleFilter]): 47 milliseconds
> 2001-08-17 15:01:21 WarpEngine[Apache]: Mapping request
> 2001-08-17 15:01:21 WarpHost[216.174.11.51]: Mapping request for Host
> 2001-08-17 15:01:21 [org.apache.catalina.connector.warp.WarpConnection]
> Exception on socket
> java.net.SocketException: Connection aborted by peer: socket write error
> at java.net.SocketOutputStream.socketWrite(Native Method)
> at java.net.SocketOutputStream.write(SocketOutputStream.java:62)
> at
> org.apache.catalina.connector.warp.WarpConnection.send(WarpConnection.java:2
> 18)
> at
> org.apache.catalina.connector.warp.WarpResponse$Stream.close(WarpResponse.ja
> va:301)
> at
> org.apache.catalina.connector.warp.WarpResponse$Stream.finish(WarpResponse.j
> ava:311)
> at
> org.apache.catalina.connector.warp.WarpResponse.finishResponse(WarpResponse.
> java:152)
> at
> org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHand
> ler.java:213)
> at
> org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:19
> 4)
> at java.lang.Thread.run(Thread.java:484)
> 
> Thanks,
> 
> Shawn