apache2 - PHP APC module. Any disadvantages? -


i wanted know if thought if there disadvantages using apc? also, i'd interested in reviewing these options below , getting opinion on them.

thanks.

; enable apc extension module extension = apc.so ; options apc module apc.enabled=1 apc.shm_segments=1 apc.optimization=0 apc.shm_size=256m apc.ttl=7200 apc.user_ttl=7200 apc.num_files_hint=1024 apc.mmap_file_mask=/tmp/apc.xxxxxx apc.enable_cli=1 apc.cache_by_default=1 

practically none, if you're comparing not using bytecode cache @ all. having said that, here's might need aware of:

  1. apc additional piece of software, if there's bug in apc site may affected it. happens time time, apc used software chances you'd encounter bug wasn't found , fixed quite low unless serious dark magic php.

  2. beware of scripts change or of applications generate large number of files may not ever used again (some templating systems might that). eat memory , reduce efficiency of caching, use apc.filters ignore such files.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -