SSLContext.load_verify_locations leaks memory on Linux
Đang mở
Chưa có ai nhận issue này.
stdlib
topic-SSL
type-bug
- Ngôn ngữ chính
- Python
- Star
- 77.2k
- Fork
- 36k
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
| BPO | 40727 |
|---|---|
| Nosy | @tiran, @asvetlov, @1st1, @Recursing |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = None
closed_at = None
created_at = <Date 2020-05-22.09:29:10.619>
labels = ['expert-SSL', '3.8', '3.9', 'performance', '3.7', 'library', 'expert-asyncio']
title = 'SSLContext.load_verify_locations leaks memory on Linux in async code'
updated_at = <Date 2020-05-22.10:32:24.242>
user = 'https://github.com/Recursing'
bugs.python.org fields:
activity = <Date 2020-05-22.10:32:24.242>
actor = 'Recursing'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)', 'asyncio', 'SSL']
creation = <Date 2020-05-22.09:29:10.619>
creator = 'Recursing'
dependencies = []
files = []
hgrepos = []
issue_num = 40727
keywords = []
message_count = 6.0
messages = ['369573', '369578', '369582', '369583', '369584', '369586']
nosy_count = 4.0
nosy_names = ['christian.heimes', 'asvetlov', 'yselivanov', 'Recursing']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'resource usage'
url = 'https://bugs.python.org/issue40727'
versions = ['Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.9']
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với entry point SSLContext.load_verify_locations và các thành phần Library (Lib), asyncio và SSL được mô tả trong issue. Tái hiện hiện tượng rò rỉ bộ nhớ trên Linux trong mã bất đồng bộ, sau đó xác minh rằng việc tải lặp lại các vị trí chứng chỉ không còn làm tăng mức sử dụng bộ nhớ.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- linux, python
- Lĩnh vực
- performance, security
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 30/100