I've got a web2py app that has started to behave oddly - suddenly static 
files aren't loading reliably.  In Chrome's developer tools it appears that 
rocket is returning a correct content-length but then not actually providing 
any content. I'm running web2py v1.97.1 from source on Windows.  Any ideas 
what might be going on?

Response Headers

HTTP/1.1 200 OK
Content-Length: 209572
X-Powered-By: web2py
Last-Modified: Wed, 20 Jul 2011 14:33:24 GMT
Pragma: cache
Cache-Control: private
Content-Type: application/javascript
Date: Mon, 08 Aug 2011 19:23:36 GMT
Server: Rocket 1.2.2 Python/2.6.4
Connection: keep-alive




Below are the results of an ab run:

This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking 10.0.0.227 (be patient).....done


Server Software:        Rocket
Server Hostname:        10.0.0.227
Server Port:            8000

Document Path:         
 /volunteer_checkin/static/js/DataTables-1.7.6/media/js/jquery.dataTables.js
Document Length:        78483 bytes

Concurrency Level:      5
Time taken for tests:   77.109 seconds
Complete requests:      100
Failed requests:        77
   (Connect: 0, Receive: 0, Length: 77, Exceptions: 0)
Write errors:           0
Total transferred:      11373769 bytes
HTML transferred:       11345869 bytes
Requests per second:    1.30 [#/sec] (mean)
Time per request:       3855.469 [ms] (mean)
Time per request:       771.094 [ms] (mean, across all concurrent requests)
Transfer rate:          144.04 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0   24  16.7     16     156
Processing:  2078 3728 1153.8   3469    7063
Waiting:       16   30  24.4     31     234
Total:       2078 3752 1153.5   3500    7094

Percentage of the requests served within a certain time (ms)
  50%   3500
  66%   4109
  75%   4563
  80%   4734
  90%   5391
  95%   6359
  98%   6609
  99%   7094
 100%   7094 (longest request)


Reply via email to