Thanks but I'm more looking into information on how this goes with memory 
limits on kubernetes pods or cgroups limits, is the mmap() function or 
prometheus aware of this limit or will it unintentionally cause the process 
to be killed.

On Friday, May 15, 2020 at 12:09:12 PM UTC+2, Brian Candler wrote:
>
> I can't answer the specific question about prometheus, but I can tell you 
> that you can mmap() any file you like, and it can be larger than the amount 
> of RAM in the system.  As you access it, pages are transparently swapped in 
> and out from disk as required.  Pages you have read are cached, but if 
> there is memory pressure, those cached pages will be dropped.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/9b4132b2-cc5f-4e0c-b47b-ddd77b2843ac%40googlegroups.com.

Reply via email to