[Maria-discuss] out of memory linux kill and mysqld_multi
Hi guys, could we include a configuration at mysqld_mult and mysqld_safe? at linux killing the mysqld process is a big problem, i prefer leave it as the last process to kill check this post : http://www.oracle.com/technetwork/articles/servers-storage-dev/oom-killer-19... in this case oracle is the last tprocess to kill they use the /proc kernel interface to set the oom_adj i don't read the mysqld_safe and mysqld_multi, but could we include this at my.cnf? my last crash was a big trouble, if kernel killed the others process before mysql maybe the mysqld couldn't be killed thanks guys i will create a MDEV about it -- Roberto Spadim
https://mariadb.atlassian.net/browse/MDEV-9264 i don't know how others os works but at least in linux we could implement this 2015-12-10 23:39 GMT-02:00 Roberto Spadim <roberto@spadim.com.br>:
Hi guys, could we include a configuration at mysqld_mult and mysqld_safe?
at linux killing the mysqld process is a big problem, i prefer leave it as the last process to kill
check this post : http://www.oracle.com/technetwork/articles/servers-storage-dev/oom-killer-19...
in this case oracle is the last tprocess to kill
they use the /proc kernel interface to set the oom_adj
i don't read the mysqld_safe and mysqld_multi, but could we include this at my.cnf? my last crash was a big trouble, if kernel killed the others process before mysql maybe the mysqld couldn't be killed
thanks guys i will create a MDEV about it
-- Roberto Spadim
-- Roberto Spadim SPAEmpresarial - Software ERP Eng. Automação e Controle
Am 11.12.2015 um 02:39 schrieb Roberto Spadim:
Hi guys, could we include a configuration at mysqld_mult and mysqld_safe?
at linux killing the mysqld process is a big problem, i prefer leave it as the last process to kill
check this post :http://www.oracle.com/technetwork/articles/servers-storage-dev/oom-killer-19...
in this case oracle is the last tprocess to kill
they use the /proc kernel interface to set the oom_adj
that's a deprecated interface and i had something similar years ago in the sysvinit-script but after more than 4 years systemd: LimitNOFILE=infinity LimitMEMLOCK=infinity OOMScoreAdjust=-1000
participants (2)
-
Reindl Harald
-
Roberto Spadim