You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Peter Alvin <pa...@surplusmax.com> on 2004/09/02 22:47:19 UTC
Kinda Urgent: Huge Temporary Files (>2BG) Fill Up Root Partition (mrfxxxxx.tmp files?)
Hello,
I've spent about 5 hours researching this myself--including the
mailing list archives--and have yet to find any references let alone
solutions. There are no references to "mrf" files that are causing
me grief. This posting is my only hope! :)
Here's the scoop: Massively HUGE .tmp files grow in this directory:
/var/cache/tomcat4/temp
Here is an example:
-rw-r--r-- 1 tomcat4 tomcat4 0 Sep 2 11:21 mrf20758.tmp
-rw-r--r-- 1 tomcat4 tomcat4 0 Sep 2 11:20 mrf20757.tmp
-rw-r--r-- 1 tomcat4 tomcat4 0 Sep 2 11:19 mrf20756.tmp
-rw-r--r-- 1 tomcat4 tomcat4 2272915456 Sep 2 11:19
mrf20744.tmp
-rw-r--r-- 1 tomcat4 tomcat4 0 Sep 2 11:17 mrf20755.tmp
-rw-r--r-- 1 tomcat4 tomcat4 0 Sep 2 11:17 mrf20754.tmp
-rw-r--r-- 1 tomcat4 tomcat4 0 Sep 2 11:16 mrf20753.tmp
I don't know what these files are for nor why some of them grow to
over 2GB.
It's kinda urgent because this kills our server every 24 hours or so.
It forces me to stop tomcat, delete the files, then re-start.
Sometimes I have to do a kill -9 on the tomcat process because the
process is apparently stuck still trying to write yet more bytes to
these files!
Incidently, we have another server with the same directory, but there
are only just a few of these mrf files and they don't grow to be very
big--so, it's not a problem on the other server.
Also incidently, our Java program uses a lot of memory which causes
frequent and long garbage collections. Are these related?
Can anyone help? What are these files for?
Peter Alvin
mobile 719-210-3858
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Kinda Urgent: Huge Temporary Files (>2BG) Fill Up Root Partition (mrfxxxxx.tmp files?)
Posted by QM <qm...@brandxdev.net>.
On Fri, Sep 03, 2004 at 07:19:08AM +0200, Nikola Milutinovic wrote:
: >Check with the app's developers -- perhaps they're creating temp files
:
: Could it be a session holding many objects? Or an application scope
: holding the same?
Doubtful, as (IIRC) all that happens in memory.
This sounds like something the app's developers are doing, either
directly (their own code) or indirectly (using a third-party toolkit).
The ".mf" extension will likely be your clue.
-QM
--
software -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Kinda Urgent: Huge Temporary Files (>2BG) Fill Up Root Partition
(mrfxxxxx.tmp files?)
Posted by Nikola Milutinovic <Ni...@ev.co.yu>.
QM wrote:
> On Thu, Sep 02, 2004 at 02:47:19PM -0600, Peter Alvin wrote:
> : Here's the scoop: Massively HUGE .tmp files grow in this directory:
> :
> : /var/cache/tomcat4/temp
> :
> : Here is an example:
> :
> : -rw-r--r-- 1 tomcat4 tomcat4 2272915456 Sep 2 11:19 mrf20744.tmp
> : I don't know what these files are for nor why some of them grow to
> : over 2GB.
>
> Check with the app's developers -- perhaps they're creating temp files
> within their code, and the dir you've mentioned above is the designated
> Java temp dir? (I forget the system property name, but it's
> java.tmp.dir or something like that.)
Could it be a session holding many objects? Or an application scope
holding the same?
Nix.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Kinda Urgent: Huge Temporary Files (>2BG) Fill Up Root Partition (mrfxxxxx.tmp files?)
Posted by QM <qm...@brandxdev.net>.
On Thu, Sep 02, 2004 at 02:47:19PM -0600, Peter Alvin wrote:
: Here's the scoop: Massively HUGE .tmp files grow in this directory:
:
: /var/cache/tomcat4/temp
:
: Here is an example:
:
: -rw-r--r-- 1 tomcat4 tomcat4 2272915456 Sep 2 11:19 mrf20744.tmp
: I don't know what these files are for nor why some of them grow to
: over 2GB.
Check with the app's developers -- perhaps they're creating temp files
within their code, and the dir you've mentioned above is the designated
Java temp dir? (I forget the system property name, but it's
java.tmp.dir or something like that.)
-QM
--
software -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org