Prevent CPanel auto-generation that breaks Releem config #217
Closed
drupaladmin
started this conversation in
Feature Requests
Replies: 1 comment
|
Added to the WHM module installation |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
To prevent innodb_buffer_pool_size and max_allowed_packet auto generating by cpanel i suggest adding this to your install script for cpanel servers which disables that feature
cat /var/cpanel/cpanel.config | grep mycnf_auto_adjust
whmapi1 --output=jsonpretty
set_tweaksetting
key='mycnf_auto_adjust_innodb_buffer_pool_size'
value='0'
whmapi1 --output=jsonpretty
set_tweaksetting
key='mycnf_auto_adjust_maxallowedpacket'
value='0'
whmapi1 --output=jsonpretty
set_tweaksetting
key='mycnf_auto_adjust_openfiles_limit'
value='0'
cat /var/cpanel/cpanel.config | grep mycnf_auto_adjust
or maybe have a sanity check to ensure the config is correct and to display a warning
All reactions