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

mariadb: allow mysqld to set max_connections at startup #86

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Mar 29, 2023

  1. mariadb: allow mysqld to set max_connections at startup

    Mariadb pods are started as user mysql, which has no specific right
    to configure file descriptor limits. This prevents the server from
    honoring the requested max_connections of 4096.
    
    Make the pod start mysqld as root, and let the mysqld server drop
    privileges to user mysql explicitly. This way, the server can
    configure limits prior to accepting connections.
    dciabrin committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    aac921e View commit details
    Browse the repository at this point in the history