Hi!
I need help with a bug in my store i've been trying to track down for some time already.
I've tracked the main source of the problem (but not its cause!) to a very specific file :
- The file - public_html/var/cache/prod/smarty/compile/07/8a/84/078a84f8a8b1ae87b36bbcebcc77937e82222561_2.file.payment.tpl.php seems to be constantly touched or rewritten (about every few seconds if not more often, according to its last modified date).
- The last modified date of the file often lags by a few minutes (still updates almost every second, but to a date a few minutes behind the actual current time). I'm also believe i saw it once with a date a few minutes in the future (not certain though, only happened once so far!)
- The file contains the cached version of the final checkout step (payment step) template.
- None of the checkout templates (or any other templates for that matter) have been modified recently.
-
I strongly suspect the file is being rewritten (or at least touched) on every visit to the store! (to ANY page, including the back-end, and not only when the checkout page is visited).
For info, there is a decent amount of traffic on my store, about 2000 - 3000 page views per day. - Deleting the file stops it from being constantly rewritten (it gets generated again when a user actually visits the checkout payment step)
The worst issue is that once in a while, about a 3-8 times per day (possibly because the file is constantly being touched or rewritten), the file gets corrupted with a large amount of null characters, which completely breaks the payment step (which just won't load anymore for users), and so prevents new orders.
And somehow, once the file gets corrupted, it doesn't get regenerated automatically and stays broken until i clear the cache or manually delete it.
Any help or insight on this problem would be greatly appreciated!
Edit : added further details
.png.022b5452a8f28f552bc9430097a16da2.png)