file messed up after clearing template cache on heavily loaded server
| From: | Frank Adler | Date: | Thu, 26 Sep 2002 19:03:44 +0000 |
| Subject: | file messed up after clearing template cache on heavily loaded server | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6027@lists.php.net to get a copy of this message | ||
After clearing template and file cache
$smarty->clear_compiled_tpl();
$smarty->clear_all_cache();
we found a file in the template cache which seems to consist of the
regular part and some apended stuff. The associated page could not be
displayed because of "Parse error: parse error in
PATH_TO_COMPILED_TEMPLATE on line XXX".
Is it possible that on a loaded server (linux) one process is already
writing new compiled templates while the other is still removing? Did
anyone else ever seen this behaviour?
Regards,
Frank Adler