equivalent / little_bastard

Docker image that will trigger reocuring requests on an endpoint with GO lang script
MIT License
2 stars 0 forks source link

Docker image dying `oom` (out of memmory) #2

Open equivalent opened 8 years ago

equivalent commented 8 years ago

Given running stack on AWS Elastic Beanstalk When I allocate this image memory 200MB And I keep the image running for several hours / several days Then the Docker container dies oom (out of memmory)

equivalent commented 8 years ago

Unfortunatelly I cannot figure out why the memory is leaking. To be honest I know weary little about GoLang and this project was just a project to learn little bit about it. Currently I've abandon by goal to learn GoLang and I'm focusing on Elixir, As soon as I return back to GoLang I'll debug this problem.

...or if someone submits a Pull Request that would be great :)

In meantime (as this functionality is needed in my company) I've refactored it with Ruby lang to a new project https://github.com/Pobble/request_repeater

as I know Ruby really well I can guarantee request_repeater Docker / Gem App is pretty stable and without memory leaks. It may not be able to do several thousands of requests per second per second like LittleBastard GoLang version but it's main aim is for stable flow of requests over time.