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

Change memory defaults for Prometheus 1.8 and use additional environment variable

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 1.13.0
    • Fix Version/s: 1.14.0
    • Component/s: PMM Server
    • Labels:
      None

      Description

      We lost one of the requirements   from  https://confluence.percona.com/display/PMM/Prometheus+2   (line 2)

       

      Provision Prometheus 1 with 15% of RAM

       

      Todo: we need change our formula to use only 15% of available memory for prom1 instance to be used. 

      Note: this also need to be changed after an update 

       

      2)  We also found that `--web.max-connections=N` option is also important. 
      TODO: Add -e  MAX_CONNECTIONS   option to set this parameter. 
      Default value, if not specified : 15  

      Note:  MAX_CONNECTIONS  and Memory limitations should be applied to prom1 ONLY 

      Info: The current value of the allowed web.max-connections is  512. This is too much for prom1 now

       

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  roma.novikov Roma Novikov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 3 hours, 30 minutes
                    3h 30m