ADF Apps, CPU high utilization on OAS, how to find the cause of problem ?
Hi all,
We are running ADFBC application on OAS 10.1.3.3 on RH Linux ES 4. The database is Oracle 10g on RH Linux also.
Memory is 16 GB. 1 JVM.
Most of time I see (with linux "top" command) that CPU utilization on OAS is 99.9 %
And at the peak load (150 -200 users) user gets very slow that we have to restart the OC4J to the it normal again.
here is the setting in opmn.xml :
<data id="java-bin" value="/opt/oracle/OraHome_oc4j/jdk64/jdk1.5.0_17/bin/java"/>
<data id="java-options" value="-server -XX:CompileCommand=exclude,oracle/sql/NUMBER,toBytes
-ms3072M -mx3072M -XX:+AggressiveHeap -XX:MaxPermSize=1024M -XX:AppendRatio=3 -Djava.security.policy=$ORACLE_HOME/j2ee/ittas/config/java2.policy
-Djava.awt.headless=true -Dhttp.webdir.enable=false"/>
Heap Usage on EM, is between 2250 MB - 2850 MB.
How do I know what is the cause of that problem ? How can AD4J help to find the source of the problem ?
Thank you very much,
xtanto
xtanto,
Hi again...
Just a quick thought (I know it doesn't answer your question directly, but...) have you tried multiple JVM's? It's really quite easy to set up in OAS, and may possibly help you out. How many CPU's on the box?
We have an app (it gets such high concurrent usage during one period of the year), and we're running it on 3 JVM's on a single Linux box with either 2 or 4 (cannot recall) CPU's
John
Similar Messages
-
CPU high utilization on OAS Server, how to find the cause of problem ?
Hi all,
We are running ADFBC application on OAS 10.1.3.3 on RH Linux ES 4. The database is Oracle 10g on RH Linux also.
here is the setting in opmn.xml :
<data id="java-bin" value="/opt/oracle/OraHome_oc4j/jdk64/jdk1.5.0_17/bin/java"/>
<data id="java-options" value="-server -XX:CompileCommand=exclude,oracle/sql/NUMBER,toBytes
-ms3072M -mx3072M -XX:+AggressiveHeap -XX:MaxPermSize=1024M -XX:AppendRatio=3 -Djava.security.policy=$ORACLE_HOME/j2ee/ittas/config/java2.policy
-Djava.awt.headless=true -Dhttp.webdir.enable=false"/>
Most of time I see (with linux "top" command) that CPU utilizationis 99.9 %
And sometimes at that time user gets very slow that we have to restart the OC4J to the it normal again.
How do I know what is the cause of that problem ?
Thank you very much,
xtantoMaybe this could help.
Regars
From note 467624.1
Applies to:
Oracle Containers for J2EE - Version: 10.1.2.0.0 to 11.0.0.0
Linux x86
Purpose
To find out the java thread that is taking high CPU usage in OC4J
This article is specific to Linux due to its threading model and makes specific use of parameters for the ps command that only exist in Linux but not in other operating systems. The general idea from this note might, however, be used on other platforms also, but then requires deeper knowledge of that operating system.
Scope and Application
If you are using the JDK 1.4 then you need to set the LD_ASSUME_KERNEL value to 2.4.1 to get the unique nid value.
In JDK 1.5 setting the LD_ASSUME_KERNEL to 2.4.1 is not required.
Add this variable to ORACLE_HOME\opmn\conf\opmn.xml file as follows:
<ias-instance id="j2ee3.host.domain">
<environment>
<variable id="TMP" value="/tmp"/>
<variable id="LD_ASSUME_KERNEL" value="2.4.1"/>
</environment>
Find Out The Thread That Is Taking High CPU Usage In OC4J
Step 1: Find out the Process ID of the OC4J container
You can find out the pid from the output of the following command:
ORACLE_HOME\opmn\bin> opmnctl status
For example
O_H\opmn\bin> opmnctl status
Processes in Instance: j2ee3.host.domain
------------------------------------------------+---------
ias-component | process-type | pid | status
------------------------------------------------+---------
DSA | DSA | N/A | Down
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | N/A | Down
OC4J | home | 28370 | Alive
WebCache | WebCache | 28380 | Alive
WebCache | WebCacheAdmin | 28371 | Alive
HTTP_Server | HTTP_Server | 28373 | Alive
In this note, we will try to trace the java thread that is using high CPU in OC4J 'home'. The pid of 'home' container is 28370 according to the example.
Step 2: Find the actual process ID
Use the following command to find out the actual process ID:
ps -ef | grep 28370
rac 28370 28354 0 11:23 ? 00:00:01 /home/rac/j2ee2/jdk/bin/java
rac 28377 28370 0 11:23 ? 00:00:00 /home/rac/j2ee2/jdk/bin/java
In this case the actual java process is 28377.
Step 3: Find out the thread which takes lot of CPU time
Run the command
watch "ps -eLo pid,ppid,tid,pcpu,comm | grep 28377"
The thread ID of the thread that consumes high CPU time will be shown in the first column of the output
Step 4: Take thread dump to trace the java thread with the thread ID.
Take the thread dump using the following command:
kill -3 28370 (process-id-from-opmn-status-output)
The thread dump will be written to the log file at ORACLE_HOME\opmn\logs\OC4J~<OC4J_Container_Name>~default_island~1.
Step 5: Trace the java thread.
Convert the Thread ID you got from the command,
ps -eLo pid,ppid,tid,pcpu,comm | grep 28377
to hexadecimal and then search for this value in the thread dump.
For example, if you get the thread id '5828' in the first column of this command, convert '5828' to hexadecimal:
5828 (dec) corresponds to 0x16c4 (hex)
Now search for nid=0x16c4 in the thread dump, and you may find something like:
"RMIServer [0.0.0.0:12401] count:1" prio=1 tid=0xa7c1ee80 nid=0x16c4 runnable [a777e000..a777e22c]
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
- locked <0xac0d5b50> (a java.net.PlainSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:448)
at java.net.ServerSocket.accept(ServerSocket.java:419)
at com.evermind.server.rmi.RMIServer.run(RMIServer.java:464)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534) -
Could you please tell me how to find the cause that made I/O high
Could you please tell me how to find the cause that made I/O high
please let me knowhi ,
Without any backgound inforamation it is very difficilate to help u out .
Please Provide the statpack/Awr report durring that priode. oherwise top 5 wait event. so we can give some suggestion on this. -
How to find the cause ofan error at runtime in forms (10g)
hi
can u please tell me how to find the cause ofan error at runtime.
in forms 6i, the shortcut key is shift+f1
i needthe shotcut key in 10g forms.
thanxor just look in you menu help, -- last error or you can find the list of shortcut keys there ...
\Erwin -
How to find the cause for javaw.exe has encountered a problem and needs to close
Hi,
This error msg I get after running my application for a while. My application uses not only java classes but also dll's (JNI). there is no excpetion thrown and the only information I get is a txt file.
This text file contains these informations:
[code]
<?xml version="1.0" encoding="UTF-16"?>
<DATABASE>
<EXE NAME="java.exe" FILTER="GRABMI_FILTER_PRIVACY">
<MATCHING_FILE NAME="awt.dll" SIZE="1174952" CHECKSUM="0xB92DDD61" BIN_FILE_VERSION="7.0.400.43" BIN_PRODUCT_VERSION="7.0.400.43" PRODUCT_VERSION="7.0.400.43" FILE_DESCRIPTION="Java(TM) Platform SE binary" COMPANY_NAME="Oracle Corporation" PRODUCT_NAME="Java(TM) Platform SE 7 U40" FILE_VERSION="7.0.400.43" ORIGINAL_FILENAME="awt.dll" INTERNAL_NAME="awt" LEGAL_COPYRIGHT="Copyright © 2013" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x122FA8" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="7.0.400.43" UPTO_BIN_PRODUCT_VERSION="7.0.400.43" LINK_DATE="08/27/2013 06:26:04" UPTO_LINK_DATE="08/27/2013 06:26:04" VER_LANGUAGE="Englisch (USA) [0x409]" />
<MATCHING_FILE NAME="axbridge.dll" SIZE="153000" CHECKSUM="0x1A5CD2E" BIN_FILE_VERSION="10.40.2.43" BIN_PRODUCT_VERSION="7.0.400.43" PRODUCT_VERSION="7.0.400.43" FILE_DESCRIPTION="ActiveX Bridge f’r JavaBeans(TM)" COMPANY_NAME="Oracle Corporation" PRODUCT_NAME="Java(TM) Platform SE 7 U40" FILE_VERSION="7.0.400.43" ORIGINAL_FILENAME="axbridge.dll" INTERNAL_NAME="ActiveX Bridge f’r JavaBeans(TM)" LEGAL_COPYRIGHT="Copyright © 2013" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x297DB" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="10.40.2.43" UPTO_BIN_PRODUCT_VERSION="7.0.400.43" LINK_DATE="08/27/2013 06:26:04" UPTO_LINK_DATE="08/27/2013 06:26:04" VER_LANGUAGE="Englisch (USA) [0x409]" />
many more lines....
[/code]
Is there a way to read or analyze this text file? How ?
Please advice
ThanksHi,
This error msg I get after running my application for a while. My application uses not only java classes but also dll's (JNI). there is no excpetion thrown and the only information I get is a txt file.
This text file contains these informations:
[code]
<?xml version="1.0" encoding="UTF-16"?>
<DATABASE>
<EXE NAME="java.exe" FILTER="GRABMI_FILTER_PRIVACY">
<MATCHING_FILE NAME="awt.dll" SIZE="1174952" CHECKSUM="0xB92DDD61" BIN_FILE_VERSION="7.0.400.43" BIN_PRODUCT_VERSION="7.0.400.43" PRODUCT_VERSION="7.0.400.43" FILE_DESCRIPTION="Java(TM) Platform SE binary" COMPANY_NAME="Oracle Corporation" PRODUCT_NAME="Java(TM) Platform SE 7 U40" FILE_VERSION="7.0.400.43" ORIGINAL_FILENAME="awt.dll" INTERNAL_NAME="awt" LEGAL_COPYRIGHT="Copyright © 2013" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x122FA8" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="7.0.400.43" UPTO_BIN_PRODUCT_VERSION="7.0.400.43" LINK_DATE="08/27/2013 06:26:04" UPTO_LINK_DATE="08/27/2013 06:26:04" VER_LANGUAGE="Englisch (USA) [0x409]" />
<MATCHING_FILE NAME="axbridge.dll" SIZE="153000" CHECKSUM="0x1A5CD2E" BIN_FILE_VERSION="10.40.2.43" BIN_PRODUCT_VERSION="7.0.400.43" PRODUCT_VERSION="7.0.400.43" FILE_DESCRIPTION="ActiveX Bridge f’r JavaBeans(TM)" COMPANY_NAME="Oracle Corporation" PRODUCT_NAME="Java(TM) Platform SE 7 U40" FILE_VERSION="7.0.400.43" ORIGINAL_FILENAME="axbridge.dll" INTERNAL_NAME="ActiveX Bridge f’r JavaBeans(TM)" LEGAL_COPYRIGHT="Copyright © 2013" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x297DB" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="10.40.2.43" UPTO_BIN_PRODUCT_VERSION="7.0.400.43" LINK_DATE="08/27/2013 06:26:04" UPTO_LINK_DATE="08/27/2013 06:26:04" VER_LANGUAGE="Englisch (USA) [0x409]" />
many more lines....
[/code]
Is there a way to read or analyze this text file? How ?
Please advice
Thanks -
Core duo mini crashing occasionally - how to find the cause?
My core duo Mac mini crashes itself every now and then. The screen goes blank for a couple of seconds and the machine reboots with no explanation. This happens about three or four times a month. It has happened in the middle of the night with no active load in the machine, and also while me using it in the front of console. No warnings, no strange behaviour before the crash, just a sudden blank screen and reboot with no extra messages.
I'm looking for the cause but I can't find any hardware related errors from system.log, dmesg or console.log. Is there some other log file that I should consult to see whether the crashes are hardware or software related?
Any debug programs I should run to get more specific info to be collected just before the next crash? Crash dumps and a debugger?
I ran Mac diagnostics and some 3rd party memory test programs with no errors.
1.66GHz Intel Core Duo, 1GB RAM Mac OS X (10.4.6)It sounds like your power cord may not be firmly
inserted. Check to make sure nothing is fraying or
loose about it before starting up the machine.
Checked. Also, the Mac Mini has been in two locations with the same symptoms; all the cords have been replugged and rechecked.
In addition, since it has happened several times,
have you checked to make sure the directory is fine
with Disk Utility's Verify Disk?
Yes, no problems there. Luckily the Disk Utility has not found any problems after the crashes. -
How to find the Kernel panic's cause?
I have a HP G7 server, OS is RHEL 6.0, and it often kernel panic.
Who can tell me how to find the cause?
I even try use kdump service to collect the cause, but you know, the kdump(kexec) have a bug, so collect fail.
Last edited by sheng (2011-10-26 08:01:14)Maybe have a look at http://rhelforum.com/forum.php or http://www.fedoraforum.org/ ?
-
WLC 7.0.98.0 CPU high utilization
I could not find anything wrong with the show tech on WLC. Client complaints CPU high utilization. Please help!
Hi Andrew,
There are a couple of interesting things in the debug output you included, firstly there are some unsupported rates by the clients, in other words do you have some 802.11b clients trying to connect? Because I think you may have unsupported the 'b' rates on the controller. So either - ensure you have no 'b' clients or start supporting 'b' rates again (1, 2, 5.5, 11)
Secondly there some rogue AP containment going on, this can cause either your AP to have a high CPU, f there are multiple rogue APs being contained, or it may be that your own clients are being de-authenticated by another wireless network in the area - in other words, your network is under attack.
HTH
Best wishes
Mike -
How to find the CPU utilization from the portal front end
HI Guys,
I want to find the CPU utilization from the portal front end browser screen.Can you please let me know how to find this and also the path to find it.
And how to find the CPU utilization from the server.What is the command to find the CPU utilization at unix level.
Regards,
Krishnam.hi you can create transient field in view object indicate to visibility of row (boolean ) and create view criteria that show only rows that are able to be visible according to transient attribute and at the update process set the attribute to true inside entityImpl class
-
How to find the Standard DFF Name In oracle apps
hi,
How to find the Standard DFF Name In oracle apps
thanks1. Open the form
2. Choose Tools--> Diagnostics
3. In the block field choose $DESCRIPTIVE_FLEXFIELD$
4. Field will show the list of all the DFF's enabled for that form.
5. Choosing one will display the name of the DFF in the value field.
Thanks
Nagamohan -
How to find the invalid form session in oracle Apps
Oracle Apps R12
Hai All
How to find the invalid form session in oracle Apps R12 and How to Kill the that.
Thanks & Regards
Srikkanth.MHi,
Please refer to these docs (for 11i and R12).
How to Kill Inactive Sessions Based on the Information in the Monitor User Form [ID 103516.1]
Script: How To Identify The apps User Using The O/S PID For Forms Users In 11i [ID 185762.1]
Thanks,
Hussein -
Why the App Store ask for sq.after using it for years and how do find the answers
Why the App Store ask for sq.after using it for years and how do find the answers
Reset security questions
http://support.apple.com/kb/HT5312
If you do not have a Rescue email, you need to contact apple support, they will guide you through the process of resetting your security questions.
https://ssl.apple.com/emea/support/itunes/contact.html -
How to find the navigation bar at the apps, PDF reader Lite? after i zoom in, the navigation bar dissapear~ what should i do to make the navigation bar reappear?
Hello,
Yes it will be in your page template. You just need to move #NAVIGATION_BAR# substitution under the #LOGO# substitution tag, probably something like this should work
#LOGO#<div>#NAVIGATION_BAR#</div>
Carl -
How to find the depth in oracle Inventory
Oracle Apps R12 Order management.
Hi All
I working in oracle Apps r12 in order management. How to fine the depth of a product in order management.
Any help is highly appricatable.
thanks & Regards
Srikkanth.MThanks for ur reply
I have checked in the mtl_system_items_b tables there is no column for depth as u said we can use the height value as depth value.
My problem is i need to create a product manually using the XML Tag so here the depth column is mandatory, so that why i am searching for depth column.
is the formula used to find the depth is correct
depth= volume / length*width
please let me if i am correct or wrong
Thanks & regards
Srikkanth.M -
How to find the workflow for Change Request for the PO's
Hi All,
We have a PO which is pending and we can't receipt it again nor make payment on this. After checking the Approval history for that PO we found that the change request has been made. The change request was to change the amount to be paid to R39196 instead of R58237.00. We don't know where to check the workflow for the change request to identify the cause.
what i need to know is how to find the workflow for that change request? The other workflows can be checked using the po_header_id for the PO's but i am confused with the change request workflow
Your input will be highly appreciated.
Thanks in advance
Rgds,
SoniaFor 11.5.10.2 run this query to determine the keys to search on:
Select wf_item_type, wf_item_key from APPS.po_change_requests where document_type = 'PO' and Document_num = 'put-PO-number-here'
Then use the keys returned by the query to look up the Workflow in
Workflow Administrator Web Applications / Administrator Workflow / Status Monitor
Search using the results returned in fields "Type Internal Name" and "Item Key" in Status Monitor
The query for change requests on a specific Requisition would be:
Select wf_item_type, wf_item_key from APPS.po_change_requests where document_type = 'REQ' and Document_num = 'put-Req-number-here'
Maybe you are looking for
-
How do i connect iMac to hdmi TV
Hi i have an iMac and am trying to connect it to my HDMI tv so i can watch films through my tv.. iv read about all the mini DVI things but my Imac does not have a mini DVI port as it is relitavley new, it only has 1 ethernet, 2 thunderbolt, 1 firewir
-
HP Print to Fax Device not installed
I have recently updated to windows 8.1. This has seen me have a few issues with my HP Laserjet Pro 500 MFP M570dw printer driver. I updated the driver and had a few issues, which were solved by the HP Scan and print doctor tool. However in the printe
-
My children's school requires iPad use next year and each child is to have an ICould account. How can I set up an account for each child, still monitor these accounts as the parent, and have the accounts linked so that I am not buying duplicate soft
-
Problem with fireworks popup menu in dreamweaver, has a huge box.
hi, i made a popup menu in fireworks, and when i open that html page in dreamweaver, there is a huge white box around the popup menu area, so that i cant type anything under the menu or anywhere near it. i was wondering how i get rid of this white bo
-
I can't connect in iCloud with me appleID on my Macbook
my mac don't want to connect me to iCloud with me apple ID and my password. (the same i used to get here and he worked) I've tried to change 3 times of password. If someone can help me it would be great, i've installed OSX Lion just for iCloud... so