Adobe Commerce中OPcache内存大小的最佳实践

对于云基础架构上的Adobe Commerce Pro计划架构2.3.x,建议将opcache.memory_consumption设置为至少2 GB,以避免性能下降。

受影响的产品和版本

  • Adobe Commerce on cloud infrastructure Pro计划架构2.3.x
  • PHP 7.0及更高版本

配置内存

为​ OPcache PHP模块 ​分配至少2GB的内存。 已在php.ini文件中配置OPcache模块。 要分配2048 MB的内存,请设置opcache.memory_consumption = 2048

其他信息

recommendation-more-help
commerce-operations-help-implementation-playbook