Queens: mysql/galera container inherits a small nproc limit from base container image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
In Progress
|
Low
|
Damien Ciabrini |
Bug Description
In Queens, the mysql container image is built from a CentOS 7 base container image. This comes with a default nproc limit for regular users of 4096 procs:
# cat /etc/security/
# Default limit for number of user's processes to prevent
# accidental fork bombs.
# See rhbz #432903 for reasoning.
* soft nproc 4096
root soft nproc unlimited
When starting mysql or galera containers, the mysqld server runs as user mysql, which thus inherits this limit.
While other limits like number of file descriptors can be configured via hiera, currently one cannot override this default nproc limit, which under certain circumstances can become an issue.
Fix proposed to branch: stable/queens /review. opendev. org/759083
Review: https:/