mirror of https://github.com/apache/cloudstack.git
systemvm: baremetal-vr: reduce memory usage (#2866)
We see a suspicious continuous increase in memory usage. Kind of looks like a memory leak. One thing noted during debugging is that flask is started in debug mode. This is not best practice for a production system.
This commit is contained in:
parent
fe10e684f9
commit
8c0b9d6202
|
|
@ -156,4 +156,4 @@ def notify_provisioning_done(mac):
|
|||
if __name__ == '__main__':
|
||||
server = Server()
|
||||
shell("iptables-save | grep -- '-A INPUT -i eth0 -p tcp -m tcp --dport 10086 -j ACCEPT' > /dev/null || iptables -I INPUT -i eth0 -p tcp -m tcp --dport 10086 -j ACCEPT")
|
||||
app.run(host='0.0.0.0', port=10086, debug=True)
|
||||
app.run(host='0.0.0.0', port=10086)
|
||||
|
|
|
|||
Loading…
Reference in New Issue