Changes between Version 4 and Version 5 of Ticket #31373


Ignore:
Timestamp:
Mar 17, 2020, 4:03:05 PM (4 years ago)
Author:
Marcin Nowak
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31373 – Description

    v4 v5  
    1313Facts:
    1414- setting up CONN_MAX_AGE > 0 does not help
    15 - starting `runserver` and making many calls with `ab -c 10 -n 100 http://127.0.0.1:8000/` uses all available connections and ends with error 500 (due to no available connections) 
    16 - starting `runserver --nothreading` and making calls with  `ab -c 100 -n 100 http://127.0.0.1:8000/` works fine
     15-  CONN_MAX_AGE = 30, starting `runserver` and making many calls with `ab -c 10 -n 100 http://127.0.0.1:8000/` uses all available connections and ends with error 500 (due to no available connections) 
     16- CONN_MAX_AGE = 30, starting `runserver --nothreading` and making calls with  `ab -c 100 -n 100 http://127.0.0.1:8000/` works fine
     17   
    1718
    18      
     19CONN_MAX_AGE=30 + runserver + ab scenario is reproducible on clean install. View must call database.
     20CONN_MAX_AGE=0 + runserver + ab -> cannot reproduce.
Back to Top