Temp file cleanup?

Issues and Questions related to running Apache Tomcat on z/OS
Post Reply
djousma
Posts: 15
Joined: Wed Nov 28, 2012 5:01 pm

Temp file cleanup?

Post by djousma »

All,

Running latest Tomcat 7.0.0, and am looking to solve some housekeeping problems. this is with regards to the cache files that get written to:

IJO="$IJO -Djava.io.tmpdir=${CATALINA_BASE}/temp"

Not very big, but a lot of them:

JSPWiki--103897 Dir rwxr-xr-x fff--- ---- TOMCAT OMVSGRP 4 352 2012/11/28 13:44:23
JSPWiki--116935 Dir rwxr-xr-x fff--- ---- TOMCAT OMVSGRP 4 352 2012/11/28 14:28:18
JSPWiki--156391 Dir rwxr-xr-x fff--- ---- TOMCAT OMVSGRP 5 384 2012/11/28 12:39:00
JSPWiki--164716 Dir rwxr-xr-x fff--- ---- TOMCAT OMVSGRP 5 384 2012/11/28 14:29:06
JSPWiki--167884 Dir rwxr-xr-x fff--- ---- TOMCAT OMVSGRP 4 352 2012/11/28 14:27:53
JSPWiki--208842 Dir rwxr-xr-x fff--- ---- TOMCAT OMVSGRP 4 352 2012/11/28 14:48:07
JSPWiki--336859 Dir rwxr-xr-x fff--- ---- TOMCAT OMVSGRP 2 256 2012/11/28 08:50:38
JSPWiki--519837 Dir rwxr-xr-x fff--- ---- TOMCAT OMVSGRP 4 352 2012/11/28 14:38:21
JSPWiki--722325 Dir rwxr-xr-x fff--- ---- TOMCAT OMVSGRP 4 352 2012/11/28 11:23:51
JSPWiki-1051406 Dir rwxr-xr-x fff--- ---- TOMCAT OMVSGRP 4 352 2012/11/28 13:50:34
JSPWiki-1059282 Dir rwxr-xr-x fff--- ---- TOMCAT OMVSGRP 4 352 2012/11/28 14:47:52
JSPWiki-1150151 Dir rwxr-xr-x fff--- ---- TOMCAT OMVSGRP 3 320 2012/11/28 11:10:54
JSPWiki-1504712 Dir rwxr-xr-x fff--- ---- TOMCAT OMVSGRP 4 352 2012/11/28 13:46:32

I dont see a setting offhand that will automatically delete these. Is there one? Or do i need to roll my own?

On the same note, Wiki log files as specified by the following, should last no longer than 3 days, correct? Will those automatically get deleted?

log4j.appender.FileLog.MaxFileSize = 10MB
log4j.appender.FileLog.MaxBackupIndex = 3
log4j.appender.FileLog.File = /opt/fitb/tomcatdb/logs/jspwiki.log

We've had problems with older releases of tomcat/jspwiki filling up filesystems with these files, and since I am upgrading everything to newer levels, wanted to solve this issue too.

Thanks in advance, Dave
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: Temp file cleanup?

Post by dovetail »

These seem to be temporary working directories created by JspWiki.
Best I think to go here for answers: http://www.jspwiki.org/wiki/JSPWikiSupport
djousma
Posts: 15
Joined: Wed Nov 28, 2012 5:01 pm

Re: Temp file cleanup?

Post by djousma »

Yes, Thanks.
Post Reply