Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.5 ISO: mysqld failed while attempting to check config: command was: mysqld --verbose --help #5751

Closed
ivangfr opened this issue Oct 27, 2019 · 23 comments · Fixed by #5761
Closed
Assignees
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/support Categorizes issue or PR as a support question. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Milestone

Comments

@ivangfr
Copy link

ivangfr commented Oct 27, 2019

Hi,

I am trying to run MySQL docker container in Minikube and I am getting an error. I've tried already with MySQL version 5.7.14, 5.7.27, 5.7.28, 8.0.18, etc, and always the same error.

2019-10-27 14:36:04+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.28-1debian9 started.
2019-10-27 14:36:12+00:00 [ERROR] [Entrypoint]: mysqld failed while attempting to check config
	command was: mysqld --verbose --help

On the other hand, if I use Kubernetes in Docker Desktop (For Mac) or simply run MySQL with docker run or docker-compose, I don't have any problem.

I've tried to deploy MySQL to Minikube using the Helm Chart and also using YAML file (commands and file shown below).

The exact command to reproduce the issue:

minikube start --memory='8000mb' --vm-driver='virtualbox'
p.s. I've tried also with hyperkit and I have the same problem.

helm init

Helm command to deploy to Minikube

helm install \
--namespace dev \
--name my-mysql \
--set imageTag=5.7.28 \
--set mysqlDatabase=exampledb \
--set mysqlRootPassword=secret \
stable/mysql

Yaml file deployment command

kubectl apply -f mysql-deployment.yaml

mysql-deployment.yaml file

apiVersion: v1
kind: Service
metadata:
  name: mysql-service
  labels:
    app: mysql
    tier: backend
spec:
  selector:
    app: mysql
  ports:
    - port: 3306
      targetPort: 3306
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: mysql-pv-claim
spec:
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 1Gi
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: mysql-deployment
spec:
  replicas: 1
  selector:
    matchLabels:
      app: mysql
  strategy:
    type: Recreate
  template:
    metadata:
      labels:
        app: mysql
    spec:
      containers:
        - name: mysql
          image: mysql:5.7.28
          env:
            - name: MYSQL_DATABASE
              value: exampledb
            - name: MYSQL_ROOT_PASSWORD
              value: secret
          ports:
            - containerPort: 3306
          volumeMounts:
            - name: mysql-persistent-storage
              mountPath: /var/lib/mysql
      volumes:
        - name: mysql-persistent-storage
          persistentVolumeClaim:
            claimName: mysql-pv-claim

The full output of the command that failed:

kubectl describe pod mysql-deployment-66f98fcdb4-dlp8x

Name:         mysql-deployment-66f98fcdb4-dlp8x
Namespace:    default
Priority:     0
Node:         minikube/192.168.99.101
Start Time:   Sun, 27 Oct 2019 15:03:10 +0100
Labels:       app=mysql
              pod-template-hash=66f98fcdb4
Annotations:  <none>
Status:       Running
IP:           172.17.0.7
IPs:
  IP:           172.17.0.7
Controlled By:  ReplicaSet/mysql-deployment-66f98fcdb4
Containers:
  mysql:
    Container ID:   docker://fab6e63fa70e470a3eeab1496a9cfa162cb2d0eb36722643a76907c252025937
    Image:          mysql:5.7.28
    Image ID:       docker-pullable://mysql@sha256:44b33224e3c406bf50b5a2ee4286ed0d7f2c5aec1f7fdb70291f7f7c570284dd
    Port:           3306/TCP
    Host Port:      0/TCP
    State:          Waiting
      Reason:       CrashLoopBackOff
    Last State:     Terminated
      Reason:       Error
      Exit Code:    1
      Started:      Sun, 27 Oct 2019 15:36:04 +0100
      Finished:     Sun, 27 Oct 2019 15:36:12 +0100
    Ready:          False
    Restart Count:  11
    Environment:
      MYSQL_DATABASE:       authorbookdb
      MYSQL_ROOT_PASSWORD:  secret
    Mounts:
      /var/lib/mysql from mysql-persistent-storage (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-l6w9g (ro)
Conditions:
  Type              Status
  Initialized       True 
  Ready             False 
  ContainersReady   False 
  PodScheduled      True 
Volumes:
  mysql-persistent-storage:
    Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
    ClaimName:  mysql-pv-claim
    ReadOnly:   false
  default-token-l6w9g:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  default-token-l6w9g
    Optional:    false
QoS Class:       BestEffort
Node-Selectors:  <none>
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
                 node.kubernetes.io/unreachable:NoExecute for 300s
Events:
  Type     Reason            Age                    From               Message
  ----     ------            ----                   ----               -------
  Warning  FailedScheduling  <unknown>              default-scheduler  pod has unbound immediate PersistentVolumeClaims
  Normal   Scheduled         <unknown>              default-scheduler  Successfully assigned default/mysql-deployment-66f98fcdb4-dlp8x to minikube
  Normal   Pulled            32m (x5 over 34m)      kubelet, minikube  Container image "mysql:5.7.28" already present on machine
  Normal   Created           32m (x5 over 34m)      kubelet, minikube  Created container mysql
  Normal   Started           32m (x5 over 34m)      kubelet, minikube  Started container mysql
  Warning  BackOff           4m12s (x131 over 33m)  kubelet, minikube  Back-off restarting failed container

kubectl logs -p mysql-deployment-66f98fcdb4-dlp8x

2019-10-27 14:36:04+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.28-1debian9 started.
2019-10-27 14:36:12+00:00 [ERROR] [Entrypoint]: mysqld failed while attempting to check config
	command was: mysqld --verbose --help

The operating system version:

MacBook Pro (Retina, 13-inch, Early 2015)

Docker Desktop (for Mac) version

2.1.0.4 (39773)

Minikube version

v1.5.0

Helm version

Client: &version.Version{SemVer:"v2.15.1", GitCommit:"cf1de4f8ba70eded310918a8af3a96bfe8e7683b", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.15.1", GitCommit:"cf1de4f8ba70eded310918a8af3a96bfe8e7683b", GitTreeState:"clean"}
@tstromberg
Copy link
Contributor

Interesting. I'm surprised MySQLd isn't logging more of an error than that. I searched for the string and found other issues where a containerized MySQL mentioned a specific error message:

There isn't anything specific to minikube that should prevent MySQLd from running that I can think of. I'd be curious if anyone has any clues here. Help wanted!

@tstromberg tstromberg changed the title Unable to run MySQL in Minikube mysqld failed while attempting to check config: command was: mysqld --verbose --help Oct 27, 2019
@tstromberg tstromberg added help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/support Categorizes issue or PR as a support question. labels Oct 27, 2019
@nanikjava
Copy link
Contributor

Tried on local machine Ubuntu 19.04. All working fine. Using the same parameter (virtualbox and memory size as specified in the OP post)

kubectl get pods --all-namespaces

NAMESPACE NAME READY STATUS RESTARTS AGE
default mysql-deployment-79ccfdc888-qkqj9 1/1 Running 0 3m10s
kube-system coredns-5644d7b6d9-cgqhv 1/1 Running 0 5m31s
kube-system coredns-5644d7b6d9-f6mhs 1/1 Running 0 5m31s
kube-system etcd-minikube 1/1 Running 0 4m39s
kube-system kube-addon-manager-minikube 1/1 Running 0 5m40s
kube-system kube-apiserver-minikube 1/1 Running 0 4m43s
kube-system kube-controller-manager-minikube 1/1 Running 0 4m19s
kube-system kube-proxy-6dvtm 1/1 Running 0 5m31s
kube-system kube-scheduler-minikube 1/1 Running 0 4m42s
kube-system nginx-ingress-controller-6fc5bcc8c9-2x9s8 1/1 Running 0 5m29s
kube-system storage-provisioner 1/1 Running 0 5m30s

kubectl get pod mysql-deployment-79ccfdc888-qkqj9 -o yaml

apiVersion: v1
kind: Pod
metadata:
creationTimestamp: "2019-10-28T02:00:22Z"
generateName: mysql-deployment-79ccfdc888-
labels:
app: mysql
pod-template-hash: 79ccfdc888
name: mysql-deployment-79ccfdc888-qkqj9
namespace: default
ownerReferences:

  • apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: mysql-deployment-79ccfdc888
    uid: 5cf98128-e8b3-4f7c-bc40-475061ac05f0
    resourceVersion: "711"
    selfLink: /api/v1/namespaces/default/pods/mysql-deployment-79ccfdc888-qkqj9
    uid: 8585b5f7-8e50-4047-8a82-6a53302b5c05
    spec:
    containers:
  • env:
    • name: MYSQL_DATABASE
      value: exampledb
    • name: MYSQL_ROOT_PASSWORD
      value: secret
      image: mysql:5.7.28
      imagePullPolicy: IfNotPresent
      name: mysql
      ports:
    • containerPort: 3306
      protocol: TCP
      resources: {}
      terminationMessagePath: /dev/termination-log
      terminationMessagePolicy: File
      volumeMounts:
    • mountPath: /var/lib/mysql
      name: mysql-persistent-storage
    • mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: default-token-6tssj
      readOnly: true
      dnsPolicy: ClusterFirst
      enableServiceLinks: true
      nodeName: minikube
      priority: 0
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext: {}
      serviceAccount: default
      serviceAccountName: default
      terminationGracePeriodSeconds: 30
      tolerations:
  • effect: NoExecute
    key: node.kubernetes.io/not-ready
    operator: Exists
    tolerationSeconds: 300
  • effect: NoExecute
    key: node.kubernetes.io/unreachable
    operator: Exists
    tolerationSeconds: 300
    volumes:
  • name: mysql-persistent-storage
    persistentVolumeClaim:
    claimName: mysql-pv-claim
  • name: default-token-6tssj
    secret:
    defaultMode: 420
    secretName: default-token-6tssj
    status:
    conditions:
  • lastProbeTime: null
    lastTransitionTime: "2019-10-28T02:00:23Z"
    status: "True"
    type: Initialized
  • lastProbeTime: null
    lastTransitionTime: "2019-10-28T02:00:42Z"
    status: "True"
    type: Ready
  • lastProbeTime: null
    lastTransitionTime: "2019-10-28T02:00:42Z"
    status: "True"
    type: ContainersReady
  • lastProbeTime: null
    lastTransitionTime: "2019-10-28T02:00:23Z"
    status: "True"
    type: PodScheduled
    containerStatuses:
  • containerID: docker://6ed2cd826cbb221426a4a5f00908c1fc34c0a61f308d15b61a932b5f01fbcc96
    image: mysql:5.7.28
    imageID: docker-pullable://mysql@sha256:44b33224e3c406bf50b5a2ee4286ed0d7f2c5aec1f7fdb70291f7f7c570284dd
    lastState: {}
    name: mysql
    ready: true
    restartCount: 0
    started: true
    state:
    running:
    startedAt: "2019-10-28T02:00:41Z"
    hostIP: 192.168.99.221
    phase: Running
    podIP: 172.17.0.5
    podIPs:
  • ip: 172.17.0.5
    qosClass: BestEffort
    startTime: "2019-10-28T02:00:23Z"

@ivangfr
Copy link
Author

ivangfr commented Oct 28, 2019

Hey @tstromberg @nanikjava

Thanks for your reply and help so far!

Btw, I've just tried Minikube version v1.4.0 and it worked, i.e, I was able to deploy MySQL and I didn't face the error mysqld failed while attempting to check config. So, it seems a problem with Minikube v1.5.0.

The iso's that v1.4.0 and v.1.5.0 uses are different. Maybe, there is something missing (or different) in the iso used by v1.5.0

-rw-r--r--  1 username  staff   136M Oct 28 08:02 minikube-v1.4.0.iso
-rw-r--r--  1 username  staff   144M Oct 26 19:11 minikube-v1.5.0.iso

v1.4.0

./minikube start --memory='8000mb' --vm-driver='virtualbox'
😄  minikube v1.4.0 on Darwin 10.14.6
🔥  Creating virtualbox VM (CPUs=2, Memory=8000MB, Disk=20000MB) ...
🐳  Preparing Kubernetes v1.16.0 on Docker 18.09.9 ...
🚜  Pulling images ...
🚀  Launching Kubernetes ... 
⌛  Waiting for: apiserver proxy etcd scheduler controller dns
🏄  Done! kubectl is now configured to use "minikube"
kubectl get pods --all-namespaces
NAMESPACE              NAME                                         READY   STATUS    RESTARTS   AGE
kube-system            coredns-5644d7b6d9-9xsqc                     1/1     Running   0          104s
kube-system            coredns-5644d7b6d9-kknvx                     1/1     Running   0          104s
kube-system            etcd-minikube                                1/1     Running   0          41s
kube-system            kube-addon-manager-minikube                  1/1     Running   0          41s
kube-system            kube-apiserver-minikube                      1/1     Running   0          50s
kube-system            kube-controller-manager-minikube             1/1     Running   0          36s
kube-system            kube-proxy-5z2tx                             1/1     Running   0          104s
kube-system            kube-scheduler-minikube                      1/1     Running   0          50s
kube-system            storage-provisioner                          1/1     Running   0          102s
kubernetes-dashboard   dashboard-metrics-scraper-76585494d8-bwcvf   1/1     Running   0          98s
kubernetes-dashboard   kubernetes-dashboard-57f4cb4545-hx9k5        1/1     Running   0          98s
helm init
kubectl get pods --all-namespaces
NAMESPACE              NAME                                         READY   STATUS    RESTARTS   AGE
kube-system            coredns-5644d7b6d9-9xsqc                     1/1     Running   0          2m46s
kube-system            coredns-5644d7b6d9-kknvx                     1/1     Running   0          2m46s
kube-system            etcd-minikube                                1/1     Running   0          103s
kube-system            kube-addon-manager-minikube                  1/1     Running   0          103s
kube-system            kube-apiserver-minikube                      1/1     Running   0          112s
kube-system            kube-controller-manager-minikube             1/1     Running   0          98s
kube-system            kube-proxy-5z2tx                             1/1     Running   0          2m46s
kube-system            kube-scheduler-minikube                      1/1     Running   0          112s
kube-system            storage-provisioner                          1/1     Running   0          2m44s
kube-system            tiller-deploy-648c4865d-r4wvb                1/1     Running   0          37s
kubernetes-dashboard   dashboard-metrics-scraper-76585494d8-bwcvf   1/1     Running   0          2m40s
kubernetes-dashboard   kubernetes-dashboard-57f4cb4545-hx9k5        1/1     Running   0          2m40s
 helm install \
 --name my-mysql \
 --set imageTag=5.7.28 \
 --set mysqlDatabase=authorbookdb \
 --set mysqlRootPassword=secret \
 --set persistence.enabled=false \
 stable/mysql
kubectl get pods --all-namespaces
NAMESPACE              NAME                                         READY   STATUS    RESTARTS   AGE
default                my-mysql-7ff546c689-kcc9x                    1/1     Running   0          3m30s
kube-system            coredns-5644d7b6d9-9xsqc                     1/1     Running   0          6m53s
kube-system            coredns-5644d7b6d9-kknvx                     1/1     Running   0          6m53s
kube-system            etcd-minikube                                1/1     Running   0          5m50s
kube-system            kube-addon-manager-minikube                  1/1     Running   0          5m50s
kube-system            kube-apiserver-minikube                      1/1     Running   0          5m59s
kube-system            kube-controller-manager-minikube             1/1     Running   0          5m45s
kube-system            kube-proxy-5z2tx                             1/1     Running   0          6m53s
kube-system            kube-scheduler-minikube                      1/1     Running   0          5m59s
kube-system            storage-provisioner                          1/1     Running   0          6m51s
kube-system            tiller-deploy-648c4865d-r4wvb                1/1     Running   0          4m44s
kubernetes-dashboard   dashboard-metrics-scraper-76585494d8-bwcvf   1/1     Running   0          6m47s
kubernetes-dashboard   kubernetes-dashboard-57f4cb4545-hx9k5        1/1     Running   0          6m47s
kubectl describe pod my-mysql-7ff546c689-kcc9x
Name:         my-mysql-7ff546c689-kcc9x
Namespace:    default
Priority:     0
Node:         minikube/10.0.2.15
Start Time:   Mon, 28 Oct 2019 08:53:54 +0100
Labels:       app=my-mysql
              pod-template-hash=7ff546c689
              release=my-mysql
Annotations:  <none>
Status:       Running
IP:           172.17.0.7
IPs:
  IP:           172.17.0.7
Controlled By:  ReplicaSet/my-mysql-7ff546c689
Init Containers:
  remove-lost-found:
    Container ID:  docker://2aa65e9c1ae496aefdb3b19372bdc2c7eb5766fdd05028e7af5aace650acb0ae
    Image:         busybox:1.29.3
    Image ID:      docker-pullable://busybox@sha256:8ccbac733d19c0dd4d70b4f0c1e12245b5fa3ad24758a11035ee505c629c0796
    Port:          <none>
    Host Port:     <none>
    Command:
      rm
      -fr
      /var/lib/mysql/lost+found
    State:          Terminated
      Reason:       Completed
      Exit Code:    0
      Started:      Mon, 28 Oct 2019 08:53:59 +0100
      Finished:     Mon, 28 Oct 2019 08:53:59 +0100
    Ready:          True
    Restart Count:  0
    Requests:
      cpu:        10m
      memory:     10Mi
    Environment:  <none>
    Mounts:
      /var/lib/mysql from data (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-hbdlp (ro)
Containers:
  my-mysql:
    Container ID:   docker://58f34915d47d615d0ed429d53c7ef82fd3b64eb5e9e1c48d4df9eb7ea7cabf09
    Image:          mysql:5.7.28
    Image ID:       docker-pullable://mysql@sha256:44b33224e3c406bf50b5a2ee4286ed0d7f2c5aec1f7fdb70291f7f7c570284dd
    Port:           3306/TCP
    Host Port:      0/TCP
    State:          Running
      Started:      Mon, 28 Oct 2019 08:55:44 +0100
    Ready:          True
    Restart Count:  0
    Requests:
      cpu:      100m
      memory:   256Mi
    Liveness:   exec [sh -c mysqladmin ping -u root -p${MYSQL_ROOT_PASSWORD}] delay=30s timeout=5s period=10s #success=1 #failure=3
    Readiness:  exec [sh -c mysqladmin ping -u root -p${MYSQL_ROOT_PASSWORD}] delay=5s timeout=1s period=10s #success=1 #failure=3
    Environment:
      MYSQL_ROOT_PASSWORD:  <set to the key 'mysql-root-password' in secret 'my-mysql'>  Optional: false
      MYSQL_PASSWORD:       <set to the key 'mysql-password' in secret 'my-mysql'>       Optional: true
      MYSQL_USER:           
      MYSQL_DATABASE:       authorbookdb
    Mounts:
      /var/lib/mysql from data (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-hbdlp (ro)
Conditions:
  Type              Status
  Initialized       True 
  Ready             True 
  ContainersReady   True 
  PodScheduled      True 
Volumes:
  data:
    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:     
    SizeLimit:  <unset>
  default-token-hbdlp:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  default-token-hbdlp
    Optional:    false
QoS Class:       Burstable
Node-Selectors:  <none>
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
                 node.kubernetes.io/unreachable:NoExecute for 300s
Events:
  Type    Reason     Age        From               Message
  ----    ------     ----       ----               -------
  Normal  Scheduled  <unknown>  default-scheduler  Successfully assigned default/my-mysql-7ff546c689-kcc9x to minikube
  Normal  Pulling    4m16s      kubelet, minikube  Pulling image "busybox:1.29.3"
  Normal  Pulled     4m12s      kubelet, minikube  Successfully pulled image "busybox:1.29.3"
  Normal  Created    4m12s      kubelet, minikube  Created container remove-lost-found
  Normal  Started    4m12s      kubelet, minikube  Started container remove-lost-found
  Normal  Pulling    4m11s      kubelet, minikube  Pulling image "mysql:5.7.28"
  Normal  Pulled     2m28s      kubelet, minikube  Successfully pulled image "mysql:5.7.28"
  Normal  Created    2m27s      kubelet, minikube  Created container my-mysql
  Normal  Started    2m27s      kubelet, minikube  Started container my-mysql
kubectl logs my-mysql-7ff546c689-kcc9x
2019-10-28 07:55:44+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.28-1debian9 started.
2019-10-28 07:55:44+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2019-10-28 07:55:44+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.28-1debian9 started.
2019-10-28 07:55:44+00:00 [Note] [Entrypoint]: Initializing database files
2019-10-28T07:55:44.383663Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2019-10-28T07:55:44.716301Z 0 [Warning] InnoDB: New log files created, LSN=45790
2019-10-28T07:55:44.780072Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
2019-10-28T07:55:44.840636Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 587b04ff-f958-11e9-a221-0242ac110007.
2019-10-28T07:55:44.842132Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2019-10-28T07:55:45.326244Z 0 [Warning] CA certificate ca.pem is self signed.
2019-10-28T07:55:45.546183Z 1 [Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
2019-10-28 07:55:47+00:00 [Note] [Entrypoint]: Database files initialized
2019-10-28 07:55:47+00:00 [Note] [Entrypoint]: Starting temporary server
2019-10-28 07:55:47+00:00 [Note] [Entrypoint]: Waiting for server startup
2019-10-28T07:55:47.910126Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2019-10-28T07:55:47.914306Z 0 [Note] mysqld (mysqld 5.7.28) starting as process 80 ...
2019-10-28T07:55:47.919493Z 0 [Note] InnoDB: PUNCH HOLE support available
2019-10-28T07:55:47.919583Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2019-10-28T07:55:47.919604Z 0 [Note] InnoDB: Uses event mutexes
2019-10-28T07:55:47.919618Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2019-10-28T07:55:47.919629Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-10-28T07:55:47.919641Z 0 [Note] InnoDB: Using Linux native AIO
2019-10-28T07:55:47.919984Z 0 [Note] InnoDB: Number of pools: 1
2019-10-28T07:55:47.920236Z 0 [Note] InnoDB: Using CPU crc32 instructions
2019-10-28T07:55:47.924302Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2019-10-28T07:55:47.942256Z 0 [Note] InnoDB: Completed initialization of buffer pool
2019-10-28T07:55:47.948010Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2019-10-28T07:55:47.962586Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2019-10-28T07:55:47.973569Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-10-28T07:55:47.974080Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-10-28T07:55:48.012570Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2019-10-28T07:55:48.013560Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
2019-10-28T07:55:48.013593Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2019-10-28T07:55:48.014320Z 0 [Note] InnoDB: Waiting for purge to start
2019-10-28T07:55:48.065102Z 0 [Note] InnoDB: 5.7.28 started; log sequence number 2628275
2019-10-28T07:55:48.065618Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2019-10-28T07:55:48.065864Z 0 [Note] Plugin 'FEDERATED' is disabled.
2019-10-28T07:55:48.071996Z 0 [Note] InnoDB: Buffer pool(s) load completed at 191028  7:55:48
2019-10-28T07:55:48.079977Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
2019-10-28T07:55:48.080009Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory.
2019-10-28T07:55:48.080729Z 0 [Warning] CA certificate ca.pem is self signed.
2019-10-28T07:55:48.080770Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory.
2019-10-28T07:55:48.082342Z 0 [Warning] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
2019-10-28T07:55:48.091664Z 0 [Note] Event Scheduler: Loaded 0 events
2019-10-28T07:55:48.091908Z 0 [Note] mysqld: ready for connections.
Version: '5.7.28'  socket: '/var/run/mysqld/mysqld.sock'  port: 0  MySQL Community Server (GPL)
2019-10-28 07:55:48+00:00 [Note] [Entrypoint]: Temporary server started.
Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
2019-10-28T07:55:50.344857Z 4 [Note] Access denied for user 'root'@'localhost' (using password: YES)
Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/zone1970.tab' as time zone. Skipping it.
2019-10-28 07:55:50+00:00 [Note] [Entrypoint]: Creating database authorbookdb

2019-10-28 07:55:50+00:00 [Note] [Entrypoint]: Stopping temporary server
2019-10-28T07:55:50.786580Z 0 [Note] Giving 0 client threads a chance to die gracefully
2019-10-28T07:55:50.786663Z 0 [Note] Shutting down slave threads
2019-10-28T07:55:50.786680Z 0 [Note] Forcefully disconnecting 0 remaining clients
2019-10-28T07:55:50.786693Z 0 [Note] Event Scheduler: Purging the queue. 0 events
2019-10-28T07:55:50.786762Z 0 [Note] Binlog end
2019-10-28T07:55:50.787562Z 0 [Note] Shutting down plugin 'ngram'
2019-10-28T07:55:50.787687Z 0 [Note] Shutting down plugin 'partition'
2019-10-28T07:55:50.787764Z 0 [Note] Shutting down plugin 'BLACKHOLE'
2019-10-28T07:55:50.787848Z 0 [Note] Shutting down plugin 'ARCHIVE'
2019-10-28T07:55:50.787913Z 0 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2019-10-28T07:55:50.788006Z 0 [Note] Shutting down plugin 'MRG_MYISAM'
2019-10-28T07:55:50.788078Z 0 [Note] Shutting down plugin 'MyISAM'
2019-10-28T07:55:50.788212Z 0 [Note] Shutting down plugin 'INNODB_SYS_VIRTUAL'
2019-10-28T07:55:50.788276Z 0 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2019-10-28T07:55:50.788353Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2019-10-28T07:55:50.788409Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2019-10-28T07:55:50.788472Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2019-10-28T07:55:50.788538Z 0 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2019-10-28T07:55:50.788594Z 0 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2019-10-28T07:55:50.788648Z 0 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2019-10-28T07:55:50.788695Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2019-10-28T07:55:50.788766Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2019-10-28T07:55:50.788778Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2019-10-28T07:55:50.788787Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2019-10-28T07:55:50.788795Z 0 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2019-10-28T07:55:50.788918Z 0 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2019-10-28T07:55:50.788965Z 0 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2019-10-28T07:55:50.788992Z 0 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2019-10-28T07:55:50.789026Z 0 [Note] Shutting down plugin 'INNODB_METRICS'
2019-10-28T07:55:50.789124Z 0 [Note] Shutting down plugin 'INNODB_TEMP_TABLE_INFO'
2019-10-28T07:55:50.789222Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2019-10-28T07:55:50.789259Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2019-10-28T07:55:50.789347Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2019-10-28T07:55:50.789391Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2019-10-28T07:55:50.789420Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2019-10-28T07:55:50.789431Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2019-10-28T07:55:50.789440Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM'
2019-10-28T07:55:50.789449Z 0 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2019-10-28T07:55:50.789458Z 0 [Note] Shutting down plugin 'INNODB_CMP'
2019-10-28T07:55:50.789569Z 0 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2019-10-28T07:55:50.789619Z 0 [Note] Shutting down plugin 'INNODB_LOCKS'
2019-10-28T07:55:50.789646Z 0 [Note] Shutting down plugin 'INNODB_TRX'
2019-10-28T07:55:50.789698Z 0 [Note] Shutting down plugin 'InnoDB'
2019-10-28T07:55:50.789923Z 0 [Note] InnoDB: FTS optimize thread exiting.
2019-10-28T07:55:50.790500Z 0 [Note] InnoDB: Starting shutdown...
2019-10-28T07:55:50.891560Z 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
2019-10-28T07:55:50.892519Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 191028  7:55:50
2019-10-28T07:55:51.907173Z 0 [Note] InnoDB: Shutdown completed; log sequence number 12440148
2019-10-28T07:55:51.914251Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2019-10-28T07:55:51.914442Z 0 [Note] Shutting down plugin 'MEMORY'
2019-10-28T07:55:51.914542Z 0 [Note] Shutting down plugin 'CSV'
2019-10-28T07:55:51.914625Z 0 [Note] Shutting down plugin 'sha256_password'
2019-10-28T07:55:51.914687Z 0 [Note] Shutting down plugin 'mysql_native_password'
2019-10-28T07:55:51.914874Z 0 [Note] Shutting down plugin 'binlog'
2019-10-28T07:55:51.916664Z 0 [Note] mysqld: Shutdown complete

2019-10-28 07:55:52+00:00 [Note] [Entrypoint]: Temporary server stopped

2019-10-28 07:55:52+00:00 [Note] [Entrypoint]: MySQL init process done. Ready for start up.

2019-10-28T07:55:52.971465Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2019-10-28T07:55:52.972664Z 0 [Note] mysqld (mysqld 5.7.28) starting as process 1 ...
2019-10-28T07:55:52.975695Z 0 [Note] InnoDB: PUNCH HOLE support available
2019-10-28T07:55:52.975733Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2019-10-28T07:55:52.975737Z 0 [Note] InnoDB: Uses event mutexes
2019-10-28T07:55:52.975740Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2019-10-28T07:55:52.975743Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-10-28T07:55:52.975746Z 0 [Note] InnoDB: Using Linux native AIO
2019-10-28T07:55:52.976171Z 0 [Note] InnoDB: Number of pools: 1
2019-10-28T07:55:52.976308Z 0 [Note] InnoDB: Using CPU crc32 instructions
2019-10-28T07:55:52.978126Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2019-10-28T07:55:52.985374Z 0 [Note] InnoDB: Completed initialization of buffer pool
2019-10-28T07:55:52.987363Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2019-10-28T07:55:52.999944Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2019-10-28T07:55:53.009668Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-10-28T07:55:53.009751Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-10-28T07:55:53.035240Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2019-10-28T07:55:53.036218Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
2019-10-28T07:55:53.036255Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2019-10-28T07:55:53.036903Z 0 [Note] InnoDB: Waiting for purge to start
2019-10-28T07:55:53.088096Z 0 [Note] InnoDB: 5.7.28 started; log sequence number 12440148
2019-10-28T07:55:53.088712Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2019-10-28T07:55:53.089053Z 0 [Note] Plugin 'FEDERATED' is disabled.
2019-10-28T07:55:53.093249Z 0 [Note] InnoDB: Buffer pool(s) load completed at 191028  7:55:53
2019-10-28T07:55:53.095003Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
2019-10-28T07:55:53.095032Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory.
2019-10-28T07:55:53.095637Z 0 [Warning] CA certificate ca.pem is self signed.
2019-10-28T07:55:53.095680Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory.
2019-10-28T07:55:53.096041Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
2019-10-28T07:55:53.096088Z 0 [Note] IPv6 is available.
2019-10-28T07:55:53.096099Z 0 [Note]   - '::' resolves to '::';
2019-10-28T07:55:53.096113Z 0 [Note] Server socket created on IP: '::'.
2019-10-28T07:55:53.097472Z 0 [Warning] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
2019-10-28T07:55:53.105514Z 0 [Note] Event Scheduler: Loaded 0 events
2019-10-28T07:55:53.105668Z 0 [Note] mysqld: ready for connections.
Version: '5.7.28'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server (GPL)

v1.5.0

./minikube start --memory='8000mb' --vm-driver='virtualbox'
😄  minikube v1.5.0 on Darwin 10.14.6
🔥  Creating virtualbox VM (CPUs=2, Memory=8000MB, Disk=20000MB) ...
🐳  Preparing Kubernetes v1.16.2 on Docker 18.09.9 ...
🚜  Pulling images ...
🚀  Launching Kubernetes ... 
⌛  Waiting for: apiserver proxy etcd scheduler controller dns
🏄  Done! kubectl is now configured to use "minikube"
kubectl get pods --all-namespaces
NAMESPACE              NAME                                         READY   STATUS    RESTARTS   AGE
kube-system            coredns-5644d7b6d9-l7jt6                     1/1     Running   0          2m9s
kube-system            coredns-5644d7b6d9-vlhmd                     1/1     Running   0          2m9s
kube-system            etcd-minikube                                1/1     Running   0          54s
kube-system            kube-addon-manager-minikube                  1/1     Running   0          2m3s
kube-system            kube-apiserver-minikube                      1/1     Running   0          55s
kube-system            kube-controller-manager-minikube             1/1     Running   0          65s
kube-system            kube-proxy-lg2c4                             1/1     Running   0          2m10s
kube-system            kube-scheduler-minikube                      1/1     Running   0          63s
kube-system            storage-provisioner                          1/1     Running   0          2m2s
kubernetes-dashboard   dashboard-metrics-scraper-76585494d8-f4xx7   1/1     Running   0          117s
kubernetes-dashboard   kubernetes-dashboard-57f4cb4545-9v9bh        1/1     Running   0          117s
helm init
kubectl get pods --all-namespaces
NAMESPACE              NAME                                         READY   STATUS    RESTARTS   AGE
kube-system            coredns-5644d7b6d9-l7jt6                     1/1     Running   0          2m55s
kube-system            coredns-5644d7b6d9-vlhmd                     1/1     Running   0          2m55s
kube-system            etcd-minikube                                1/1     Running   0          100s
kube-system            kube-addon-manager-minikube                  1/1     Running   0          2m49s
kube-system            kube-apiserver-minikube                      1/1     Running   0          101s
kube-system            kube-controller-manager-minikube             1/1     Running   0          111s
kube-system            kube-proxy-lg2c4                             1/1     Running   0          2m56s
kube-system            kube-scheduler-minikube                      1/1     Running   0          109s
kube-system            storage-provisioner                          1/1     Running   0          2m48s
kube-system            tiller-deploy-648c4865d-8h76c                1/1     Running   0          38s
kubernetes-dashboard   dashboard-metrics-scraper-76585494d8-f4xx7   1/1     Running   0          2m43s
kubernetes-dashboard   kubernetes-dashboard-57f4cb4545-9v9bh        1/1     Running   0          2m43s
 helm install \
 --name my-mysql \
 --set imageTag=5.7.28 \
 --set mysqlDatabase=authorbookdb \
 --set mysqlRootPassword=secret \
 --set persistence.enabled=false \
 stable/mysql
kubectl get pods --all-namespaces
NAMESPACE              NAME                                         READY   STATUS    RESTARTS   AGE
default                my-mysql-7ff546c689-q9gqm                    0/1     Error     3          75s
kube-system            coredns-5644d7b6d9-l7jt6                     1/1     Running   0          18m
kube-system            coredns-5644d7b6d9-vlhmd                     1/1     Running   0          18m
kube-system            etcd-minikube                                1/1     Running   0          17m
kube-system            kube-addon-manager-minikube                  1/1     Running   0          18m
kube-system            kube-apiserver-minikube                      1/1     Running   0          17m
kube-system            kube-controller-manager-minikube             1/1     Running   0          17m
kube-system            kube-proxy-lg2c4                             1/1     Running   0          18m
kube-system            kube-scheduler-minikube                      1/1     Running   0          17m
kube-system            storage-provisioner                          1/1     Running   0          18m
kube-system            tiller-deploy-648c4865d-8h76c                1/1     Running   0          15m
kubernetes-dashboard   dashboard-metrics-scraper-76585494d8-f4xx7   1/1     Running   0          18m
kubernetes-dashboard   kubernetes-dashboard-57f4cb4545-9v9bh        1/1     Running   0          18m
kubectl describe pod my-mysql-7ff546c689-q9gqm
Name:         my-mysql-7ff546c689-q9gqm
Namespace:    default
Priority:     0
Node:         minikube/192.168.99.103
Start Time:   Mon, 28 Oct 2019 08:40:28 +0100
Labels:       app=my-mysql
              pod-template-hash=7ff546c689
              release=my-mysql
Annotations:  <none>
Status:       Running
IP:           172.17.0.7
IPs:
  IP:           172.17.0.7
Controlled By:  ReplicaSet/my-mysql-7ff546c689
Init Containers:
  remove-lost-found:
    Container ID:  docker://e8bd583d2e3401c668cb45b25dd004da097711e3bc7d5ed614107b428b541342
    Image:         busybox:1.29.3
    Image ID:      docker-pullable://busybox@sha256:8ccbac733d19c0dd4d70b4f0c1e12245b5fa3ad24758a11035ee505c629c0796
    Port:          <none>
    Host Port:     <none>
    Command:
      rm
      -fr
      /var/lib/mysql/lost+found
    State:          Terminated
      Reason:       Completed
      Exit Code:    0
      Started:      Mon, 28 Oct 2019 08:40:29 +0100
      Finished:     Mon, 28 Oct 2019 08:40:29 +0100
    Ready:          True
    Restart Count:  0
    Requests:
      cpu:        10m
      memory:     10Mi
    Environment:  <none>
    Mounts:
      /var/lib/mysql from data (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-swpg5 (ro)
Containers:
  my-mysql:
    Container ID:   docker://41026c571fa219b9f79a4720a5b06371419e54af459974182eef49586d49e8de
    Image:          mysql:5.7.28
    Image ID:       docker-pullable://mysql@sha256:44b33224e3c406bf50b5a2ee4286ed0d7f2c5aec1f7fdb70291f7f7c570284dd
    Port:           3306/TCP
    Host Port:      0/TCP
    State:          Waiting
      Reason:       CrashLoopBackOff
    Last State:     Terminated
      Reason:       Error
      Exit Code:    1
      Started:      Mon, 28 Oct 2019 08:42:32 +0100
      Finished:     Mon, 28 Oct 2019 08:42:37 +0100
    Ready:          False
    Restart Count:  4
    Requests:
      cpu:      100m
      memory:   256Mi
    Liveness:   exec [sh -c mysqladmin ping -u root -p${MYSQL_ROOT_PASSWORD}] delay=30s timeout=5s period=10s #success=1 #failure=3
    Readiness:  exec [sh -c mysqladmin ping -u root -p${MYSQL_ROOT_PASSWORD}] delay=5s timeout=1s period=10s #success=1 #failure=3
    Environment:
      MYSQL_ROOT_PASSWORD:  <set to the key 'mysql-root-password' in secret 'my-mysql'>  Optional: false
      MYSQL_PASSWORD:       <set to the key 'mysql-password' in secret 'my-mysql'>       Optional: true
      MYSQL_USER:           
      MYSQL_DATABASE:       authorbookdb
    Mounts:
      /var/lib/mysql from data (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-swpg5 (ro)
Conditions:
  Type              Status
  Initialized       True 
  Ready             False 
  ContainersReady   False 
  PodScheduled      True 
Volumes:
  data:
    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:     
    SizeLimit:  <unset>
  default-token-swpg5:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  default-token-swpg5
    Optional:    false
QoS Class:       Burstable
Node-Selectors:  <none>
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
                 node.kubernetes.io/unreachable:NoExecute for 300s
Events:
  Type     Reason     Age                    From               Message
  ----     ------     ----                   ----               -------
  Normal   Scheduled  <unknown>              default-scheduler  Successfully assigned default/my-mysql-7ff546c689-q9gqm to minikube
  Normal   Pulled     3m16s                  kubelet, minikube  Container image "busybox:1.29.3" already present on machine
  Normal   Created    3m16s                  kubelet, minikube  Created container remove-lost-found
  Normal   Started    3m16s                  kubelet, minikube  Started container remove-lost-found
  Warning  Unhealthy  3m10s                  kubelet, minikube  Readiness probe failed: OCI runtime exec failed: exec failed: container_linux.go:345: starting container process caused "process_linux.go:91: executing setns process caused \"exit status 21\"": unknown
  Normal   Pulled     2m11s (x4 over 3m16s)  kubelet, minikube  Container image "mysql:5.7.28" already present on machine
  Normal   Created    2m11s (x4 over 3m16s)  kubelet, minikube  Created container my-mysql
  Normal   Started    2m11s (x4 over 3m16s)  kubelet, minikube  Started container my-mysql
  Warning  BackOff    87s (x9 over 3m5s)     kubelet, minikube  Back-off restarting failed container
kubectl logs my-mysql-7ff546c689-q9gqm
2019-10-28 07:44:12+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.28-1debian9 started.
2019-10-28 07:44:16+00:00 [ERROR] [Entrypoint]: mysqld failed while attempting to check config
	command was: mysqld --verbose --help

@kristapsstrals
Copy link

I have the exact same issue (though working with mysql:5.6). Everything worked fine on minikube 1.4.0
I'm running on Windows 10 Pro with Docker for Windows and Minikube

@asychev
Copy link

asychev commented Oct 28, 2019

Same for me

@tstromberg tstromberg changed the title mysqld failed while attempting to check config: command was: mysqld --verbose --help v1.5 ISO: mysqld failed while attempting to check config: command was: mysqld --verbose --help Oct 28, 2019
@tstromberg tstromberg added priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. triage/discuss Items for discussion labels Oct 28, 2019
@tstromberg
Copy link
Contributor

tstromberg commented Oct 28, 2019

Thanks for the updates. If someone is able to duplicate this, this will almost certainly point to the root cause:

strace -f mysqld --verbose --help

You may need to install the strace package into the container first.

I would have expected --verbose to emit something more useful, and for --help to not fail. My best guess to a root cause is a permissions change, but it really could be anything, as the v1.5.0 ISO has both a new kernel and a new userland.

I believe this will workaround the issue in the meantime:

minikube delete && minikube start --iso-url='https://storage.googleapis.com/minikube/iso/minikube-v1.4.0.iso'

@govargo
Copy link
Contributor

govargo commented Oct 28, 2019

I investigated this issue. And I got output from following custom image.

FROM mysql:5.7.28

RUN rm -f /entrypoint.sh
COPY ./docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
RUN ln -s /usr/local/bin/docker-entrypoint.sh entrypoint.sh

RUN apt-get update && apt-get install strace

I hope this helps.

strace -f mysqld --verbose --help:


strace -f mysqld --verbose --help
'execve("/usr/sbin/mysqld", ["mysqld", "--verbose", "--help"], [/* 29 vars /]) = 0
brk(NULL) = 0x55b939d88000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=8740, ...}) = 0
mmap(NULL, 8740, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f4070b76000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0Pa\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=135440, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4070b74000
mmap(NULL, 2212936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4070739000
mprotect(0x7f4070751000, 2093056, PROT_NONE) = 0
mmap(0x7f4070950000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f4070950000
mmap(0x7f4070952000, 13384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4070952000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libaio.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\6\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=5552, ...}) = 0
mmap(NULL, 2101264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4070537000
mprotect(0x7f4070538000, 2093056, PROT_NONE) = 0
mmap(0x7f4070737000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0x7f4070737000
mmap(0x7f4070738000, 16, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4070738000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libnuma.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\00003\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=44192, ...}) = 0
mmap(NULL, 2140320, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f407032c000
mprotect(0x7f4070336000, 2093056, PROT_NONE) = 0
mmap(0x7f4070535000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0x7f4070535000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libcrypt.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\v\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=39256, ...}) = 0
mmap(NULL, 2322912, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f40700f4000
mprotect(0x7f40700fc000, 2097152, PROT_NONE) = 0
mmap(0x7f40702fc000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7f40702fc000
mmap(0x7f40702fe000, 184800, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f40702fe000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\r\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14640, ...}) = 0
mmap(NULL, 2109680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406fef0000
mprotect(0x7f406fef3000, 2093056, PROT_NONE) = 0
mmap(0x7f40700f2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f40700f2000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340 \0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=31744, ...}) = 0
mmap(NULL, 2128832, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406fce8000
mprotect(0x7f406fcef000, 2093056, PROT_NONE) = 0
mmap(0x7f406feee000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f406feee000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libatomic.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\35\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=26768, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4070b72000
mmap(NULL, 2125960, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406fae0000
mprotect(0x7f406fae6000, 2093056, PROT_NONE) = 0
mmap(0x7f406fce5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7f406fce5000
mmap(0x7f406fce7000, 136, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f406fce7000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\267\10\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1566168, ...}) = 0
mmap(NULL, 3674720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406f75e000
mprotect(0x7f406f8d0000, 2097152, PROT_NONE) = 0
mmap(0x7f406fad0000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x172000) = 0x7f406fad0000
mmap(0x7f406fadc000, 12896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f406fadc000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200V\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1063328, ...}) = 0
mmap(NULL, 3158248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406f45a000
mprotect(0x7f406f55d000, 2093056, PROT_NONE) = 0
mmap(0x7f406f75c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x102000) = 0x7f406f75c000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220
\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=92584, ...}) = 0
mmap(NULL, 2188336, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406f243000
mprotect(0x7f406f259000, 2093056, PROT_NONE) = 0
mmap(0x7f406f458000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7f406f458000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\4\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1689360, ...}) = 0
mmap(NULL, 3795296, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406eea4000
mprotect(0x7f406f039000, 2097152, PROT_NONE) = 0
mmap(0x7f406f239000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x195000) = 0x7f406f239000
mmap(0x7f406f23f000, 14688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f406f23f000
close(3) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4070b70000
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4070b6d000
arch_prctl(ARCH_SET_FS, 0x7f4070b6d740) = 0
mprotect(0x7f406f239000, 16384, PROT_READ) = 0
mprotect(0x7f406f458000, 4096, PROT_READ) = 0
mprotect(0x7f406f75c000, 4096, PROT_READ) = 0
mprotect(0x7f406fad0000, 40960, PROT_READ) = 0
mprotect(0x7f4070950000, 4096, PROT_READ) = 0
mprotect(0x7f406fce5000, 4096, PROT_READ) = 0
mprotect(0x7f406feee000, 4096, PROT_READ) = 0
mprotect(0x7f40700f2000, 4096, PROT_READ) = 0
mprotect(0x7f40702fc000, 4096, PROT_READ) = 0
mprotect(0x7f4070535000, 4096, PROT_READ) = 0
mprotect(0x7f4070737000, 4096, PROT_READ) = 0
mprotect(0x55b939515000, 1110016, PROT_READ) = 0
mprotect(0x7f4070b79000, 4096, PROT_READ) = 0
munmap(0x7f4070b76000, 8740) = 0
set_tid_address(0x7f4070b6da10) = 14
set_robust_list(0x7f4070b6da20, 24) = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x7f407073ebd0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f407074a0e0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x7f407073ec60, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f407074a0e0}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=81921024, rlim_max=RLIM64_INFINITY}) = 0
brk(NULL) = 0x55b939d88000
brk(0x55b939dba000) = 0x55b939dba000
open("/proc/self/status", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(3, "Name:\tmysqld\nUmask:\t0022\nState:\t"..., 1024) = 1004
close(3) = 0
open("/sys/devices/system/node", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
getdents(3, /
10 entries /, 32768) = 312
open("/sys/devices/system/node/node0/meminfo", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
read(4, "Node 0 MemTotal: 1985744 "..., 4096) = 965
read(4, "", 4096) = 0
close(4) = 0
getdents(3, /
0 entries /, 32768) = 0
close(3) = 0
sched_getaffinity(0, 512, [0, 1]) = 8
open("/sys/devices/system/cpu", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
getdents(3, /
18 entries /, 32768) = 544
getdents(3, /
0 entries /, 32768) = 0
close(3) = 0
open("/proc/self/status", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(3, "Name:\tmysqld\nUmask:\t0022\nState:\t"..., 1024) = 1004
read(3, "", 1024) = 0
close(3) = 0
futex(0x7f406fadd03c, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f406fadd048, FUTEX_WAKE_PRIVATE, 2147483647) = 0
stat("/etc/my.cnf", 0x7ffe9e3e2780) = -1 ENOENT (No such file or directory)
stat("/etc/mysql/my.cnf", {st_mode=S_IFREG|0644, st_size=1215, ...}) = 0
open("/etc/mysql/my.cnf", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1215, ...}) = 0
read(3, "# Copyright (c) 2016, Oracle and"..., 4096) = 1215
open("/etc/mysql/conf.d/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
brk(0x55b939ddc000) = 0x55b939ddc000
getdents(4, /
5 entries /, 32768) = 152
getdents(4, /
0 entries /, 32768) = 0
close(4) = 0
stat("/etc/mysql/conf.d/docker.cnf", {st_mode=S_IFREG|0644, st_size=43, ...}) = 0
open("/etc/mysql/conf.d/docker.cnf", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=43, ...}) = 0
read(4, "[mysqld]\nskip-host-cache\nskip-na"..., 4096) = 43
read(4, "", 4096) = 0
close(4) = 0
stat("/etc/mysql/conf.d/mysql.cnf", {st_mode=S_IFREG|0644, st_size=8, ...}) = 0
open("/etc/mysql/conf.d/mysql.cnf", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=8, ...}) = 0
read(4, "[mysql]\n", 4096) = 8
read(4, "", 4096) = 0
close(4) = 0
stat("/etc/mysql/conf.d/mysqldump.cnf", {st_mode=S_IFREG|0644, st_size=55, ...}) = 0
open("/etc/mysql/conf.d/mysqldump.cnf", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=55, ...}) = 0
read(4, "[mysqldump]\nquick\nquote-names\nma"..., 4096) = 55
read(4, "", 4096) = 0
close(4) = 0
brk(0x55b939dd2000) = 0x55b939dd2000
brk(0x55b939dca000) = 0x55b939dca000
open("/etc/mysql/mysql.conf.d/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getdents(4, /
3 entries /, 32768) = 80
getdents(4, /
0 entries */, 32768) = 0
close(4) = 0
stat("/etc/mysql/mysql.conf.d/mysqld.cnf", {st_mode=S_IFREG|0644, st_size=1610, ...}) = 0
open("/etc/mysql/mysql.conf.d/mysqld.cnf", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=1610, ...}) = 0
read(4, "# Copyright (c) 2014, 2016, Orac"..., 4096) = 1610
read(4, "", 4096) = 0
close(4) = 0
read(3, "", 4096) = 0
close(3) = 0
brk(0x55b939dc9000) = 0x55b939dc9000
stat("/root/.my.cnf", 0x7ffe9e3e2780) = -1 ENOENT (No such file or directory)
getrlimit(RLIMIT_NOFILE, {rlim_cur=1073741816, rlim_max=1073741816}) = 0
mmap(NULL, 17179869184, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3c6eea4000
+++ killed by SIGKILL +++'

  • mysql_error 'mysqld failed while attempting to check config
    command was: strace -f mysqld --verbose --help
    execve("/usr/sbin/mysqld", ["mysqld", "--verbose", "--help"], [/* 29 vars /]) = 0
    brk(NULL) = 0x55b939d88000
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
    open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
    fstat(3, {st_mode=S_IFREG|0644, st_size=8740, ...}) = 0
    mmap(NULL, 8740, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f4070b76000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0Pa\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0755, st_size=135440, ...}) = 0
    mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4070b74000
    mmap(NULL, 2212936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4070739000
    mprotect(0x7f4070751000, 2093056, PROT_NONE) = 0
    mmap(0x7f4070950000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f4070950000
    mmap(0x7f4070952000, 13384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4070952000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libaio.so.1", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\6\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=5552, ...}) = 0
    mmap(NULL, 2101264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4070537000
    mprotect(0x7f4070538000, 2093056, PROT_NONE) = 0
    mmap(0x7f4070737000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0x7f4070737000
    mmap(0x7f4070738000, 16, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4070738000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/usr/lib/x86_64-linux-gnu/libnuma.so.1", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\00003\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=44192, ...}) = 0
    mmap(NULL, 2140320, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f407032c000
    mprotect(0x7f4070336000, 2093056, PROT_NONE) = 0
    mmap(0x7f4070535000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0x7f4070535000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libcrypt.so.1", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\v\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=39256, ...}) = 0
    mmap(NULL, 2322912, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f40700f4000
    mprotect(0x7f40700fc000, 2097152, PROT_NONE) = 0
    mmap(0x7f40702fc000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7f40702fc000
    mmap(0x7f40702fe000, 184800, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f40702fe000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\r\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=14640, ...}) = 0
    mmap(NULL, 2109680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406fef0000
    mprotect(0x7f406fef3000, 2093056, PROT_NONE) = 0
    mmap(0x7f40700f2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f40700f2000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340 \0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=31744, ...}) = 0
    mmap(NULL, 2128832, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406fce8000
    mprotect(0x7f406fcef000, 2093056, PROT_NONE) = 0
    mmap(0x7f406feee000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f406feee000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/usr/lib/x86_64-linux-gnu/libatomic.so.1", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\35\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=26768, ...}) = 0
    mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4070b72000
    mmap(NULL, 2125960, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406fae0000
    mprotect(0x7f406fae6000, 2093056, PROT_NONE) = 0
    mmap(0x7f406fce5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7f406fce5000
    mmap(0x7f406fce7000, 136, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f406fce7000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/usr/lib/x86_64-linux-gnu/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\267\10\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=1566168, ...}) = 0
    mmap(NULL, 3674720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406f75e000
    mprotect(0x7f406f8d0000, 2097152, PROT_NONE) = 0
    mmap(0x7f406fad0000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x172000) = 0x7f406fad0000
    mmap(0x7f406fadc000, 12896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f406fadc000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200V\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=1063328, ...}) = 0
    mmap(NULL, 3158248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406f45a000
    mprotect(0x7f406f55d000, 2093056, PROT_NONE) = 0
    mmap(0x7f406f75c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x102000) = 0x7f406f75c000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220
    \0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=92584, ...}) = 0
    mmap(NULL, 2188336, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406f243000
    mprotect(0x7f406f259000, 2093056, PROT_NONE) = 0
    mmap(0x7f406f458000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7f406f458000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\4\2\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0755, st_size=1689360, ...}) = 0
    mmap(NULL, 3795296, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406eea4000
    mprotect(0x7f406f039000, 2097152, PROT_NONE) = 0
    mmap(0x7f406f239000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x195000) = 0x7f406f239000
    mmap(0x7f406f23f000, 14688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f406f23f000
    close(3) = 0
    mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4070b70000
    mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4070b6d000
    arch_prctl(ARCH_SET_FS, 0x7f4070b6d740) = 0
    mprotect(0x7f406f239000, 16384, PROT_READ) = 0
    mprotect(0x7f406f458000, 4096, PROT_READ) = 0
    mprotect(0x7f406f75c000, 4096, PROT_READ) = 0
    mprotect(0x7f406fad0000, 40960, PROT_READ) = 0
    mprotect(0x7f4070950000, 4096, PROT_READ) = 0
    mprotect(0x7f406fce5000, 4096, PROT_READ) = 0
    mprotect(0x7f406feee000, 4096, PROT_READ) = 0
    mprotect(0x7f40700f2000, 4096, PROT_READ) = 0
    mprotect(0x7f40702fc000, 4096, PROT_READ) = 0
    mprotect(0x7f4070535000, 4096, PROT_READ) = 0
    mprotect(0x7f4070737000, 4096, PROT_READ) = 0
    mprotect(0x55b939515000, 1110016, PROT_READ) = 0
    mprotect(0x7f4070b79000, 4096, PROT_READ) = 0
    munmap(0x7f4070b76000, 8740) = 0
    set_tid_address(0x7f4070b6da10) = 14
    set_robust_list(0x7f4070b6da20, 24) = 0
    rt_sigaction(SIGRTMIN, {sa_handler=0x7f407073ebd0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f407074a0e0}, NULL, 8) = 0
    rt_sigaction(SIGRT_1, {sa_handler=0x7f407073ec60, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f407074a0e0}, NULL, 8) = 0
    rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
    getrlimit(RLIMIT_STACK, {rlim_cur=81921024, rlim_max=RLIM64_INFINITY}) = 0
    brk(NULL) = 0x55b939d88000
    brk(0x55b939dba000) = 0x55b939dba000
    open("/proc/self/status", O_RDONLY) = 3
    fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
    read(3, "Name:\tmysqld\nUmask:\t0022\nState:\t"..., 1024) = 1004
    close(3) = 0
    open("/sys/devices/system/node", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
    fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
    getdents(3, /
    10 entries /, 32768) = 312
    open("/sys/devices/system/node/node0/meminfo", O_RDONLY) = 4
    fstat(4, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
    read(4, "Node 0 MemTotal: 1985744 "..., 4096) = 965
    read(4, "", 4096) = 0
    close(4) = 0
    getdents(3, /
    0 entries /, 32768) = 0
    close(3) = 0
    sched_getaffinity(0, 512, [0, 1]) = 8
    open("/sys/devices/system/cpu", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
    fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
    getdents(3, /
    18 entries /, 32768) = 544
    getdents(3, /
    0 entries /, 32768) = 0
    close(3) = 0
    open("/proc/self/status", O_RDONLY) = 3
    fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
    read(3, "Name:\tmysqld\nUmask:\t0022\nState:\t"..., 1024) = 1004
    read(3, "", 1024) = 0
    close(3) = 0
    futex(0x7f406fadd03c, FUTEX_WAKE_PRIVATE, 2147483647) = 0
    futex(0x7f406fadd048, FUTEX_WAKE_PRIVATE, 2147483647) = 0
    stat("/etc/my.cnf", 0x7ffe9e3e2780) = -1 ENOENT (No such file or directory)
    stat("/etc/mysql/my.cnf", {st_mode=S_IFREG|0644, st_size=1215, ...}) = 0
    open("/etc/mysql/my.cnf", O_RDONLY) = 3
    fstat(3, {st_mode=S_IFREG|0644, st_size=1215, ...}) = 0
    read(3, "# Copyright (c) 2016, Oracle and"..., 4096) = 1215
    open("/etc/mysql/conf.d/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
    fstat(4, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    brk(0x55b939ddc000) = 0x55b939ddc000
    getdents(4, /
    5 entries /, 32768) = 152
    getdents(4, /
    0 entries /, 32768) = 0
    close(4) = 0
    stat("/etc/mysql/conf.d/docker.cnf", {st_mode=S_IFREG|0644, st_size=43, ...}) = 0
    open("/etc/mysql/conf.d/docker.cnf", O_RDONLY) = 4
    fstat(4, {st_mode=S_IFREG|0644, st_size=43, ...}) = 0
    read(4, "[mysqld]\nskip-host-cache\nskip-na"..., 4096) = 43
    read(4, "", 4096) = 0
    close(4) = 0
    stat("/etc/mysql/conf.d/mysql.cnf", {st_mode=S_IFREG|0644, st_size=8, ...}) = 0
    open("/etc/mysql/conf.d/mysql.cnf", O_RDONLY) = 4
    fstat(4, {st_mode=S_IFREG|0644, st_size=8, ...}) = 0
    read(4, "[mysql]\n", 4096) = 8
    read(4, "", 4096) = 0
    close(4) = 0
    stat("/etc/mysql/conf.d/mysqldump.cnf", {st_mode=S_IFREG|0644, st_size=55, ...}) = 0
    open("/etc/mysql/conf.d/mysqldump.cnf", O_RDONLY) = 4
    fstat(4, {st_mode=S_IFREG|0644, st_size=55, ...}) = 0
    read(4, "[mysqldump]\nquick\nquote-names\nma"..., 4096) = 55
    read(4, "", 4096) = 0
    close(4) = 0
    brk(0x55b939dd2000) = 0x55b939dd2000
    brk(0x55b939dca000) = 0x55b939dca000
    open("/etc/mysql/mysql.conf.d/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
    fstat(4, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    getdents(4, /
    3 entries /, 32768) = 80
    getdents(4, /
    0 entries */, 32768) = 0
    close(4) = 0
    stat("/etc/mysql/mysql.conf.d/mysqld.cnf", {st_mode=S_IFREG|0644, st_size=1610, ...}) = 0
    open("/etc/mysql/mysql.conf.d/mysqld.cnf", O_RDONLY) = 4
    fstat(4, {st_mode=S_IFREG|0644, st_size=1610, ...}) = 0
    read(4, "# Copyright (c) 2014, 2016, Orac"..., 4096) = 1610
    read(4, "", 4096) = 0
    close(4) = 0
    read(3, "", 4096) = 0
    close(3) = 0
    brk(0x55b939dc9000) = 0x55b939dc9000
    stat("/root/.my.cnf", 0x7ffe9e3e2780) = -1 ENOENT (No such file or directory)
    getrlimit(RLIMIT_NOFILE, {rlim_cur=1073741816, rlim_max=1073741816}) = 0
    mmap(NULL, 17179869184, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3c6eea4000
    +++ killed by SIGKILL +++'
  • mysql_log ERROR 'mysqld failed while attempting to check config
    command was: strace -f mysqld --verbose --help
    execve("/usr/sbin/mysqld", ["mysqld", "--verbose", "--help"], [/* 29 vars /]) = 0
    brk(NULL) = 0x55b939d88000
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
    open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
    fstat(3, {st_mode=S_IFREG|0644, st_size=8740, ...}) = 0
    mmap(NULL, 8740, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f4070b76000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0Pa\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0755, st_size=135440, ...}) = 0
    mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4070b74000
    mmap(NULL, 2212936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4070739000
    mprotect(0x7f4070751000, 2093056, PROT_NONE) = 0
    mmap(0x7f4070950000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f4070950000
    mmap(0x7f4070952000, 13384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4070952000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libaio.so.1", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\6\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=5552, ...}) = 0
    mmap(NULL, 2101264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4070537000
    mprotect(0x7f4070538000, 2093056, PROT_NONE) = 0
    mmap(0x7f4070737000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0x7f4070737000
    mmap(0x7f4070738000, 16, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4070738000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/usr/lib/x86_64-linux-gnu/libnuma.so.1", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\00003\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=44192, ...}) = 0
    mmap(NULL, 2140320, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f407032c000
    mprotect(0x7f4070336000, 2093056, PROT_NONE) = 0
    mmap(0x7f4070535000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0x7f4070535000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libcrypt.so.1", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\v\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=39256, ...}) = 0
    mmap(NULL, 2322912, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f40700f4000
    mprotect(0x7f40700fc000, 2097152, PROT_NONE) = 0
    mmap(0x7f40702fc000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7f40702fc000
    mmap(0x7f40702fe000, 184800, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f40702fe000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\r\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=14640, ...}) = 0
    mmap(NULL, 2109680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406fef0000
    mprotect(0x7f406fef3000, 2093056, PROT_NONE) = 0
    mmap(0x7f40700f2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f40700f2000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340 \0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=31744, ...}) = 0
    mmap(NULL, 2128832, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406fce8000
    mprotect(0x7f406fcef000, 2093056, PROT_NONE) = 0
    mmap(0x7f406feee000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f406feee000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/usr/lib/x86_64-linux-gnu/libatomic.so.1", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\35\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=26768, ...}) = 0
    mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4070b72000
    mmap(NULL, 2125960, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406fae0000
    mprotect(0x7f406fae6000, 2093056, PROT_NONE) = 0
    mmap(0x7f406fce5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7f406fce5000
    mmap(0x7f406fce7000, 136, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f406fce7000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/usr/lib/x86_64-linux-gnu/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\267\10\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=1566168, ...}) = 0
    mmap(NULL, 3674720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406f75e000
    mprotect(0x7f406f8d0000, 2097152, PROT_NONE) = 0
    mmap(0x7f406fad0000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x172000) = 0x7f406fad0000
    mmap(0x7f406fadc000, 12896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f406fadc000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200V\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=1063328, ...}) = 0
    mmap(NULL, 3158248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406f45a000
    mprotect(0x7f406f55d000, 2093056, PROT_NONE) = 0
    mmap(0x7f406f75c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x102000) = 0x7f406f75c000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220
    \0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=92584, ...}) = 0
    mmap(NULL, 2188336, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406f243000
    mprotect(0x7f406f259000, 2093056, PROT_NONE) = 0
    mmap(0x7f406f458000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7f406f458000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\4\2\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0755, st_size=1689360, ...}) = 0
    mmap(NULL, 3795296, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406eea4000
    mprotect(0x7f406f039000, 2097152, PROT_NONE) = 0
    mmap(0x7f406f239000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x195000) = 0x7f406f239000
    mmap(0x7f406f23f000, 14688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f406f23f000
    close(3) = 0
    mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4070b70000
    mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4070b6d000
    arch_prctl(ARCH_SET_FS, 0x7f4070b6d740) = 0
    mprotect(0x7f406f239000, 16384, PROT_READ) = 0
    mprotect(0x7f406f458000, 4096, PROT_READ) = 0
    mprotect(0x7f406f75c000, 4096, PROT_READ) = 0
    mprotect(0x7f406fad0000, 40960, PROT_READ) = 0
    mprotect(0x7f4070950000, 4096, PROT_READ) = 0
    mprotect(0x7f406fce5000, 4096, PROT_READ) = 0
    mprotect(0x7f406feee000, 4096, PROT_READ) = 0
    mprotect(0x7f40700f2000, 4096, PROT_READ) = 0
    mprotect(0x7f40702fc000, 4096, PROT_READ) = 0
    mprotect(0x7f4070535000, 4096, PROT_READ) = 0
    mprotect(0x7f4070737000, 4096, PROT_READ) = 0
    mprotect(0x55b939515000, 1110016, PROT_READ) = 0
    mprotect(0x7f4070b79000, 4096, PROT_READ) = 0
    munmap(0x7f4070b76000, 8740) = 0
    set_tid_address(0x7f4070b6da10) = 14
    set_robust_list(0x7f4070b6da20, 24) = 0
    rt_sigaction(SIGRTMIN, {sa_handler=0x7f407073ebd0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f407074a0e0}, NULL, 8) = 0
    rt_sigaction(SIGRT_1, {sa_handler=0x7f407073ec60, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f407074a0e0}, NULL, 8) = 0
    rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
    getrlimit(RLIMIT_STACK, {rlim_cur=81921024, rlim_max=RLIM64_INFINITY}) = 0
    brk(NULL) = 0x55b939d88000
    brk(0x55b939dba000) = 0x55b939dba000
    open("/proc/self/status", O_RDONLY) = 3
    fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
    read(3, "Name:\tmysqld\nUmask:\t0022\nState:\t"..., 1024) = 1004
    close(3) = 0
    open("/sys/devices/system/node", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
    fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
    getdents(3, /
    10 entries /, 32768) = 312
    open("/sys/devices/system/node/node0/meminfo", O_RDONLY) = 4
    fstat(4, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
    read(4, "Node 0 MemTotal: 1985744 "..., 4096) = 965
    read(4, "", 4096) = 0
    close(4) = 0
    getdents(3, /
    0 entries /, 32768) = 0
    close(3) = 0
    sched_getaffinity(0, 512, [0, 1]) = 8
    open("/sys/devices/system/cpu", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
    fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
    getdents(3, /
    18 entries /, 32768) = 544
    getdents(3, /
    0 entries /, 32768) = 0
    close(3) = 0
    open("/proc/self/status", O_RDONLY) = 3
    fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
    read(3, "Name:\tmysqld\nUmask:\t0022\nState:\t"..., 1024) = 1004
    read(3, "", 1024) = 0
    close(3) = 0
    futex(0x7f406fadd03c, FUTEX_WAKE_PRIVATE, 2147483647) = 0
    futex(0x7f406fadd048, FUTEX_WAKE_PRIVATE, 2147483647) = 0
    stat("/etc/my.cnf", 0x7ffe9e3e2780) = -1 ENOENT (No such file or directory)
    stat("/etc/mysql/my.cnf", {st_mode=S_IFREG|0644, st_size=1215, ...}) = 0
    open("/etc/mysql/my.cnf", O_RDONLY) = 3
    fstat(3, {st_mode=S_IFREG|0644, st_size=1215, ...}) = 0
    read(3, "# Copyright (c) 2016, Oracle and"..., 4096) = 1215
    open("/etc/mysql/conf.d/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
    fstat(4, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    brk(0x55b939ddc000) = 0x55b939ddc000
    getdents(4, /
    5 entries /, 32768) = 152
    getdents(4, /
    0 entries /, 32768) = 0
    close(4) = 0
    stat("/etc/mysql/conf.d/docker.cnf", {st_mode=S_IFREG|0644, st_size=43, ...}) = 0
    open("/etc/mysql/conf.d/docker.cnf", O_RDONLY) = 4
    fstat(4, {st_mode=S_IFREG|0644, st_size=43, ...}) = 0
    read(4, "[mysqld]\nskip-host-cache\nskip-na"..., 4096) = 43
    read(4, "", 4096) = 0
    close(4) = 0
    stat("/etc/mysql/conf.d/mysql.cnf", {st_mode=S_IFREG|0644, st_size=8, ...}) = 0
    open("/etc/mysql/conf.d/mysql.cnf", O_RDONLY) = 4
    fstat(4, {st_mode=S_IFREG|0644, st_size=8, ...}) = 0
    read(4, "[mysql]\n", 4096) = 8
    read(4, "", 4096) = 0
    close(4) = 0
    stat("/etc/mysql/conf.d/mysqldump.cnf", {st_mode=S_IFREG|0644, st_size=55, ...}) = 0
    open("/etc/mysql/conf.d/mysqldump.cnf", O_RDONLY) = 4
    fstat(4, {st_mode=S_IFREG|0644, st_size=55, ...}) = 0
    read(4, "[mysqldump]\nquick\nquote-names\nma"..., 4096) = 55
    read(4, "", 4096) = 0
    close(4) = 0
    brk(0x55b939dd2000) = 0x55b939dd2000
    brk(0x55b939dca000) = 0x55b939dca000
    open("/etc/mysql/mysql.conf.d/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
    fstat(4, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    getdents(4, /
    3 entries /, 32768) = 80
    getdents(4, /
    0 entries */, 32768) = 0
    close(4) = 0
    stat("/etc/mysql/mysql.conf.d/mysqld.cnf", {st_mode=S_IFREG|0644, st_size=1610, ...}) = 0
    open("/etc/mysql/mysql.conf.d/mysqld.cnf", O_RDONLY) = 4
    fstat(4, {st_mode=S_IFREG|0644, st_size=1610, ...}) = 0
    read(4, "# Copyright (c) 2014, 2016, Orac"..., 4096) = 1610
    read(4, "", 4096) = 0
    close(4) = 0
    read(3, "", 4096) = 0
    close(3) = 0
    brk(0x55b939dc9000) = 0x55b939dc9000
    stat("/root/.my.cnf", 0x7ffe9e3e2780) = -1 ENOENT (No such file or directory)
    getrlimit(RLIMIT_NOFILE, {rlim_cur=1073741816, rlim_max=1073741816}) = 0
    mmap(NULL, 17179869184, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3c6eea4000
    +++ killed by SIGKILL +++'
  • local type=ERROR
  • shift
    ++ date --rfc-3339=seconds
  • printf '%s [%s] [Entrypoint]: %s\n' '2019-10-28 15:19:42+00:00' ERROR 'mysqld failed while attempting to check config
    command was: strace -f mysqld --verbose --help
    execve("/usr/sbin/mysqld", ["mysqld", "--verbose", "--help"], [/* 29 vars /]) = 0
    brk(NULL) = 0x55b939d88000
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
    open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
    fstat(3, {st_mode=S_IFREG|0644, st_size=8740, ...}) = 0
    mmap(NULL, 8740, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f4070b76000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0Pa\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0755, st_size=135440, ...}) = 0
    mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4070b74000
    mmap(NULL, 2212936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4070739000
    mprotect(0x7f4070751000, 2093056, PROT_NONE) = 0
    mmap(0x7f4070950000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f4070950000
    mmap(0x7f4070952000, 13384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4070952000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libaio.so.1", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\6\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=5552, ...}) = 0
    mmap(NULL, 2101264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4070537000
    mprotect(0x7f4070538000, 2093056, PROT_NONE) = 0
    mmap(0x7f4070737000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0x7f4070737000
    mmap(0x7f4070738000, 16, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4070738000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/usr/lib/x86_64-linux-gnu/libnuma.so.1", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\00003\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=44192, ...}) = 0
    mmap(NULL, 2140320, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f407032c000
    mprotect(0x7f4070336000, 2093056, PROT_NONE) = 0
    mmap(0x7f4070535000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0x7f4070535000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libcrypt.so.1", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\v\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=39256, ...}) = 0
    mmap(NULL, 2322912, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f40700f4000
    mprotect(0x7f40700fc000, 2097152, PROT_NONE) = 0
    mmap(0x7f40702fc000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7f40702fc000
    mmap(0x7f40702fe000, 184800, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f40702fe000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\r\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=14640, ...}) = 0
    mmap(NULL, 2109680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406fef0000
    mprotect(0x7f406fef3000, 2093056, PROT_NONE) = 0
    mmap(0x7f40700f2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f40700f2000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340 \0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=31744, ...}) = 0
    mmap(NULL, 2128832, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406fce8000
    mprotect(0x7f406fcef000, 2093056, PROT_NONE) = 0
    mmap(0x7f406feee000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f406feee000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/usr/lib/x86_64-linux-gnu/libatomic.so.1", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\35\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=26768, ...}) = 0
    mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4070b72000
    mmap(NULL, 2125960, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406fae0000
    mprotect(0x7f406fae6000, 2093056, PROT_NONE) = 0
    mmap(0x7f406fce5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7f406fce5000
    mmap(0x7f406fce7000, 136, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f406fce7000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/usr/lib/x86_64-linux-gnu/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\267\10\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=1566168, ...}) = 0
    mmap(NULL, 3674720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406f75e000
    mprotect(0x7f406f8d0000, 2097152, PROT_NONE) = 0
    mmap(0x7f406fad0000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x172000) = 0x7f406fad0000
    mmap(0x7f406fadc000, 12896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f406fadc000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200V\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=1063328, ...}) = 0
    mmap(NULL, 3158248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406f45a000
    mprotect(0x7f406f55d000, 2093056, PROT_NONE) = 0
    mmap(0x7f406f75c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x102000) = 0x7f406f75c000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220
    \0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=92584, ...}) = 0
    mmap(NULL, 2188336, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406f243000
    mprotect(0x7f406f259000, 2093056, PROT_NONE) = 0
    mmap(0x7f406f458000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7f406f458000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\4\2\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0755, st_size=1689360, ...}) = 0
    mmap(NULL, 3795296, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406eea4000
    mprotect(0x7f406f039000, 2097152, PROT_NONE) = 0
    mmap(0x7f406f239000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x195000) = 0x7f406f239000
    mmap(0x7f406f23f000, 14688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f406f23f000
    close(3) = 0
    mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4070b70000
    mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4070b6d000
    arch_prctl(ARCH_SET_FS, 0x7f4070b6d740) = 0
    mprotect(0x7f406f239000, 16384, PROT_READ) = 0
    mprotect(0x7f406f458000, 4096, PROT_READ) = 0
    mprotect(0x7f406f75c000, 4096, PROT_READ) = 0
    mprotect(0x7f406fad0000, 40960, PROT_READ) = 0
    mprotect(0x7f4070950000, 4096, PROT_READ) = 0
    mprotect(0x7f406fce5000, 4096, PROT_READ) = 0
    mprotect(0x7f406feee000, 4096, PROT_READ) = 0
    mprotect(0x7f40700f2000, 4096, PROT_READ) = 0
    mprotect(0x7f40702fc000, 4096, PROT_READ) = 0
    mprotect(0x7f4070535000, 4096, PROT_READ) = 0
    mprotect(0x7f4070737000, 4096, PROT_READ) = 0
    mprotect(0x55b939515000, 1110016, PROT_READ) = 0
    mprotect(0x7f4070b79000, 4096, PROT_READ) = 0
    munmap(0x7f4070b76000, 8740) = 0
    set_tid_address(0x7f4070b6da10) = 14
    set_robust_list(0x7f4070b6da20, 24) = 0
    rt_sigaction(SIGRTMIN, {sa_handler=0x7f407073ebd0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f407074a0e0}, NULL, 8) = 0
    rt_sigaction(SIGRT_1, {sa_handler=0x7f407073ec60, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f407074a0e0}, NULL, 8) = 0
    rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
    getrlimit(RLIMIT_STACK, {rlim_cur=81921024, rlim_max=RLIM64_INFINITY}) = 0
    brk(NULL) = 0x55b939d88000
    brk(0x55b939dba000) = 0x55b939dba000
    open("/proc/self/status", O_RDONLY) = 3
    fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
    read(3, "Name:\tmysqld\nUmask:\t0022\nState:\t"..., 1024) = 1004
    close(3) = 0
    open("/sys/devices/system/node", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
    fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
    getdents(3, /
    10 entries /, 32768) = 312
    open("/sys/devices/system/node/node0/meminfo", O_RDONLY) = 4
    fstat(4, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
    read(4, "Node 0 MemTotal: 1985744 "..., 4096) = 965
    read(4, "", 4096) = 0
    close(4) = 0
    getdents(3, /
    0 entries /, 32768) = 0
    close(3) = 0
    sched_getaffinity(0, 512, [0, 1]) = 8
    open("/sys/devices/system/cpu", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
    fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
    getdents(3, /
    18 entries /, 32768) = 544
    getdents(3, /
    0 entries /, 32768) = 0
    close(3) = 0
    open("/proc/self/status", O_RDONLY) = 3
    fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
    read(3, "Name:\tmysqld\nUmask:\t0022\nState:\t"..., 1024) = 1004
    read(3, "", 1024) = 0
    close(3) = 0
    futex(0x7f406fadd03c, FUTEX_WAKE_PRIVATE, 2147483647) = 0
    futex(0x7f406fadd048, FUTEX_WAKE_PRIVATE, 2147483647) = 0
    stat("/etc/my.cnf", 0x7ffe9e3e2780) = -1 ENOENT (No such file or directory)
    stat("/etc/mysql/my.cnf", {st_mode=S_IFREG|0644, st_size=1215, ...}) = 0
    open("/etc/mysql/my.cnf", O_RDONLY) = 3
    fstat(3, {st_mode=S_IFREG|0644, st_size=1215, ...}) = 0
    read(3, "# Copyright (c) 2016, Oracle and"..., 4096) = 1215
    open("/etc/mysql/conf.d/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
    fstat(4, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    brk(0x55b939ddc000) = 0x55b939ddc000
    getdents(4, /
    5 entries /, 32768) = 152
    getdents(4, /
    0 entries /, 32768) = 0
    close(4) = 0
    stat("/etc/mysql/conf.d/docker.cnf", {st_mode=S_IFREG|0644, st_size=43, ...}) = 0
    open("/etc/mysql/conf.d/docker.cnf", O_RDONLY) = 4
    fstat(4, {st_mode=S_IFREG|0644, st_size=43, ...}) = 0
    read(4, "[mysqld]\nskip-host-cache\nskip-na"..., 4096) = 43
    read(4, "", 4096) = 0
    close(4) = 0
    stat("/etc/mysql/conf.d/mysql.cnf", {st_mode=S_IFREG|0644, st_size=8, ...}) = 0
    open("/etc/mysql/conf.d/mysql.cnf", O_RDONLY) = 4
    fstat(4, {st_mode=S_IFREG|0644, st_size=8, ...}) = 0
    read(4, "[mysql]\n", 4096) = 8
    read(4, "", 4096) = 0
    close(4) = 0
    stat("/etc/mysql/conf.d/mysqldump.cnf", {st_mode=S_IFREG|0644, st_size=55, ...}) = 0
    open("/etc/mysql/conf.d/mysqldump.cnf", O_RDONLY) = 4
    fstat(4, {st_mode=S_IFREG|0644, st_size=55, ...}) = 0
    read(4, "[mysqldump]\nquick\nquote-names\nma"..., 4096) = 55
    read(4, "", 4096) = 0
    close(4) = 0
    brk(0x55b939dd2000) = 0x55b939dd2000
    brk(0x55b939dca000) = 0x55b939dca000
    open("/etc/mysql/mysql.conf.d/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
    fstat(4, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    getdents(4, /
    3 entries /, 32768) = 80
    getdents(4, /
    0 entries /, 32768) = 0
    close(4) = 0
    stat("/etc/mysql/mysql.conf.d/mysqld.cnf", {st_mode=S_IFREG|0644, st_size=1610, ...}) = 0
    open("/etc/mysql/mysql.conf.d/mysqld.cnf", O_RDONLY) = 4
    fstat(4, {st_mode=S_IFREG|0644, st_size=1610, ...}) = 0
    read(4, "# Copyright (c) 2014, 2016, Orac"..., 4096) = 1610
    read(4, "", 4096) = 0
    close(4) = 0
    read(3, "", 4096) = 0
    close(3) = 0
    brk(0x55b939dc9000) = 0x55b939dc9000
    stat("/root/.my.cnf", 0x7ffe9e3e2780) = -1 ENOENT (No such file or directory)
    getrlimit(RLIMIT_NOFILE, {rlim_cur=1073741816, rlim_max=1073741816}) = 0
    mmap(NULL, 17179869184, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3c6eea4000
    +++ killed by SIGKILL +++'
    2019-10-28 15:19:42+00:00 [ERROR] [Entrypoint]: mysqld failed while attempting to check config
    command was: strace -f mysqld --verbose --help
    execve("/usr/sbin/mysqld", ["mysqld", "--verbose", "--help"], [/
    29 vars /]) = 0
    brk(NULL) = 0x55b939d88000
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
    open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
    fstat(3, {st_mode=S_IFREG|0644, st_size=8740, ...}) = 0
    mmap(NULL, 8740, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f4070b76000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0Pa\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0755, st_size=135440, ...}) = 0
    mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4070b74000
    mmap(NULL, 2212936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4070739000
    mprotect(0x7f4070751000, 2093056, PROT_NONE) = 0
    mmap(0x7f4070950000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f4070950000
    mmap(0x7f4070952000, 13384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4070952000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libaio.so.1", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\6\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=5552, ...}) = 0
    mmap(NULL, 2101264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4070537000
    mprotect(0x7f4070538000, 2093056, PROT_NONE) = 0
    mmap(0x7f4070737000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0x7f4070737000
    mmap(0x7f4070738000, 16, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4070738000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/usr/lib/x86_64-linux-gnu/libnuma.so.1", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\00003\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=44192, ...}) = 0
    mmap(NULL, 2140320, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f407032c000
    mprotect(0x7f4070336000, 2093056, PROT_NONE) = 0
    mmap(0x7f4070535000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0x7f4070535000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libcrypt.so.1", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\v\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=39256, ...}) = 0
    mmap(NULL, 2322912, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f40700f4000
    mprotect(0x7f40700fc000, 2097152, PROT_NONE) = 0
    mmap(0x7f40702fc000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7f40702fc000
    mmap(0x7f40702fe000, 184800, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f40702fe000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\r\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=14640, ...}) = 0
    mmap(NULL, 2109680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406fef0000
    mprotect(0x7f406fef3000, 2093056, PROT_NONE) = 0
    mmap(0x7f40700f2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f40700f2000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340 \0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=31744, ...}) = 0
    mmap(NULL, 2128832, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406fce8000
    mprotect(0x7f406fcef000, 2093056, PROT_NONE) = 0
    mmap(0x7f406feee000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f406feee000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/usr/lib/x86_64-linux-gnu/libatomic.so.1", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\35\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=26768, ...}) = 0
    mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4070b72000
    mmap(NULL, 2125960, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406fae0000
    mprotect(0x7f406fae6000, 2093056, PROT_NONE) = 0
    mmap(0x7f406fce5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7f406fce5000
    mmap(0x7f406fce7000, 136, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f406fce7000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/usr/lib/x86_64-linux-gnu/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\267\10\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=1566168, ...}) = 0
    mmap(NULL, 3674720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406f75e000
    mprotect(0x7f406f8d0000, 2097152, PROT_NONE) = 0
    mmap(0x7f406fad0000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x172000) = 0x7f406fad0000
    mmap(0x7f406fadc000, 12896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f406fadc000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200V\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=1063328, ...}) = 0
    mmap(NULL, 3158248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406f45a000
    mprotect(0x7f406f55d000, 2093056, PROT_NONE) = 0
    mmap(0x7f406f75c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x102000) = 0x7f406f75c000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220
    \0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=92584, ...}) = 0
    mmap(NULL, 2188336, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406f243000
    mprotect(0x7f406f259000, 2093056, PROT_NONE) = 0
    mmap(0x7f406f458000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7f406f458000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\4\2\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0755, st_size=1689360, ...}) = 0
    mmap(NULL, 3795296, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406eea4000
    mprotect(0x7f406f039000, 2097152, PROT_NONE) = 0
    mmap(0x7f406f239000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x195000) = 0x7f406f239000
    mmap(0x7f406f23f000, 14688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f406f23f000
    close(3) = 0
    mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4070b70000
    mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4070b6d000
    arch_prctl(ARCH_SET_FS, 0x7f4070b6d740) = 0
    mprotect(0x7f406f239000, 16384, PROT_READ) = 0
    mprotect(0x7f406f458000, 4096, PROT_READ) = 0
    mprotect(0x7f406f75c000, 4096, PROT_READ) = 0
    mprotect(0x7f406fad0000, 40960, PROT_READ) = 0
    mprotect(0x7f4070950000, 4096, PROT_READ) = 0
    mprotect(0x7f406fce5000, 4096, PROT_READ) = 0
    mprotect(0x7f406feee000, 4096, PROT_READ) = 0
    mprotect(0x7f40700f2000, 4096, PROT_READ) = 0
    mprotect(0x7f40702fc000, 4096, PROT_READ) = 0
    mprotect(0x7f4070535000, 4096, PROT_READ) = 0
    mprotect(0x7f4070737000, 4096, PROT_READ) = 0
    mprotect(0x55b939515000, 1110016, PROT_READ) = 0
    mprotect(0x7f4070b79000, 4096, PROT_READ) = 0
    munmap(0x7f4070b76000, 8740) = 0
    set_tid_address(0x7f4070b6da10) = 14
    set_robust_list(0x7f4070b6da20, 24) = 0
    rt_sigaction(SIGRTMIN, {sa_handler=0x7f407073ebd0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f407074a0e0}, NULL, 8) = 0
    rt_sigaction(SIGRT_1, {sa_handler=0x7f407073ec60, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f407074a0e0}, NULL, 8) = 0
    rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
    getrlimit(RLIMIT_STACK, {rlim_cur=81921024, rlim_max=RLIM64_INFINITY}) = 0
    brk(NULL) = 0x55b939d88000
    brk(0x55b939dba000) = 0x55b939dba000
    open("/proc/self/status", O_RDONLY) = 3
    fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
    read(3, "Name:\tmysqld\nUmask:\t0022\nState:\t"..., 1024) = 1004
    close(3) = 0
    open("/sys/devices/system/node", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
    fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
    getdents(3, /
    10 entries /, 32768) = 312
    open("/sys/devices/system/node/node0/meminfo", O_RDONLY) = 4
    fstat(4, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
    read(4, "Node 0 MemTotal: 1985744 "..., 4096) = 965
    read(4, "", 4096) = 0
    close(4) = 0
    getdents(3, /
    0 entries /, 32768) = 0
    close(3) = 0
    sched_getaffinity(0, 512, [0, 1]) = 8
    open("/sys/devices/system/cpu", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
    fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
    getdents(3, /
    18 entries /, 32768) = 544
    getdents(3, /
    0 entries /, 32768) = 0
    close(3) = 0
    open("/proc/self/status", O_RDONLY) = 3
    fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
    read(3, "Name:\tmysqld\nUmask:\t0022\nState:\t"..., 1024) = 1004
    read(3, "", 1024) = 0
    close(3) = 0
    futex(0x7f406fadd03c, FUTEX_WAKE_PRIVATE, 2147483647) = 0
    futex(0x7f406fadd048, FUTEX_WAKE_PRIVATE, 2147483647) = 0
    stat("/etc/my.cnf", 0x7ffe9e3e2780) = -1 ENOENT (No such file or directory)
    stat("/etc/mysql/my.cnf", {st_mode=S_IFREG|0644, st_size=1215, ...}) = 0
    open("/etc/mysql/my.cnf", O_RDONLY) = 3
    fstat(3, {st_mode=S_IFREG|0644, st_size=1215, ...}) = 0
    read(3, "# Copyright (c) 2016, Oracle and"..., 4096) = 1215
    open("/etc/mysql/conf.d/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
    fstat(4, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    brk(0x55b939ddc000) = 0x55b939ddc000
    getdents(4, /
    5 entries /, 32768) = 152
    getdents(4, /
    0 entries /, 32768) = 0
    close(4) = 0
    stat("/etc/mysql/conf.d/docker.cnf", {st_mode=S_IFREG|0644, st_size=43, ...}) = 0
    open("/etc/mysql/conf.d/docker.cnf", O_RDONLY) = 4
    fstat(4, {st_mode=S_IFREG|0644, st_size=43, ...}) = 0
    read(4, "[mysqld]\nskip-host-cache\nskip-na"..., 4096) = 43
    read(4, "", 4096) = 0
    close(4) = 0
    stat("/etc/mysql/conf.d/mysql.cnf", {st_mode=S_IFREG|0644, st_size=8, ...}) = 0
    open("/etc/mysql/conf.d/mysql.cnf", O_RDONLY) = 4
    fstat(4, {st_mode=S_IFREG|0644, st_size=8, ...}) = 0
    read(4, "[mysql]\n", 4096) = 8
    read(4, "", 4096) = 0
    close(4) = 0
    stat("/etc/mysql/conf.d/mysqldump.cnf", {st_mode=S_IFREG|0644, st_size=55, ...}) = 0
    open("/etc/mysql/conf.d/mysqldump.cnf", O_RDONLY) = 4
    fstat(4, {st_mode=S_IFREG|0644, st_size=55, ...}) = 0
    read(4, "[mysqldump]\nquick\nquote-names\nma"..., 4096) = 55
    read(4, "", 4096) = 0
    close(4) = 0
    brk(0x55b939dd2000) = 0x55b939dd2000
    brk(0x55b939dca000) = 0x55b939dca000
    open("/etc/mysql/mysql.conf.d/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
    fstat(4, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    getdents(4, /
    3 entries /, 32768) = 80
    getdents(4, /
    0 entries */, 32768) = 0
    close(4) = 0
    stat("/etc/mysql/mysql.conf.d/mysqld.cnf", {st_mode=S_IFREG|0644, st_size=1610, ...}) = 0
    open("/etc/mysql/mysql.conf.d/mysqld.cnf", O_RDONLY) = 4
    fstat(4, {st_mode=S_IFREG|0644, st_size=1610, ...}) = 0
    read(4, "# Copyright (c) 2014, 2016, Orac"..., 4096) = 1610
    read(4, "", 4096) = 0
    close(4) = 0
    read(3, "", 4096) = 0
    close(3) = 0
    brk(0x55b939dc9000) = 0x55b939dc9000
    stat("/root/.my.cnf", 0x7ffe9e3e2780) = -1 ENOENT (No such file or directory)
    getrlimit(RLIMIT_NOFILE, {rlim_cur=1073741816, rlim_max=1073741816}) = 0
    mmap(NULL, 17179869184, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3c6eea4000
    +++ killed by SIGKILL +++
    exit 1

I think this is root cause...

+++ killed by SIGKILL +++'
mysql_error 'mysqld failed while attempting to check config
command was: strace -f mysqld --verbose --help
execve("/usr/sbin/mysqld", ["mysqld", "--verbose", "--help"], [/* 29 vars /]) = 0
brk(NULL) = 0x55b939d88000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=8740, ...}) = 0
mmap(NULL, 8740, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f4070b76000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0Pa\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=135440, ...}) = 0

@tstromberg
Copy link
Contributor

tstromberg commented Oct 28, 2019

An mmap followed by a SIGKILL seems very suspicious. I'm betting that the Linux kernel OOM killer is killing this process, or possibly the kubelet.

getrlimit(RLIMIT_NOFILE, {rlim_cur=1073741816, rlim_max=1073741816}) = 0
mmap(NULL, 17179869184, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3c6eea4000
+++ killed by SIGKILL +++'

This is apparently mmap'ing 17GB of data in, which in itself, isn't too crazy - however, mysqld is specifying MAP_PRIVATE, which I believe implies that the underlying space has to actually exist for it to function properly.

       MAP_PRIVATE
              Create a private copy-on-write mapping.  Updates to the
              mapping are not visible to other processes mapping the same
              file, and are not carried through to the underlying file.  It
              is unspecified whether changes made to the file after the
              mmap() call are visible in the mapped region.

Could someone who has tried this include the output of minikube logs to confirm that the Linux OOM killer is at fault here?

If the OOM killer is responsible, it isn't clear what the right way forward is. The OOM killer in the v4.19 kernel is vastly improved over previous versions, and downgrading it isn't a good long-term option. One possible workaround (albeit with some negative consequences) to test is:

minikube ssh 'echo 1 | sudo tee /proc/sys/vm/overcommit_memory'

@DimitrijeManic
Copy link

Thanks for the updates. If someone is able to duplicate this, this will almost certainly point to the root cause:

strace -f mysqld --verbose --help

You may need to install the strace package into the container first.

I would have expected --verbose to emit something more useful, and for --help to not fail. My best guess to a root cause is a permissions change, but it really could be anything, as the v1.5.0 ISO has both a new kernel and a new userland.

I believe this will workaround the issue in the meantime:

minikube start --iso-url='https://storage.googleapis.com/minikube/iso/minikube-v1.4.0.iso'

@tstromberg The suggested workaround is not working for me
minikube : v1.5.0
helm: v2.9.1
mysql: 0.10.2 (tried with 1.4.0 as well)

@tstromberg
Copy link
Contributor

@DimitrijeManic - Sorry, I should have noted that you will need to first run minikube delete to delete an existing cluster in order for the --iso-url to have an effect. We should post a warning about that.

@DimitrijeManic
Copy link

@tstromberg I've done as you suggested but the error still persists
I tried to get the minikube vm logs but there isn't anything being logged under overcommit_memory
Error:

tee: /proc/sys/vm/overcommit_memory: No such file or directory

Running minikube logs, I see a single error at the bottom, could this be related?

E1028 16:47:29.923174       1 controller.go:682] Error watching for provisioning success, can't provision for claim "default/dev-api-mysql": events is forbidden: User "system:serviceaccount:kube-system:storage-provisioner" cannot list resource "events" in API group "" in the namespace "default"```

@DimitrijeManic
Copy link

@tstromberg Going further up the log stack I see something relating to OOM

==> dmesg <==
[  +0.000000] Total swap = 0kB
[  +0.000000] 1535902 pages RAM
[  +0.000001] 0 pages HighMem/MovableOnly
[  +0.000000] 47341 pages reserved
[  +0.000082] Out of memory: Kill process 16556 (mysqld) score 1663 or sacrifice child
[  +0.000003] Killed process 16556 (mysqld) total-vm:16816660kB, anon-rss:4469476kB, file-rss:4kB, shmem-rss:0kB
[Oct28 16:58] mysqld invoked oom-killer: gfp_mask=0x6280ca(GFP_HIGHUSER_MOVABLE|__GFP_ZERO), nodemask=(null), order=0, oom_score_adj=912
[  +0.000006] CPU: 0 PID: 20742 Comm: mysqld Tainted: G           O      4.19.76 #1
[  +0.000001] Hardware name:  BHYVE, BIOS 1.00 03/14/2014
[  +0.000000] Call Trace:
[  +0.000007]  dump_stack+0x5c/0x7b
[  +0.000004]  dump_header+0x66/0x28e
[  +0.000003]  ? wake_up_q+0x70/0x70
[  +0.000002]  oom_kill_process+0x251/0x270
[  +0.000002]  ? oom_badness+0x1e/0x130
[  +0.000002]  out_of_memory+0x28b/0x4a0
[  +0.000001]  __alloc_pages_slowpath+0x9c9/0xd10
[  +0.000003]  __alloc_pages_nodemask+0x27b/0x2a0
[  +0.000002]  alloc_pages_vma+0x130/0x180
[  +0.000002]  ? mem_cgroup_throttle_swaprate+0x14/0x140
[  +0.000002]  __handle_mm_fault+0x571/0xc30
[  +0.000002]  handle_mm_fault+0xd7/0x230
[  +0.000003]  __do_page_fault+0x23e/0x4c0
[  +0.000002]  ? page_fault+0x8/0x30
[  +0.000012]  page_fault+0x1e/0x30
[  +0.000002] RIP: 0033:0x7f9c686e220d
[  +0.000002] Code: 01 00 00 48 83 fa 40 77 77 c5 fe 7f 44 17 e0 c5 fe 7f 07 c5 f8 77 c3 66 0f 1f 44 00 00 c5 f8 77 48 89 d1 40 0f b6 c6 48 89 fa <f3> aa 48 89 d0 c3 0f 1f 00 66 2e 0f 1f 84 00 00 00 00 00 48 39 d1
[  +0.000001] RSP: 002b:00007ffd2c1d2118 EFLAGS: 00010202
[  +0.000001] RAX: 0000000000000000 RBX: 000000003ffffff8 RCX: 00000002edd39f90
[  +0.000001] RDX: 00007f98685b9410 RSI: 0000000000000000 RDI: 00007f997a87f000
[  +0.000000] RBP: 00007ffd2c1d2160 R08: 0000000000000010 R09: 00007f98685b9060
[  +0.000001] R10: 0000000000000022 R11: 00007f98685b93f0 R12: 0000000000000400
[  +0.000000] R13: 00007f98685b9010 R14: 000055da23689918 R15: 000055da23689950
[  +0.000002] Mem-Info:
[  +0.000016] active_anon:1367610 inactive_anon:69785 isolated_anon:0
               active_file:40 inactive_file:7 isolated_file:0
               unevictable:0 dirty:0 writeback:0 unstable:0
               slab_reclaimable:9174 slab_unreclaimable:15121
               mapped:21766 shmem:118598 pagetables:4479 bounce:0
               free:9107 free_pcp:0 free_cma:0
[  +0.000002] Node 0 active_anon:5470440kB inactive_anon:279140kB active_file:160kB inactive_file:28kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:87064kB dirty:0kB writeback:0kB shmem:474392kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
[  +0.000001] Node 0 DMA free:15892kB min:24kB low:36kB high:48kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15992kB managed:15908kB mlocked:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[  +0.000002] lowmem_reserve[]: 0 2858 5661 5661
[  +0.000001] Node 0 DMA32 free:16012kB min:4852kB low:7776kB high:10700kB active_anon:3009076kB inactive_anon:716kB active_file:0kB inactive_file:16kB unevictable:0kB writepending:0kB present:3129344kB managed:3063776kB mlocked:0kB kernel_stack:3648kB pagetables:8732kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[  +0.000002] lowmem_reserve[]: 0 0 2803 2803
[  +0.000002] Node 0 Normal free:4524kB min:4760kB low:7628kB high:10496kB active_anon:2461372kB inactive_anon:278424kB active_file:396kB inactive_file:20kB unevictable:0kB writepending:0kB present:2998272kB managed:2874560kB mlocked:0kB kernel_stack:7792kB pagetables:9184kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[  +0.000002] lowmem_reserve[]: 0 0 0 0
[  +0.000001] Node 0 DMA: 1*4kB (U) 0*8kB 1*16kB (U) 0*32kB 2*64kB (U) 1*128kB (U) 1*256kB (U) 0*512kB 1*1024kB (U) 1*2048kB (M) 3*4096kB (M) = 15892kB
[  +0.000006] Node 0 DMA32: 51*4kB (UME) 210*8kB (UME) 237*16kB (UME) 131*32kB (UME) 44*64kB (UME) 16*128kB (UE) 1*256kB (U) 0*512kB 1*1024kB (M) 0*2048kB 0*4096kB = 16012kB
[  +0.000006] Node 0 Normal: 146*4kB (MEH) 165*8kB (UMEH) 106*16kB (UMEH) 20*32kB (EH) 8*64kB (E) 0*128kB 2*256kB (UM) 0*512kB 0*1024kB 0*2048kB 0*4096kB = 5264kB
[  +0.000007] 118669 total pagecache pages
[  +0.000001] 0 pages in swap cache
[  +0.000000] Swap cache stats: add 0, delete 0, find 0/0
[  +0.000001] Free swap  = 0kB
[  +0.000000] Total swap = 0kB
[  +0.000000] 1535902 pages RAM
[  +0.000001] 0 pages HighMem/MovableOnly
[  +0.000000] 47341 pages reserved
[  +0.000093] Out of memory: Kill process 20742 (mysqld) score 1667 or sacrifice child
[  +0.000003] Killed process 20742 (mysqld) total-vm:16816660kB, anon-rss:4493492kB, file-rss:8kB, shmem-rss:0kB

@afbjorklund
Copy link
Collaborator

This suggests it is related to ulimit:
https://codar.club/blogs/record-a-k3s-mysql-start-oom-query.html

@tstromberg
Copy link
Contributor

tstromberg commented Oct 28, 2019

@DimitrijeManic - Thank you for confirming my suspicions!

> [  +0.000082] Out of memory: Kill process 16556 (mysqld) score 1663 or sacrifice child
> [  +0.000003] Killed process 16556 (mysqld) total-vm:16816660kB, anon-rss:4469476kB, file-rss:4kB, shmem-rss:0kB

It's not clear to me what changed to OOM accounting between Linux 4.15 and 4.19, but my guess is the root cause lies there. I do understand that 4.15 did not have a cgroups aware OOM killer though, but this seems like something more basic.

Here is the fixed command-line to adjust overcommit as a possible workaround:

minikube ssh 'echo 1 | sudo tee /proc/sys/vm/overcommit_memory'

@afbjorklund That would support the seemingly unrelated getrlimit call right beforehand:

getrlimit(RLIMIT_NOFILE, {rlim_cur=1073741816, rlim_max=1073741816}) = 0

Perhaps the best hint to MySQL would be setting a lower RLIMIT_NOFILE limit.

@tstromberg
Copy link
Contributor

tstromberg commented Oct 28, 2019

Digging around, I see that the v1.4.0 ISO had a lower rlimit:

$ sudo sysctl fs.nr_open
fs.nr_open = 1048576

Whereas v1.5.0 has:

$ sudo sysctl -a | grep fs | grep open
fs.nr_open = 1073741816

That would indicate to me that this is a good possible workaround for the MySQLd issue:

minikube ssh 'sudo sysctl -w fs.nr_open=1048576'

Could someone confirm that this works for them?

@DimitrijeManic
Copy link

@tstromberg running minikube ssh 'sudo sysctl fs.nr_open=1048576' does not resolve my error

@tstromberg tstromberg added this to the v1.5.1 milestone Oct 28, 2019
@afbjorklund
Copy link
Collaborator

The workaround from the article seem to work here:

                         _             _            
            _         _ ( )           ( )           
  ___ ___  (_)  ___  (_)| |/')  _   _ | |_      __  
/' _ ` _ `\| |/' _ `\| || , <  ( ) ( )| '_`\  /'__`\
| ( ) ( ) || || ( ) || || |\`\ | (_) || |_) )(  ___/
(_) (_) (_)(_)(_) (_)(_)(_) (_)`\___/'(_,__/'`\____)

$ docker run mysql:5.7.28     
2019-10-28 17:54:44+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.28-1debian9 started.
2019-10-28 17:54:45+00:00 [ERROR] [Entrypoint]: mysqld failed while attempting to check config
	command was: mysqld --verbose --help
	
$ docker run mysql:5.7.28 sh -c "ulimit -n 4096 && exec /usr/local/bin/docker-entrypoint.sh mysqld"
2019-10-28 17:54:55+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.28-1debian9 started.
2019-10-28 17:54:55+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2019-10-28 17:54:55+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.28-1debian9 started.
2019-10-28 17:54:55+00:00 [ERROR] [Entrypoint]: Database is uninitialized and password option is not specified
	You need to specify one of MYSQL_ROOT_PASSWORD, MYSQL_ALLOW_EMPTY_PASSWORD and MYSQL_RANDOM_ROOT_PASSWORD

@tstromberg
Copy link
Contributor

tstromberg commented Oct 29, 2019

For Docker runtime users, this seems to work:

minikube start --docker-opt="default-ulimit=nofile=102400:102400"  

I'm working on a solution to be released with minikube v1.5.1 later this week, along with integration tests to ensure that this isn't broken in the future.

For some reason, setting maxOpenFiles into the kubeadm config isn't working as expected. I'd rather find a way to set this that doesn't involve passing hints to each container runtime.

maelk added a commit to Nordix/metal3-dev-env that referenced this issue Oct 29, 2019
Will be removed when Minikube 1.5.1 is released
maelk added a commit to Nordix/metal3-dev-env that referenced this issue Oct 29, 2019
Will be removed when Minikube 1.5.1 is released
maelk added a commit to Nordix/metal3-dev-env that referenced this issue Oct 29, 2019
Will be removed when Minikube 1.5.1 is released
metal3-io-bot added a commit to metal3-io/metal3-dev-env that referenced this issue Oct 29, 2019
maelk added a commit to Nordix/metal3-dev-env that referenced this issue Oct 29, 2019
maelk added a commit to Nordix/metal3-dev-env that referenced this issue Oct 29, 2019
@andrebrait
Copy link

Same things happens to me. Also take a look at #5764, as I think these are connected.

@afbjorklund
Copy link
Collaborator

Did you find the OS change that caused this ? Or was it just the new kernel (4.15 -> 4.19)

@afbjorklund
Copy link
Collaborator

All that I can see is that some of the limits have increased, from 2018.05.x to 2019.02.x

i.e. "max locked memory": 16384k -> 65536k, "open files": 1048576 -> 1073741816

Not sure why, kernel docs still say the lower value:

nr_open:

This denotes the maximum number of file-handles a process can
allocate. Default value is 1024*1024 (1048576) which should be
enough for most machines. Actual limit depends on RLIMIT_NOFILE
resource limit.

The new number is equal to: 1024 * 1024 * 1024 - 8

LimitNOFILE=1048576
vs.
LimitNOFILE=infinity

i.e. the docker.service is actually requesting to be killed

It used to be 64*1024 (65536), now it is /proc/sys/fs/nr_open:
systemd/systemd@6385cb3

@afbjorklund
Copy link
Collaborator

Apparently this was "fixed" in the Docker service, but never brought to minikube:

moby/moby@428d733

It has a different reason for lowering the value (permissions), but anyway...

LimitNOFILE=1048576


And here is where the default number was raised, not by kernel but by systemd:

systemd/systemd@a8b627a

Since "everybody" uses cgroups, it is now "OK" to increase the value by 1024.

let's start with INT_MAX, and then keep halving the value until we find one that works

@bradowatson
Copy link

For Docker runtime users, this seems to work:

minikube start --docker-opt="default-ulimit=nofile=102400:102400"  

I'm working on a solution to be released with minikube v1.5.1 later this week, along with integration tests to ensure that this isn't broken in the future.

For some reason, setting maxOpenFiles into the kubeadm config isn't working as expected. I'd rather find a way to set this that doesn't involve passing hints to each container runtime.

Thank you so much for figuring this out and fixing it in 1.5.1. Everything was working fine for me on 1.4 last week and I upgraded to 1.5.0 and couldn't figure out what was going on. Was driving me crazy. Working again now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/support Categorizes issue or PR as a support question. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants