Hello all,

Still trying to push forward..

HPjmeter doesn't recognize the output format of Java 1.4, so I downloaded the PerfAnal from the other link provided (thanks guys).

I still am very lost about what I'm seeing, but lemme share and see if this raises any bells for you guys... (these times are inclusive of time spent in methods called within the specified method... does that make sense?): 3345 ticks..the numbers in (/) after are the inclusive ticks and the exclusive ticks respectively.

64% of the time is spent in java.net.PlainSocketImpl.socketAccept() (2138/2138)

15% of the time is spent in org.xbill.DNS.Cache.addRRset() (529/115)
14% of the time is spent in org.xbill.DNS.Cache.addMessage() (453/14)
10% of the time is spent in org.xbill.DNS.RRset.getTTL() (340/22)

9% of the time is spent in java.util.AbstractList.Iterator (311/311)
6% of the time is spent in org.apache.james.dnsserver.DNSServer.rawDNSLookup (209/0)

it keeps going. I don't know if this stuff is useful at all. I've attached the compressed java.hprof.2.txt file I used. Any help is appreciated... my server is running at 4 and 5 load. It is killing me. If this keeps up I'm going to need to switch to either a different version of James or a different mail server all together (and that would hurt, because I love James).

Thanks,
Kenny



Kenny Smith wrote:
Hi all,

I think I just got a working profile file... I used "phoenix.sh check" to get a command and run it by hand, then added the -Xrunhprof to that. It seemed to work this time. I have no idea why it would work through the script.

Kenny

Kenny Smith wrote:

Hi Steve,

Thanks again for all the help. I know this is a bit off topic, but since I'm trying to debug my James problem I hope you guys will give me some leniency.

I'm trying to get a profile dump from james, but either I just don't understand or the documentation on how to use the java profile is terrible.

http://java.sun.com/j2se/1.4.1/docs/guide/jvmpi/jvmpi.html#hprof

I changed phoenix.sh like so:


JVM_OPTS="-Djava.ext.dirs=$PHOENIX_HOME/lib -Xrunhprof:cpu=samples,file=/tmp/profile.txt"

#JVM_OPTS="-Djava.ext.dirs=$PHOENIX_HOME/lib"

However, when I start up james and let it run for 5 minutes or so and then stop james, there's barely anything in /tmp/profile.txt. Just a couple of paragraphs talking about what kind of records are found in a profile file and then a couple of THREAD START records.

I've downloaded HPjmeter, but now I can't figure out how to get the profile to feed into it. :/

Thanks again,
Kenny


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Attachment: java.hprof.2.txt.gz
Description: GNU Zip compressed data

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to