Uploaded image for project: 'Percona Server'
  1. Percona Server
  2. PS-4473

core-file directive is setting 'Max core file size' to unlimited on Ubuntu 17.10

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Duplicate
    • Affects Version/s: 5.7.21-20
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Steps to reproduce:

      Install latest percona server 5.7 from apt repository (5.7.21).

      add core-file to [mysqld] section of my.cnf.

      There is a code, but it seems like it's not running: https://github.com/percona/percona-server/blob/5.7/sql/mysqld.cc#L2220 because there is no related warning in error log.

      It's the same as in upstream but the community mysql 5.7.21 build (and latest 5.7.22) works fine.

      Workaround: set infinite size for core dump in /etc/systemd/system/mysql.service.d/mysql.conf and run systemctl daemon-reload
      [Service]
      LimitCORE=infinity

       

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  robert.golebiowski Robert Golebiowski
                  Reporter:
                  nickolay.ihalainen Nickolay Ihalainen
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 20 minutes
                    20m