Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
dhijrwn wrote:Hi guys, I'm getting too many open files on mysql server and I tried to edit it but I failed.
ulimit -a
open files 1024
How can I edit it up to 4096?
I tried to use the ulimit -n 4096 and restart mysql
I'm still getting [Warning] Could not increase number of max_open_files to more than 1024 (request: 66575) on systemctl status mysql
cat /proc/sys/fs/file-max
ulimit -Hn
ulimit -Sn
cat /etc/sysctl.conf | grep file-max
cat /etc/security/limits.conf | grep nofile
ulimit -n 30000
Users browsing this forum: Majestic-12 [Bot] and 111 guests