Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-3417

Use madvise() with MADV_DONTDUMP option to limit core sizes

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Implemented
    • Affects Version/s: None
    • Fix Version/s: 5.3.0
    • Component/s: Core
    • Labels:
      None

      Description

      When ATS crashes it often leaves behind very large core files, in the hundreds of gigabytes. A large percentage of these core files are useless data in the IO buffers. We can limit the pages that the kernel dumps with madvise().

      Note: This will only work on Linux 3.4+.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jrushford John Rushford
                Reporter:
                psudaemon Phil Sorber
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m