Skip to main content

OpCache - Change Memory to 256

Comments

4 comments

  • cPanelLauren
    Hello, Are you using the php selector with CloudLinux as well? If so you'll need to edit the opcache configuration in /opt/alt/php73/etc/php.d.all/opcache.ini
    then rebuild the cage with: cagefsctl --rebuild-alt-php-ini
    If you need it to change it for a specific user: su -s /bin/bash USERNAME
    cd /etc/cl.php.d/alt-phpXX/
    (where XX is the PHP version) Add the parameters to custom.ini
    0
  • cmswebsolutions
    Thanks for the reply and I am using the PHP Selector with Cloud Linux. I tried both suggestions and still the "tweaked" settings are not being implemented. Or at least they are not according to PHP 7.3.11 with OpCache 7.3.11 The memory should have changed to 256. Not sure if this is the problem, but when I ran the command to rebuild CageFS, I had these error messages? [root@server2019 ~]# cagefsctl --rebuild-alt-php-ini sda3: warning, user block quota exceeded. sda3: warning, user block quota exceeded. sda3: warning, user block quota exceeded. sda3: warning, user block quota exceeded. sda3: warning, user block quota exceeded. sda3: warning, user block quota exceeded. sda3: warning, user block quota exceeded. sda3: warning, user block quota exceeded. sda3: warning, user block quota exceeded. sda3: warning, user block quota exceeded. sda3: warning, user block quota exceeded. Any clues as to what might be causing this error message? SDA3 is the main drive, which is 1.8T (RAID10) and is only 25% utilised
    0
  • cPanelLauren
    Hello, It seems like you might have a couple of issues occurring here, if the cage can't update then the changes you're making won't be reflected. What's the output of the following: df -kh
    quota -sv
    0
  • sahostking
    I think it is updating its just some customers it cant update before they may have reached their inode limits? Just a possibility
    0

Please sign in to leave a comment.