| Author |
Message |
   
Entikaburlu
Side Hero Username: Entikaburlu
Post Number: 5351 Registered: 07-2011 Posted From: 67.247.83.224
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 07:05 pm: |
    |
remote JVM monitoring http://docs.oracle.com/javase/1.5.0/docs/guide/management/ov erview.html http://www.yourkit.com/ http://mtop.sourceforge.net/ http://www.quest.com/spotlight-on-db2/ all the products/tools i mentioned all opinions expressed are mine and only mine. not to be attributed to the other IP address sharers, my employer, or any other human, animal, robot or alien. |
   
Entikaburlu
Side Hero Username: Entikaburlu
Post Number: 5350 Registered: 07-2011 Posted From: 67.247.83.224
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 06:56 pm: |
    |
what are the symptoms? what exception are you getting? web apps have these scenarios broadly: - permgen out of memory - heap space over - stack space over - resources over permgen and stack are too low by default. if you use something like xslt or fo stack space runs fast. both these can be added with JVM options. heap space is a tricky issue. to debug this: - do you see this in prod only or every where? - if you see every where, fire this up in Netbeans and run under profiler and watch obj creations, generations and eden space. if generations are getting too high for any object type, that is an indication something is being held back. most culprits are hashmaps and record sets and prepared statements. make sure every database connection is opened, closed, there is a finally block with rs,ps,conn closes. resources leak: this you wont find in a java profiler. you need to check on the db side. for mysql you have mtop. for db2 you can use toad or embarcadero etc. expensive tools. if you see this in prod only, your life becomes far more interesting! now, what jvm are you using? if you use 1.6, you can use the JMX and use remote monitoring. it does not give a whole lot of details but it gives some details. If you need to monitor a remote JVM, buy/download this profiler called "yourkit". this is the best profiler there is in the market. in any case, yourkit is always useful. I used to use it in Kodak but do not have a license now. give more details. this is the most interesting side of our profession, the detective work. so share the findings. all opinions expressed are mine and only mine. not to be attributed to the other IP address sharers, my employer, or any other human, animal, robot or alien. |
   
Thakita_thakita
Junior Artist Username: Thakita_thakita
Post Number: 214 Registered: 07-2011 Posted From: 148.106.2.6
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 05:25 pm: |
    |
try this IBM tool, HeapAnalyzer ftp://public.dhe.ibm.com/software/websphere/appserv/support/ tools/HeapAnalyzer/ha.swf also see this http://www-01.ibm.com/support/docview.wss?uid=swg21190476 |
   
Sensexxxxx
Side Hero Username: Sensexxxxx
Post Number: 3937 Registered: 08-2011 Posted From: 171.159.192.10
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 05:02 pm: |
    |
Dreamcatcher:
will look annai..thanks |
   
Sensexxxxx
Side Hero Username: Sensexxxxx
Post Number: 3936 Registered: 08-2011 Posted From: 171.159.192.10
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 05:02 pm: |
    |
Katthi:Kristu purvam .. kada midhi.. 7 vassindi.. 2004 time anukunta midhi.. vaaaaaa..
eppudu develop chesaro teliyadu..may be in 2006-2007 time lo anukunta |
   
Dreamcatcher
Side Hero Username: Dreamcatcher
Post Number: 2515 Registered: 11-2009 Posted From: 208.86.145.68
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 05:01 pm: |
    |
This may be useful: http://publib.boulder.ibm.com/infocenter/ieduasst/v1r1m0/top ic/com.ibm.iea.rad_v6/rad/6.0/Profiling/IRADv6_ProfilingLab. pdf?dmuid=20061230202043019128 |
   
Katthi
Side Hero Username: Katthi
Post Number: 4652 Registered: 07-2010 Posted From: 170.63.96.108
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 04:57 pm: |
    |
Sensexxxxx:
Kristu purvam .. kada midhi.. 7 vassindi.. 2004 time anukunta midhi.. vaaaaaa.. Papi gadu post este katthi la digali
|
   
Sensexxxxx
Side Hero Username: Sensexxxxx
Post Number: 3935 Registered: 08-2011 Posted From: 171.159.192.10
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 04:56 pm: |
    |
Katthi:jdk versio enti? 1.4 aaaa?
yes.... |
   
Dreamcatcher
Side Hero Username: Dreamcatcher
Post Number: 2514 Registered: 11-2009 Posted From: 208.86.145.68
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 04:55 pm: |
    |
Idi soodu, help avuddemo... http://www.ibm.com/developerworks/rational/tutorials/profili ngjavaapplicationsusingrad/profilingjavaapplicationsusingrad -pdf.pdf |
   
Katthi
Side Hero Username: Katthi
Post Number: 4651 Registered: 07-2010 Posted From: 170.63.96.108
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 04:55 pm: |
    |
http://publib.boulder.ibm.com/infocenter/tivihelp/v3r1/index .jsp?topic=%2Fcom.ibm.itcamwas.doc_6.1%2Fj2ee%2FDownloading_ ISA.MDDforJ.html Idhi sudu.. only using this tool you can open anukunta.. idhi correct ayithe you are all set Papi gadu post este katthi la digali
|
   
Katthi
Side Hero Username: Katthi
Post Number: 4650 Registered: 07-2010 Posted From: 170.63.96.108
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 04:53 pm: |
    |
Sensexxxxx:
http://www-01.ibm.com/support/docview.wss?uid=swg21190476 welcome to ibm babai..... vadi own dump create sesukunnadu.. kada candi.. jdk versio enti? 1.4 aaaa? http://www.ibm.com/developerworks/websphere/library/techarti cles/0608_poddar/0608_poddar.html eee link sudu edo icchadu.. nannu kummaku.. helping my bestuuu Papi gadu post este katthi la digali
|
   
Goonda
Hero Username: Goonda
Post Number: 18106 Registered: 02-2007 Posted From: 98.66.58.128
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 04:52 pm: |
    |
Sensexxxxx:maa admin headbump file icchadu which has PHD extensions
antey for research ani mee admin meaning emo.. change it to the extension that tool is accepting and try.. Sasibabu: If TDP loses next elechens, i will donate 10% of my salary to TDP Ntr_Fan:raasi pettukondi..Businessman movie content paramga utter mein gutter..Movie hit ayyinda ..adi only Mahesh craze meeda and Mahesh babu South India ke No1 from Jan 13th.... Skywalker: Bala chiru type kadu.....narasimha swamy avataram etti posani gadi pegulu medalo esukuntadu |
   
Katthi
Side Hero Username: Katthi
Post Number: 4649 Registered: 07-2010 Posted From: 170.63.96.108
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 04:51 pm: |
    |
Blackmamba:
You correct mama.. did not realize that he is running websphere.. Weblogic lo kuda alane option istadu.. it is easy than running jhat/jmap.. jhat/jmap ayithe .... once heap increase avutundi anagane dump maname create chesukovassu.. need not to run big load test... startup option ayithe server die ayyedaka wait seyyali core dump ki.. Papi gadu post este katthi la digali
|
   
Sensexxxxx
Side Hero Username: Sensexxxxx
Post Number: 3934 Registered: 08-2011 Posted From: 171.159.192.10
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 04:50 pm: |
    |
chitti and katthi -> maa admin headbump file icchadu which has PHD extensions http://eclipse.org/mat/ Tried to open the head dump from memory analyzer tool downloaded from avobe link...but it couldnt..."Error opening heap dump" ani error vasthondi actual ga tool nunchi open cheseppudu "all known formats" ani option undi..adi set chesthe it is not recongnizing the above head dump whihc is of .PHD extn.. so "All files" set chesi have tried opening the head dump file..but getting the error. |
   
Blackmamba
Moderator Username: Blackmamba
Post Number: 10197 Registered: 05-2010
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 04:46 pm: |
    |
Sensexxxxx:complete ga artham kaledu..but lemme do some resarch..thanks
aayana seffedi etante dmgr console lo aa particular server jvm settings ki velli marsamantunnad to generate heap and thread dumps automatically.. Twitter:finally MD anedhi create avvatanike main reason RCT because of his horse riding skills |
   
Sensexxxxx
Side Hero Username: Sensexxxxx
Post Number: 3933 Registered: 08-2011 Posted From: 171.161.160.10
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 04:41 pm: |
    |
Katthi:inka na valla kadu seppadam
complete ga artham kaledu..but lemme do some resarch..thanks |
   
Katthi
Side Hero Username: Katthi
Post Number: 4648 Registered: 07-2010 Posted From: 170.63.96.108
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 04:39 pm: |
    |
Katthi:
Jmap try cheyyi.. jhat onlyh 1.5 lo emo naku gurthu ledu Papi gadu post este katthi la digali
|
   
Blackmamba
Moderator Username: Blackmamba
Post Number: 10196 Registered: 05-2010
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 04:38 pm: |
    |
Goonda:
 Blackmamba:kill -3 vadithe thread dump vattadi kada.. heap dump ki kooda atta emanna unda.. also heap dump etta generate settaru
Twitter:finally MD anedhi create avvatanike main reason RCT because of his horse riding skills |
   
Katthi
Side Hero Username: Katthi
Post Number: 4647 Registered: 07-2010 Posted From: 170.63.96.108
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 04:37 pm: |
    |
Sensexxxxx:
Jhat ane command java/bin lo untundi.. just run and give process id.. something like jhat 38292 filename anthe.. box ki bokka petti.. core dump create chestundi.. aaa file ni tisukelli kinda issina tool lo open seyyi.. anthe manchiga report generate chesi istundi.. this class has memory leak ani.. intha kanna manam emi seyyalemu.. jhat compatability kakunte.. startup arguments lo -d etti .. memory peak ellaka core dump create cheyyimani option ettu.. server Outofmemory ragane coredump create avutundi.. aaa file tisukelli kinda seppina tool lo open seyyi.. inka na valla kadu seppadam Papi gadu post este katthi la digali
|
   
Goonda
Hero Username: Goonda
Post Number: 18100 Registered: 02-2007 Posted From: 98.66.58.128
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 04:36 pm: |
    |
Sensexxxxx:may be... naku teliyadu..also its on production..so admin tema matrme cheyyali also kill -3 ane commadn any specif direcotry of the server loki velli use cheyyala
yeh directory lo ayina run cheyyochu.. pipe the output to a temp file, which can be used for investigation with tool that chitti mentioned. usually developers ki kill -3 access vundadhu, your sysadmin has to give privileges or he has to run the command by himself and give you the output file. Sasibabu: If TDP loses next elechens, i will donate 10% of my salary to TDP Ntr_Fan:raasi pettukondi..Businessman movie content paramga utter mein gutter..Movie hit ayyinda ..adi only Mahesh craze meeda and Mahesh babu South India ke No1 from Jan 13th.... Skywalker: Bala chiru type kadu.....narasimha swamy avataram etti posani gadi pegulu medalo esukuntadu |
   
Blackmamba
Moderator Username: Blackmamba
Post Number: 10193 Registered: 05-2010
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 04:33 pm: |
    |
Sensexxxxx:also kill -3 ane commadn any specif direcotry of the server loki velli use cheyyala
unix aite get the java process and use kill -3 <pid>.. it will write the thread dump to the sysout log(not sure).. (Message edited by blackmamba on January 18, 2012) Twitter:finally MD anedhi create avvatanike main reason RCT because of his horse riding skills |
   
Sensexxxxx
Side Hero Username: Sensexxxxx
Post Number: 3932 Registered: 08-2011 Posted From: 171.161.160.10
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 04:32 pm: |
    |
Goonda:unix lo ayitey kill -3 <process-id> it will give you dump.
Blackmamba:kill -3 vadithe
may be... naku teliyadu..also its on production..so admin tema matrme cheyyali also kill -3 ane commadn any specif direcotry of the server loki velli use cheyyala |
   
Sensexxxxx
Side Hero Username: Sensexxxxx
Post Number: 3931 Registered: 08-2011 Posted From: 171.161.160.10
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 04:30 pm: |
    |
Chitti_v2:http://eclipse.org/mat/
is this plug in compatible with RAD? |
   
Goonda
Hero Username: Goonda
Post Number: 18098 Registered: 02-2007 Posted From: 98.66.58.128
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 04:28 pm: |
    |
Sensexxxxx:idi kastha clear ga chepthara how to create head dumps ani...? generally production environment lo by default create avuthaya ivi? will the web sphere admin wont delete these files?
unix lo ayitey kill -3 <process-id> it will give you dump. Sasibabu: If TDP loses next elechens, i will donate 10% of my salary to TDP Ntr_Fan:raasi pettukondi..Businessman movie content paramga utter mein gutter..Movie hit ayyinda ..adi only Mahesh craze meeda and Mahesh babu South India ke No1 from Jan 13th.... Skywalker: Bala chiru type kadu.....narasimha swamy avataram etti posani gadi pegulu medalo esukuntadu |
   
Blackmamba
Moderator Username: Blackmamba
Post Number: 10190 Registered: 05-2010
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 04:28 pm: |
    |
kill -3 vadithe thread dump vattadi kada.. heap dump ki kooda aata emanna unda.. Twitter:finally MD anedhi create avvatanike main reason RCT because of his horse riding skills |
   
Sensexxxxx
Side Hero Username: Sensexxxxx
Post Number: 3930 Registered: 08-2011 Posted From: 171.161.160.10
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 04:27 pm: |
    |
Katthi:Otherwise.. Java provides jhat to gofor core dump.. you find this command in bin folder. this command need your java appplication process id.. mottam core dump file create chestundi..
Chitti_v2:can u stress the app in dev env? heap dumps vachaaka
idi kastha clear ga chepthara how to create head dumps ani...? generally production environment lo by default create avuthaya ivi? will the web sphere admin wont delete these files? |
   
Chitti_v2
Side Hero Username: Chitti_v2
Post Number: 3036 Registered: 01-2011 Posted From: 160.83.73.19
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 04:21 pm: |
    |
can u stress the app in dev env? heap dumps vachaaka......use this plugin to analyze the dumps http://eclipse.org/mat/ |
   
Katthi
Side Hero Username: Katthi
Post Number: 4646 Registered: 07-2010 Posted From: 170.63.96.108
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 04:20 pm: |
    |
TPTP ani oka application vastundi.. Otherwise.. Java provides jhat to gofor core dump.. you find this command in bin folder. this command need your java appplication process id.. mottam core dump file create chestundi.. finally open this core dump in eclipse tool which can analyse and tell you were memory leak is.. if you cannot get core dump just give option in your application startup file for coredump when it reaches to high memory.. TPTP ani oka eclipse plugin undi.. you can profile it.. bimatsanga untadi Papi gadu post este katthi la digali
|
   
Sensexxxxx
Side Hero Username: Sensexxxxx
Post Number: 3929 Registered: 08-2011 Posted From: 171.161.160.10
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 04:16 pm: |
    |
Goonda:websphere..heard bad reviews abt it.
enti veetiki kuda reviews chaduvutharaaa... |
   
Goonda
Hero Username: Goonda
Post Number: 18088 Registered: 02-2007 Posted From: 98.66.58.128
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 04:10 pm: |
    |
Sensexxxxx:
Sorry misunderstnad chesukunnanduku.. weblogic ayitey.. they jrockit jvm use chestey, they have profiler, you can use that one. Neverr used websphere..heard bad reviews abt it. Sasibabu: If TDP loses next elechens, i will donate 10% of my salary to TDP Ntr_Fan:raasi pettukondi..Businessman movie content paramga utter mein gutter..Movie hit ayyinda ..adi only Mahesh craze meeda and Mahesh babu South India ke No1 from Jan 13th.... Skywalker: Bala chiru type kadu.....narasimha swamy avataram etti posani gadi pegulu medalo esukuntadu |
   
Sensexxxxx
Side Hero Username: Sensexxxxx
Post Number: 3928 Registered: 08-2011 Posted From: 171.161.160.10
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 04:09 pm: |
    |
Goonda:
web sphere....RAD IBM valladi kada...so valla servere use chesthunnam |
   
Goonda
Hero Username: Goonda
Post Number: 18087 Registered: 02-2007 Posted From: 98.66.58.128
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 04:07 pm: |
    |
Sensexxxxx:
Weblogic aa? Sasibabu: If TDP loses next elechens, i will donate 10% of my salary to TDP Ntr_Fan:raasi pettukondi..Businessman movie content paramga utter mein gutter..Movie hit ayyinda ..adi only Mahesh craze meeda and Mahesh babu South India ke No1 from Jan 13th.... Skywalker: Bala chiru type kadu.....narasimha swamy avataram etti posani gadi pegulu medalo esukuntadu |
   
Sensexxxxx
Side Hero Username: Sensexxxxx
Post Number: 3927 Registered: 08-2011 Posted From: 171.161.160.10
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, January 18, 2012 - 04:07 pm: |
    |
evarann chesaraaaa.. mine is a web application...oka particular program lo memory leak undi ani dbt... how can i find that out in RAD using profiling? |