Skip to content

Docker image memory: Ridiculous ll_alloc Block size #2640

Answered by starbelly
pichi asked this question in Q&A
Discussion options

You must be logged in to vote

Note for @pichi this was bugging me to no end; I did some searching and found where people would OOM in containers on some platforms because the number of file descriptors allowed was very high (specifically related to containers and cgroups). Quoting erl documentation :

+Q Number
Sets the maximum number of simultaneously existing ports for this system if a Number is passed as value. Valid range for Number is [1024-134217727]
NOTE: The actual maximum chosen may be much larger than the actual Number passed. Currently the runtime system often, but not always, chooses a value that is a power of 2. This might, however, be changed in the future. The actual value chosen can be checked by calling

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@josevalim
Comment options

@starbelly
Comment options

@starbelly
Comment options

Answer selected by pichi
@pichi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants