Commit aac921e
committed
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.1 parent 9b37cd8 commit aac921e
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
| |||
0 commit comments