Changes between Version 6 and Version 7 of Ticket #31373
- Timestamp:
- Mar 17, 2020, 4:17:29 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31373 – Description
v6 v7 11 11 [[Image(Firefox_Screenshot_2020-03-17T15-05-35.104Z.png)]] 12 12 13 ---- 14 13 15 Facts: 14 16 - setting up CONN_MAX_AGE > 0 does not help … … 20 22 - Looks like Django 3.x cannot reuse connections 21 23 24 ---- 25 26 Runserver (with threads) test results: 27 22 28 `ab -c 10 -n 200 ` Django 3.0.4: 23 29 Complete requests: 200 … … 27 33 Complete requests: 1000 28 34 Failed requests: 37 35 36 ---- 37 38 There may be two separate cases: 39 1. not reusing connection when CONN_MAX_AGE is greater than 0 40 2. leaking (not closing?) connections on uwsgi with enabled threads and CONN_MAX_AGE set to 0