pogom icon indicating copy to clipboard operation
pogom copied to clipboard

Map crashes after long time usage [Memory leak]

Open Pharonax opened this issue 8 years ago • 7 comments

Checklist

  • [X] I have read the FAQ
  • [X] I have checked if this issue already exists (both open and closed issues)
  • [X] I am using the most recent version of pogom from the master branch
  • [X] If this is an installation issue, I am posting my OS, OS version, python version, pip version
  • [X] I'm posting the complete log
  • [X] I'm using a descriptive title for this issue

My Issue

I run the map for me and my friends and I let it run on my linux VPS. However, afrter a few hours, the server stops running, giving me a 'Terminated' line on my console. I can restart it and it works perfectly fine, but it would be easier if it could run without crashing it every 2-3 hours.

If there's anything left that I can do, please tell me.

Thanks!

EDIT: my OS is Debian 7

Pharonax avatar Aug 10 '16 14:08 Pharonax

I confirm, same thing on Ubuntu 15.04 x64.

pixmaip avatar Aug 10 '16 14:08 pixmaip

this never happened to me on Windows 10

ghost avatar Aug 10 '16 15:08 ghost

I've had this happen on 14.04. I think there may be a memory leak in the server, because it was nearly maxed out on memory (4 gb allocated), running on loopback, with a nginx reverse_proxy fronting it.

compuguy avatar Aug 10 '16 15:08 compuguy

Same here, Ubuntu 14.04

jasonhemu avatar Aug 10 '16 18:08 jasonhemu

Could be a memory leak yes, explains why it always shuts down.

Pharonax avatar Aug 11 '16 19:08 Pharonax

I just managed to get a memory dump .. image It's weird that this only shows about 40-50MB, but the OS says python uses 500MB.

Any help appreciated.

nborrmann avatar Aug 11 '16 20:08 nborrmann

had the same error,ended up creating a bat file that starts/shuts the server every 15 min (ngrok still working without it being restarted)

mariyonnaise avatar Aug 14 '16 22:08 mariyonnaise