I'm getting some really strange behavior in TT 2.05, which I don't believe I 
saw before.  I have a template which is getting corrupted.  The last two 
lines in the compiled template are:

}, Template::Document;
cument;

That stray 'cument;' at the end is killing the template.

The unusual part of my configuration is that I have a mod_perl handler and an 
offline page generation application running on the same machine, running as 
different users.  mod_perl tries to write to the cache as nobody and the 
other application as webadmin.  The only cause I can think of is two 
processes (either two processes of the multi-process page-generation app, or 
the page-generation app and the mod_perl process) are trying to write to the 
file at the same time.  But,

1) Why is only one file affected?
2) Why is it suddenly happening now?

On a clean apache restart, and after deleting the cache dir, I am able to get 
one page to render correctly in mod_perl before it breaks again.

Let me know what other information about my environment you need to help 
debug this.

Thanks for your help.
++t

-- 
Tony Payne  :  Sr. Software Engineer  :  PETsMART.com  :  626-817-7151


Reply via email to