Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-6426

Nginx parameters in PMM2 server

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: 2.9.0
    • Fix Version/s: None
    • Component/s: PMM Server
    • Labels:
      None

      Description

      Hi,

      The default settings for the nginx component of the PMM2 server installed from the AWS Marketplace are a little low. Specifically, I suspect the proxy buffer settings should be increased to prevent the following error. (writes a file to disk, possible due to header size)

      2020/08/04 08:24:42 [warn] 12661#12661: *216668 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/2/30/0000000302 while reading upstream, client: xx.xx.xx.xx, server: _, request: "POST /v0/qan/GetReport HTTP/1.1", upstream: "http://127.0.0.1:9922/v0/qan/GetReport", host: "yy.yy.yy.yy", referrer: "http://yy.yy.yy.yy/graph/d/pmm-qan/pmm-query-analytics? etc, etc

       

      I've had a quick glance at the various nginx conf params, there doesn't seem to be anything set to increase the buffers from default - I could adjust this myself, but expect ot would be overwritten at next update

        Smart Checklist

          Attachments

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              marblerun Michael Shield
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: