Fix web-server memory overrun when downloading objects from Swift
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Undecided
|
Unassigned | ||
openstack-manuals |
Invalid
|
Undecided
|
Unassigned |
Bug Description
https:/
commit 46405d456d9b056
Author: Timur Sufiev <email address hidden>
Date: Wed Mar 4 16:15:04 2015 +0300
Fix web-server memory overrun when downloading objects from Swift
To prevent memory overrun when downloading large objects from Swift
* `resp_chunk_size` keyword should be passed to swiftclient
* `obj.data` iterator returned from swiftclient is passed to HttpResponse
(or StreamingHttpRe
classes work with iterators/
does it better).
The commit introduces new setting SWIFT_FILE_
defines the size of chunk in bytes for Swift objects downloading.
DocImpact
Change-Id: I18e5809b86bfa2
Closes-Bug: #1427819
Changed in openstack-manuals: | |
assignee: | nobody → JuliusChen (julius-j-g) |
Changed in openstack-manuals: | |
assignee: | JuliusChen (julius-j-g) → nobody |
Changed in horizon: | |
milestone: | none → queens-1 |
This should be added to dev docs.