Hi,
I have a question about Tomcat's "xwiki-temp" directory causing substantial
slowdowns at startup.
I am running XWiki 4.2 on Tomcat (on Windows Server 2008 R2).
I was noticing very lengthy startup times (easily an hour or more), and
finally tracked the source of the problem to the "xwiki-temp" Tomcat
directory:
\Tomcat\work\Catalina\xxx.xxx.xxx.xxx\xwiki\xwiki-temp
This directory has tens of thousands of identical files, and appears to not
be cleared between Tomcat restarts. After a week it's at about 70,000 files
and 500MB.
Deleting the contents of this directory immediately remedied my slow
startup times, but over time the directory fills back up and needs to be
cleared out again.
The majority of the directory is filled with subdirectories with
alphanumeric codes, like:
G6mHPTWL
kJar6JFZ
The contents of each subfolder is identical, with two more subfolders:
/attachment - this contains 2 PNG files:
xwiki.ColorThemes.DefaultColorTheme.header.png
xwiki.ColorThemes.DefaultColorTheme.logo.png
/skins - this contains a number of other subdirectories for the colibri
skin, all with css files from the skin.
I understand this is likely a Tomcat problem more than an XWiki problem per
se, but am hoping someone else out there has seen it before and has an idea
what's going on or how to fix it.
thanks,
Aaron