Skip to main content

Could not increase number of max_open_files to more than 15000

Comments

7 comments

  • User Avatar
    SamuelM
    Hello @albatroz Can you check if the "Allow cPanel & WHM to determine the best value for your MySQL open_files_limit configuration?" option is enabled in the Tweak Settings interface in WHM?
    0
  • User Avatar
    sajithgsm
    Hi, this happened me today. I have run this. /usr/local/cpanel/scripts/auto-adjust-mysql-limits But its getting a error like this. warn [auto-adjust-mysql-limits] Adjust called while MySQL is not running, OpenFiles cannot be adjusted at this time Is there any way to solve this issue?
    0
  • User Avatar
    cPRex Jurassic Moderator
    @sajithgsm - that error would seem to indicate that MySQL is not running on the system. Can you send me the output of this command from your server? ps aux | grep -i mysql
    0
  • User Avatar
    sajithgsm
    this is the result root 19771 0.0 0.0 112808 1004 pts/0 S+ 09:28 0:00 grep --color=auto -i mysql
    0
  • User Avatar
    cPRex Jurassic Moderator
    Thanks for that output - that would indicate that MySQL is not running on that server. Are you possibly running MariaDB instead?
    0
  • User Avatar
    sajithgsm
    Hi, I was running MariaDB on the server. [root@cdn ~]# ps aux | grep -i mariadb root 21204 0.0 0.0 112808 1004 pts/0 S+ 09:37 0:00 grep --color=auto -i mariadb [root@cdn ~]# I just tried to upgrade mariadb 10.3 to 10.5 also. It also failed.
    0
  • User Avatar
    cPRex Jurassic Moderator
    Since the upgrade failed it appears there are not any databases running on the machine, so that command wouldn't work. It might be best to submit a ticket to our team so we can checked the failed database upgrade and the system with you.
    0

Please sign in to leave a comment.