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

[DOC] add '--stop-timeout 600' option to 'docker run' command

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: On Hold
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Documentation
    • Labels:

      Description

      On very large PMM systems Prometheus cannot be stopped in 10 seconds on 'docker stop' command.
      Docker kills all processes in a container after 10 seconds.
      After kill Prometheus database becomes corrupted.

      workaround: create pmm-server container with '--stop-timeout 600' option

      The question is, where to put this option:
      1) in the default configuration string for 'docker run'.
      Pros: will not add additional "If" for User
      Cons: will make our docker run command more complicated (but, it' an already not easy )
      2) Ad this option as optional after default command with Note that if you planning to have large installation use this option to avoid data corruption
      Pros: Initial command will remain shorter
      Cons: someone can miss our recommendation to larger systems and have a problem with production

      TODO: Mention in Documentation this option (--stop-timeout) for installations where planned a big amount of data. 

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dmitriy.kostiuk Dmitriy Kostiuk
              Reporter:
              mykola.marzhan Mykola Marzhan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:

                  Time Tracking

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

                    Smart Checklist