So, ich hab jetzt alles versucht.
Bevor ich den post von Florian gelesen habe habe ich in der Datei
nano /lib/systemd/system/mariadb.service das
LimitNOFILE=32xxx zu
LimitNOFILE=80000 geändert im nano editor.
Anschliessend den Befehl
mysqltuner ausgeführt. Ohne Perl oder mysqltuner.pl ging es dann
Dann habe ich den Befehl
egrep "open files" /proc/$(cat `mysql -Ne "show variables like 'pid_file'" | awk '{print $2}'`)/limits ausgeführt und es wurden mir immer noch 16455 angezeigt.
Dann habe ich Florians Befehl nochmal eingegeben
nano systemctl edit mariadb und je
eingegeben. Keine Ahnung warum aber musste es 3x eingeben, da der editor 3x hintereinander kam nur mit anderer Überschrift. 1x systemctl 1xedit und 1x mariadb dann war control+X wieder in der Konsole.
Das ganze sah dann so aus:
Code: Select all
[1/3] systemctl
[Service]
LimitNOFILE=64000
^G Get Help ^O Write Out ^W Where Is ^K Cut Text ^J Justify ^C Cur Pos
^X Close ^R Read File ^\ Replace ^U Paste Text^T To Spell ^_ Go To Line
Code: Select all
[1/2] edit
[Service]
LimitNOFILE=64000
[ edit -- 2 lines ]
^G Get Help ^O Write Out ^W Where Is ^K Cut Text ^J Justify ^C Cur Pos
^X Close ^R Read File ^\ Replace ^U Paste Text^T To Spell ^_ Go To Line
Code: Select all
[1/1] mariadb
[Service]
LimitNOFILE=64000
[ mariadb -- 2 lines ]
^G Get Help ^O Write Out ^W Where Is ^K Cut Text ^J Justify ^C Cur Pos
^X Exit ^R Read File ^\ Replace ^U Paste Text^T To Spell ^_ Go To Line
Reboot und den Befehl
egrep "open files" /proc/$(cat `mysql -Ne "show variables like 'pid_file'" | awk '{print $2}'`)/limits erneut angegeben, zeigt immer noch 16455 an.
Keine Ahnung was ich da falsch mache.