Skip to content

Commit 8c0b9d6

Browse files
resmoyadvr
authored andcommitted
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.
1 parent fe10e68 commit 8c0b9d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

systemvm/debian/opt/cloud/bin/baremetal-vr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,4 +156,4 @@ def notify_provisioning_done(mac):
156156
if __name__ == '__main__':
157157
server = Server()
158158
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")
159-
app.run(host='0.0.0.0', port=10086, debug=True)
159+
app.run(host='0.0.0.0', port=10086)

0 commit comments

Comments
 (0)