Hello,
i have exactly the same settings as your attached screens, and its the same it needs like 6,7 hours to make files in compile folder, during this time when there is no files in compile folder, site is soo slow, also site is crashing on front page sometimes - appagebuilder, it just doesnt load products and then you refresh site and it loads, like there is some memory limit ? that it cant handle too many products on frons page and it could be same problem that causing for smarty ?
Also i installed clean prestashop installation with default theme and its same, it can't compile cache, i have Plesk control panel and they are keep telling me that this is prestashop problem but i don't belive. It must be some limits that are not enabled, do you maybe know ?