StarlingX Installation/Update/Patching/Backup/Restore
Go to file
Don Penney 0ea37b36a1 Trigger garbage collection to free WSGI resources
The wsgiref.simple_server is used by patching for handling
API requests. When uploading files, the server opens a file
handle for the temporary resource, but does not close it.
Instead, it's left to periodic garbage collection to free the
resources. Until garbage collection, however, this means
disk space is still in use for the deleted temporary file,
as the handle is left open.

This update adds a call to gc.collect() after the call
to simple_server.handle_request() to immediately free all
unused resources.

Change-Id: Ie39213dad540448cede46cc8e580d31582419dcc
Closes-Bug: 1797977
Signed-off-by: Don Penney <don.penney@windriver.com>
2019-03-11 11:05:33 -04:00
api-ref/source stx-update: API Ref Doc Content 2019-02-19 03:57:55 -06:00
cgcs-patch Trigger garbage collection to free WSGI resources 2019-03-11 11:05:33 -04:00
devstack DevStack plugin updates for bionic job 2019-02-20 14:34:17 -06:00
doc Clean up and standardize landing pages 2019-02-27 14:22:45 +00:00
enable-dev-patch Relocate enable-dev-patch to stx-update/enable-dev-patch 2018-08-01 12:46:56 -04:00
extras/scripts patch_build.sh fails with path errors 2018-08-16 17:54:05 -04:00
patch-alarm Add hooks for python wheel generation 2018-10-24 17:13:19 +00:00
patch-boot-args StarlingX open source release updates 2018-05-31 07:37:12 -07:00
patch-scripts Mtce: Add new Link Monitor daemon to Mtce example patch rpm 2019-01-28 12:29:16 -05:00
releasenotes Merge "Clean up and standardize landing pages" 2019-02-27 14:47:58 +00:00
requests-toolbelt Add hooks for python wheel generation 2018-10-24 17:13:19 +00:00
smart-helper StarlingX open source release updates 2018-05-31 07:37:12 -07:00
tsconfig Adding unit tests to tsconfig and clean it up a bit 2019-03-04 19:16:05 +00:00
.gitignore Adding unit tests to tsconfig and clean it up a bit 2019-03-04 19:16:05 +00:00
.gitreview Add .gitreview 2018-05-31 07:37:12 -07:00
.zuul.yaml Adding unit tests to tsconfig and clean it up a bit 2019-03-04 19:16:05 +00:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:37:12 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:37:12 -07:00
README.rst StarlingX open source release updates 2018-05-31 07:37:12 -07:00
centos_iso_image.inc Split image.inc across git repos 2018-08-15 16:46:48 -04:00
centos_pike_wheels.inc Rename centos_wheels.inc to centos_pike_wheels.inc 2018-11-14 15:08:24 -06:00
centos_pkg_dirs Relocate enable-dev-patch to stx-update/enable-dev-patch 2018-08-01 12:46:56 -04:00
pylint.rc Add pylint support 2018-08-24 09:19:44 -05:00
requirements.txt Add Zuul test foundation 2018-07-25 08:48:07 -05:00
test-requirements.txt Add additional checks to flake8 job 2019-02-04 09:00:45 -06:00
tox.ini Adding unit tests to tsconfig and clean it up a bit 2019-03-04 19:16:05 +00:00

README.rst

stx-update

StarlingX Software Management