kyrofa / owncloud-snap

ownCloud packaged as a .snap for Ubuntu Core.
GNU General Public License v3.0
11 stars 4 forks source link

Tune opcache config #31

Open oparoz opened 8 years ago

oparoz commented 8 years ago

I'm using the default config, but some of you may want to make it more compatible with ownCloud

@jospoortvliet @ezraholm50 @enoch85

opcache.blacklist_filename  no value    no value
opcache.consistency_checks  0   0
opcache.dups_fix    Off Off
opcache.enable  On  On
opcache.enable_cli  Off Off
opcache.enable_file_override    Off Off
opcache.error_log   no value    no value
opcache.fast_shutdown   0   0
opcache.file_cache  no value    no value
opcache.file_cache_consistency_checks   1   1
opcache.file_cache_only 0   0
opcache.file_update_protection  2   2
opcache.force_restart_timeout   180 180
opcache.huge_code_pages Off Off
opcache.inherited_hack  On  On
opcache.interned_strings_buffer 4   4
opcache.log_verbosity_level 1   1
opcache.max_accelerated_files   2000    2000
opcache.max_file_size   0   0
opcache.max_wasted_percentage   5   5
opcache.memory_consumption  64  64
opcache.optimization_level  0x7FFFBFFF  0x7FFFBFFF
opcache.preferred_memory_model  no value    no value
opcache.protect_memory  0   0
opcache.restrict_api    no value    no value
opcache.revalidate_freq 2   2
opcache.revalidate_path Off Off
opcache.save_comments   1   1
opcache.use_cwd On  On
opcache.validate_timestamps On  On
enoch85 commented 8 years ago

Shouldn't we use Redis (instead)?

EDIT: Oh, opcache is the php stuff....

oparoz commented 8 years ago

@enoch85 - They're 2 different things. opcache caches code, Redis caches user data.

enoch85 commented 8 years ago

@oparoz Yes, that's why I said "oh" :) Thank you for explaining.

oparoz commented 8 years ago

@enoch85 Yeah, edit doesn't work well on Github. I've had really bizarre convos at times because people couldn't read my edits :D