mod_file_cache unloads cache and load increases.

konrath

Well-Known Member
May 3, 2005
366
0
166
Brasil
Hello

I am using atop to monitor the performance of my server.

I use Apache compiled with mod_file_cache for better performance and reduce server load.

However I've noticed that when the cache is flushed the load increases.

Anyone know why the cache is deleted?

What should I set so that the cache is not clean?

Thank you
Marcelo Konrath
 

GIANT_CRAB

Well-Known Member
Mar 23, 2012
89
0
56
cPanel Access Level
Root Administrator
Cache will be deleted when:
  • Apache restarts
  • File in the cache directory gets modified (modified can be edit or delete)
  • Cache reaches maximum capacity and must flush in order for other files to be cached.

Also, an important thing to note is that CGI scripts (PHP/Perl/Ruby) cannot be cached via Apache modules.