Changes between Version 6 and Version 7 of Ticket #31373


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31373 – Description

    v6 v7  
    1111[[Image(Firefox_Screenshot_2020-03-17T15-05-35.104Z.png)]]
    1212
     13----
     14
    1315Facts:
    1416- setting up CONN_MAX_AGE > 0 does not help
     
    2022- Looks like Django 3.x cannot reuse connections
    2123
     24----
     25
     26Runserver (with threads) test results:
     27
    2228`ab -c 10 -n 200 ` Django 3.0.4:
    2329Complete requests:      200
     
    2733Complete requests:      1000
    2834Failed requests:        37
     35
     36----
     37
     38There may be two separate cases:
     391. not reusing connection when CONN_MAX_AGE is greater than 0
     402. leaking (not closing?) connections on uwsgi with enabled threads and CONN_MAX_AGE set to 0
Back to Top