Re: Resident memory not released

2019-08-06 Thread fredr
aledbf Wrote: --- > We used jemalloc in the past, but that approach also introduces > different issues like not being able to use third-party monitory > agents like dynatrace. Was it for the same reason as me you tried jemalloc? did you find any

Re: Resident memory not released

2019-08-05 Thread fredr
I guess you are right. The main reason I want to scale on memory rather than number of connections, is that we wouldn't have to calculate how many connections a node can handle. Eg, if we change the memory size of each node, we also have to update the automatic scaling metric, or lets say there is

Re: Resident memory not released

2019-07-30 Thread fredr
Maxim Dounin Wrote: --- > > Whether or not allocated (and then freed) memory will be returned > to the OS depends mostly on your system allocator and its > settings. That is very interesting! I had no idea, thanks! Maxim Dounin Wrote: --

Resident memory not released

2019-07-29 Thread fredr
to never be released, and thus it only scales up and never down. I've done some testing locally using this dockerfile and nginx.conf with vanilla nginx: https://gist.github.com/fredr/d58f8221b813e4fdcf7bbfc08df30afa and it seems to have the same behaviour. Starting the docker image, ngin