tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Rodríguez Fernández <d-rodrig...@chronoexpres.com>
Subject KeepAlive slow
Date Thu, 24 May 2007 09:32:09 GMT
Hi list.
    I have a tomcat 5.0.19 server (java 1.4.2_08) who slow the connection
when i use the keepAlive method. This is normal?

## KeepAlive test (no keepAlive below):

$ /usr/sbin/ab2 -n 2100 -c 21 -k
"http://192.168.252.150:8080/App/AppServlet?c=480&f=c&l=27000058309187601480
014&u=0"
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.121.2.8 $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation,
http://www.apache.org/

Benchmarking 192.168.252.150 (be patient)
Completed 210 requests
Completed 420 requests
Completed 630 requests
Completed 840 requests
Completed 1050 requests
Completed 1260 requests
Completed 1470 requests
Completed 1680 requests
Completed 1890 requests
Finished 2100 requests


Server Software:        Apache-Coyote/1.1
Server Hostname:        192.168.252.150
Server Port:            8080

Document Path:
/App/AppServlet?c=480&f=c&l=27000058309187601480014&u=0
Document Length:        31 bytes

Concurrency Level:      21
Time taken for tests:   3.131663 seconds
Complete requests:      2100
Failed requests:        0
Write errors:           0
Keep-Alive requests:    2090
Total transferred:      331750 bytes
HTML transferred:       65100 bytes
Requests per second:    670.57 [#/sec] (mean)
Time per request:       31.317 [ms] (mean)
Time per request:       1.491 [ms] (mean, across all concurrent requests)
Transfer rate:          103.14 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.1      0       1
Processing:    12 1611 844.6   1663    3130
Waiting:        8   30  32.8     20     414
Total:         12 1611 844.6   1663    3130

Percentage of the requests served within a certain time (ms)
  50%   1663
  66%   2056
  75%   2377
  80%   2495
  90%   2715
  95%   2842
  98%   3033
  99%   3091
 100%   3130 (longest request)


# No KeepAlive test

$ /usr/sbin/ab2 -n 2100 -c 21
"http://192.168.252.150:8080/App/AppServlet?c=480&f=c&l=27000058309187601480
014&u=0"
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.121.2.8 $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation,
http://www.apache.org/

Benchmarking 192.168.252.150 (be patient)
Completed 210 requests
Completed 420 requests
Completed 630 requests
Completed 840 requests
Completed 1050 requests
Completed 1260 requests
Completed 1470 requests
Completed 1680 requests
Completed 1890 requests
Finished 2100 requests


Server Software:        Apache-Coyote/1.1
Server Hostname:        192.168.252.150
Server Port:            8080

Document Path:
/App/AppServlet?c=480&f=c&l=27000058309187601480014&u=0
Document Length:        31 bytes

Concurrency Level:      21
Time taken for tests:   3.249691 seconds
Complete requests:      2100
Failed requests:        0
Write errors:           0
Total transferred:      321300 bytes
HTML transferred:       65100 bytes
Requests per second:    646.22 [#/sec] (mean)
Time per request:       32.497 [ms] (mean)
Time per request:       1.547 [ms] (mean, across all concurrent requests)
Transfer rate:          96.32 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.1      0       1
Processing:     7   31  34.4     20     517
Waiting:        7   31  34.4     20     516
Total:          7   31  34.4     20     517

Percentage of the requests served within a certain time (ms)
  50%     20
  66%     27
  75%     33
  80%     39
  90%     61
  95%    103
  98%    136
  99%    167
 100%    517 (longest request)




----------------------------------------------------------------------

La Información incluida en el presente correo electrónico es SECRETO
PROFESIONAL Y CONFIDENCIAL, siendo para el uso exclusivo del
destinatario arriba mencionado. Si usted lee este mensaje y no es el
destinatario señalado, el empleado o el agente responsable de entregar
el mensaje al destinatario, o ha recibido esta comunicación por error,
le informamos que esta totalmente prohibida cualquier divulgación,
distribución o reproducción de esta comunicación, y le rogamos que nos
lo notifique inmediatamente y nos devuelva el mensaje original a la
dirección arriba mencionada.

Gracias.

The information contained in this e-mail is LEGALLY PRIVILEDGED AND
CONFIDENTIAL and is intended only for the use of the addressee named
above. If the reader of this message is not the intended recipient or
the employee or agent responsible for delivering the message to the
intended recipient, or you have received this communication in error,
please be aware that any dissemination, distribution or duplication of
this communication is strictly prohibited, and please notify us
immediately and return the original message to us at the address above.

Thank you.



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message