Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I was monitoring my JVM running Apache Tomcat 6, running on Windows, and I noticed that every 3 seconds or so the JVM process (C:\Tomcat\bin\tomcat6.exe) is polling to see whether or not

C:\Tomcatcat\java_pid3748.hprof

exists, where 3748 is the Windows process ID.

I haven't seen write to the hprof file, just test for existence.

(I'm using Sysinternals Process Monitor (procmon.exe) for this monitoring. In procmon the polling shows up as a QueryDirectory operation, which always returns Result "NO SUCH FILE".)

Is this normal, or is this a potential red flag? I gather that these hprof files are generated, perhaps among other times, when you enable the

-XX:+HeapDumpOnOutOfMemoryError

Java flag. I haven't enabled it myself, though I guess it could be enabled somehow in the Tomcat startup scripts.

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

hprof files are not just for heap dump. Which is your JVM process command line? (you can check it with Process Explorer).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.