Satori should provide a way to override Popen
Bug #1412485 reported by
Ryan Walker
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
satori |
Fix Committed
|
Undecided
|
Ryan Walker |
Bug Description
Currently smb.py and bash.py both use subprocess.Popen. subprocess.Popen utilizes os.fork() to spawn child processes. If the process calling smb.py or bash.py has a large memory footprint, os.fork() performs very slowly due to memory allocation. It would be better for Satori to call Popen in a way that allowed a calling application to override the underlying Popen process to use something like posix_spawn instead for better performance.
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/148714
Review: https:/