Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-139

quay starts unreasonable number of workers when running in a container

XMLWordPrintable

    • Tarkin [Quay 187], Utapau [Quay 188]

      quay uses number of cpus to scale workers: https://github.com/quay/quay/blob/master/util/workers.py#L22

      this is wrong when running in a restricted cgroup/as a container/on the same kernel as other unrelated processes, this caused PROJQUAY-133 on our environment.

      At least reducing number of workers for smaller quay containers helped us to get rid of "413 Request Entity Too Large"/"writev() failed (105: No buffer space available) while sending request to upstream"

              kmullins@redhat.com Kurtis Mullins (Inactive)
              xingag Dennis Konert (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: