Opcache, storing cached files longer

#1
I notice that that the cache flushes itself more frequently that I thought. I was thinking of how to store the cache for a longer period? I'm not sure what options to change.

Currently, I have:
opcache.force_restart_timeout = 180
opcache.revalidate_freq = 60

Is changing them to higher values advisable?

Also, I'm using this box for shared hosting and memory model is mmap. Is SHM better or more memory hog?
 
#3
I believe I've done that already, opcache is already working.
But is it good to store the files in memory longer, and how to proceed with that?
 

NiteWave

Administrator
#4
can you provide more info regarding
1)about how long cache flushes itself, and how to know it ?
2)increase force_restart_timeout to a bigger value, any help ?
 
Top