Skip to content

Commit

Permalink
mediawiki: increase opcache memory (#3957)
Browse files Browse the repository at this point in the history
  • Loading branch information
Universal-Omega authored Sep 22, 2024
1 parent 6b816d3 commit 6e41153
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions hieradata/role/common/mediawiki_task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ mediawiki::php::apc_shm_size: 4096M
mediawiki::php::fpm_config:
post_max_size: '250M'
upload_max_filesize: '250M'
opcache.interned_strings_buffer: 96
opcache.memory_consumption: 1024
opcache.interned_strings_buffer: 256
opcache.memory_consumption: 2048
max_execution_time: 1200

mediawiki::php::increase_open_files: true
Expand Down
4 changes: 2 additions & 2 deletions modules/mediawiki/manifests/php.pp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
$config_opcache = {
'opcache.enable' => 1,
'opcache.enable_cli' => 1,
'opcache.interned_strings_buffer' => 96,
'opcache.memory_consumption' => 1024,
'opcache.interned_strings_buffer' => 256,
'opcache.memory_consumption' => 2048,
'opcache.max_accelerated_files' => 50000,
'opcache.max_wasted_percentage' => 10,
'opcache.validate_timestamps' => 1,
Expand Down

0 comments on commit 6e41153

Please sign in to comment.