n1b0r / docker-flow-proxy-letsencrypt

39 stars 16 forks source link

Memory consumption #20

Open Vad1mo opened 6 years ago

Vad1mo commented 6 years ago

Why does this service occupied on avg. around 0.5 GB of memory in idle mode? I am not an python expert but to me this seems to be quite a lot what what it does.

dchusovitin commented 6 years ago

Same. After a couple of weeks, memory consumption reaches ~1GB

n1b0r commented 6 years ago

I have the same problem in my environment. I am not sure when I will get some time to handle it.

I will let you know.

djbingham commented 6 years ago

Hi, I'm also having issues with the memory consumption of this service. I'm happy to dig around in the code to try to identify the cause if I get a few minutes spare. Do you have any pointers on where might be a good place to start looking?

ovidner commented 5 years ago

According to my experiments, this is due to the debug=True setting for the Flask server in app.py. Setting it to False seems to fix this issue.