slateci / slate-catalog

SLATE application catalog based on Helm
12 stars 21 forks source link

Squid does not respect the memory request in multicore #567

Closed LincolnBryant closed 2 years ago

LincolnBryant commented 2 years ago

In the UC squid, for example, we set:

  CacheMem: "32768"

When we are using multicore mode, that will do 2 incompatible things:

  1. Set the Kubernetes memory request to 32GB
  2. Give each subprocess 32GB

This means that the container will use N*CacheMem MB of RAM, which is N times larger than what we request!

Let's plan to let the user specify how much memory they want to use, total, and we don't leak the internal abstractions to the user.

LincolnBryant commented 2 years ago

Fixed by #570