API's to find CPU Utilization of Current Process

Hi World,
Do Java 5 or Java 6 has any new API's for finding the CPU Utilization of the current process. Is there any other way of finding the CPU Utilization of current Process.
Regards,
Gopi

Don't double post. I've removed the thread you started in the Java Programming forum 2 minutes after this one, with the identically same question.
db

Similar Messages

  • URGENT: 99% CPU Utilization - different oracle process

    Hi,
    I have application using the database. It is 24*7 production env.
    The CPU Utilization goes very high and application is working very slow.
    I have enterprise manager on windows 2003 server and agents on linux to monitor it.
    Oracle 10g is the database version.
    Everytime i try to find out the process it goes down but generally the application is running very slow
    Following is the result of sar on linux box which is taking up high CPU.
    Linux 2.6.9-22.ELsmp (sydora2.sabrepacific.com.au) 03/12/07
    10:17:43 CPU %user %nice %system %iowait %idle
    10:17:48 all 93.69 0.00 3.34 2.98 0.00
    10:17:53 all 69.85 0.00 3.82 26.32 0.00
    10:17:58 all 88.61 0.00 2.80 8.59 0.00
    10:18:03 all 96.90 0.00 2.57 0.53 0.00
    10:18:08 all 95.13 0.00 3.29 1.58 0.00
    Average: all 87.30 0.00 3.22 9.48 0.00
    Let me know how to drill and fix this problem.
    Please help !!
    Thanks in advance.

    High CPU is not a problem by itself, but you need to identify if it is consistently if so why.
    SELECT a.*,b.*
    from
    v$session b,
    v$process a
    where
    b.paddr = a.addr
    and a.spid = <number> ;
    spid is your server PID.
    Identify your pid with top command, feed the pid to identify which session is using considerable CPU. Identify the sql that it is running.
    SELECT * FROM V$sql where sql_id= <prev_sql_id from v$session>
    Message was edited by:
    gopalora

  • Finder CPU Utilization

    Many times a day, the Finder will start consuming 100% CPU (half of the total) for several minutes at a time. During this time, not a lot is going on, there is no unusual (or mabye none at all) disk activity no unusual network activity. The actual utilization totals around 100% although the work seems to be shared between both CPUs. If one goes up, the other goes down. This activity also appears to be "nice" in that it doesn't detract from the overall system's responsiveness.
    mds will often do the same thing without any indication that it is supporting Spotlight.
    Sometimes, both will chip in together and run my "idle" usage to max on both CPUs.
    This is a new behavior on 10.6.1. I've never seen both CPU's on the peg unless I was rendering a QT X movie.
    Does anybody know what these processes are doing?
    null

    It is possible that something is merely in process at the time, but it's sort of unusual for the Finder to pop up like that as opposed to the process itself. You might try a little cache cleaning to see if that helps:
    Delete caches to resolve some startup problems:
    Boot into single-user mode. After startup is completed you will be in command line mode and should see a prompt with a cursor positioned after it. At the prompt enter the following then press RETURN after each commandline:
    /sbin/fsck -fy
    If you receive a message that says "*** FILE SYSTEM WAS MODIFIED ***" then re-run the command until you receive a message that says "** The volume (nameofvolume) appears to be OK." If you re-run the command more than seven times and do not get the OK message, then the drive cannot be repaired this way.
    If you were successful then enter:
    /sbin/mount -uw /
    rm -rf /System/Library/Caches/*
    rm -rf /Library/Caches/*
    reboot
    I suggest you print out the above to be sure you do not make any errors when entering the commands. When in single-uwer mode you have 'root' access, so it's important that you not make any mistakes.
    It's also possible the Finder is writing to a log file that is pretty large thus taking up more time to process. But on my Mac Pro I don't ever see any core running at 100% unless it's due to a running application that simply requires it - like video playback and the like.

  • Code for finding CPU utilisation for executing query

    Hi, i need code for finding CPU utilisation for executing the particular query.

    Use session tracing, then in trace file you can find cpu utilization for particular statement on each phase: parse, execute, fetch and the overall.
    Or You can use the dbms_utility.get_cpu_time (if your database is 10g) in pl/sql:
    declare
    cpt1 pls_integer;
    cpt2 pls_integer;
    cputime pls_integer;
    begin
    cpt1:=sys.dbms_utility.get_cpu_time;
    <some code here>
    cpt2:=sys.dbms_utility.get_cpu_time;
    cputime:=cpt2-cpt1;
    end;
    good luck

  • How to find CPU and Memory Utilization

    Hi,
    How to find CPU and Memory Utilization of my application which is
    running in solaris workstation.My application has a management console in which we need to update the cpu and memory periodically.
    (Notr : Usage of JNI is restrcited)
    Thnx and Rgds,
    Mohan

    There is no CPU usage API in Java. You need some JNI code. For memory usage see the Runtime methods:
         * Get information of memory usage: max, total, free and (available/used).
         * <ul>
         * <li>Max is the maximum amount of bytes the application can allocate (see also java options -Xmx). This value is fixed.
         * If the application tries to allocate more memory than Max, an OutOfMemoryError is thrown.
         * <li>Total is the amount of bytes currently allocated from the JVM for the application.
         * This value just increases (and doesn't decrease) up to the value of Max depending on the applications memory
         * requirements.
         * <li>Free is the amount of memory that once was occupied by the application but is given back to the JVM. This value
         * varies between 0 and Total.
         * <li>The used amount of memory is the memory currently allocated by the application. This value is always less or equal
         * to Total.
         * <li>The available amount of memory is the maximum number of bytes that can be allocated by the application (Max - used).
         * </ul>
         * In brief: used <= total <= max
         * <p>
         * The JVM can allocate up to 64MB (be default) system memory for the application. If more is required, the JVM has to be started with the Xmx option
         * (e.g. "java -Xmx128m" for 128 MB). The amount of currently allocated system memory is Total. As the JVM can't give back unallocated memory
         * to the operating system, Total can just increase (up to Max).
         * @return Memory info.
        static public String getMemoryInfo() {
            StringBuilder sb = new StringBuilder();
            sb.append("Used: ");
            sb.append(toMemoryFormat(getUsedMemory()));
            sb.append(", Available: ");
            sb.append(toMemoryFormat(getAvailableMemory()));
            sb.append(" (Max: ");
            sb.append(toMemoryFormat(Runtime.getRuntime().maxMemory()));
            sb.append(", Total: ");
            sb.append(toMemoryFormat(Runtime.getRuntime().totalMemory()));
            sb.append(", Free: ");
            sb.append(toMemoryFormat(Runtime.getRuntime().freeMemory()));
            sb.append(")");
            return sb.toString();
        }//getMemoryInfo()

  • 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

  • Very high cpu utilization with mq broker

    Hi all,
    I see a very high cpu utilization (400% on 8 cpu server) when I connect consumers to OpenQ. It increase close to 100% for every consumer I add. Slowly, the consumer comes to a halt, as the producers are sending messages at a good rate too.
    Environment Setup
    Glassfish version 2.1
    com.sun.messaging.jmq Version Information Product Compatibility Version: 4.3 Protocol Version: 4.3 Target JMS API Version: 1.1
    Cluster set up using persistent storage. snippet from broker log.
    Java Runtime: 1.6.0_14 Sun Microsystems Inc. /home/user/foundation/jdk-1.6/jre [06/Apr/2011:12:48:44 EDT] IMQ_HOME=/home/user/foundation/sges/imq [06/Apr/2011:12:48:44 EDT] IMQ_VARHOME=/home/user/foundation/installation/node-agent-server1/server1/imq [06/Apr/2011:12:48:44 EDT] Linux 2.6.18-164.10.1.el5xen i386 server1 (8 cpu) user [06/Apr/2011:12:48:44 EDT] Java Heap Size: max=394432k, current=193920k [06/Apr/2011:12:48:44 EDT] Arguments: -javahome /home/user/foundation/jdk-1.6 -Dimq.autocreate.queue=false -Dimq.autocreate.topic=false -Dimq.cluster.masterbroker=mq://server1:37676/ -Dimq.cluster.brokerlist=mq://server1:37676/,mq://server2:37676/ -Dimq.cluster.nowaitForMasterBroker=true -varhome /home/user/foundation/installation/node-agent-server1/server1/imq -startRmiRegistry -rmiRegistryPort 37776 -Dimq.imqcmd.user=admin -passfile /tmp/asmq5711749746025968663.tmp -save -name clusterservercom -port 37676 -bgnd -silent [06/Apr/2011:12:48:44 EDT] [B1004]: Starting the portmapper service using tcp [ 37676, 50, * ] with min threads 1 and max threads of 1 [06/Apr/2011:12:48:45 EDT] [B1060]: Loading persistent data...
    I followed step in http://middlewaremagic.com/weblogic/?p=4884 to narrow it down to Threads that was causing high cpu. Both were around 94%.
    Following is the stack for those threads.
    "Thread-jms[224]" prio=10 tid=0xd635f400 nid=0x5665 runnable [0xd18fe000] java.lang.Thread.State: RUNNABLE at com.sun.messaging.jmq.jmsserver.data.TransactionList.isConsumedInTransaction(TransactionList.java:697) at com.sun.messaging.jmq.jmsserver.core.Session.detatchConsumer(Session.java:918) - locked <0xf3d35730> (a java.util.Collections$SynchronizedMap) at com.sun.messaging.jmq.jmsserver.core.Session.detatchConsumer(Session.java:810) at com.sun.messaging.jmq.jmsserver.data.handlers.ConsumerHandler.destroyConsumer(ConsumerHandler.java:577) at com.sun.messaging.jmq.jmsserver.data.handlers.ConsumerHandler.handle(ConsumerHandler.java:422) at com.sun.messaging.jmq.jmsserver.data.PacketRouter.handleMessage(PacketRouter.java:181) at com.sun.messaging.jmq.jmsserver.service.imq.IMQIPConnection.readData(IMQIPConnection.java:1489) at com.sun.messaging.jmq.jmsserver.service.imq.IMQIPConnection.process(IMQIPConnection.java:644) at com.sun.messaging.jmq.jmsserver.service.imq.OperationRunnable.process(OperationRunnable.java:170) at com.sun.messaging.jmq.jmsserver.util.pool.BasicRunnable.run(BasicRunnable.java:493) at java.lang.Thread.run(Thread.java:619) Locked ownable synchronizers: - None
    "Thread-jms[214]" prio=10 tid=0xd56c8000 nid=0x566c waiting for monitor entry [0xd2838000] java.lang.Thread.State: BLOCKED (on object monitor) at com.sun.messaging.jmq.jmsserver.data.TransactionInformation.isConsumedMessage(TransactionList.java:2544) - locked <0xdbeeb538> (a com.sun.messaging.jmq.jmsserver.data.TransactionInformation) at com.sun.messaging.jmq.jmsserver.data.TransactionList.isConsumedInTransaction(TransactionList.java:697) at com.sun.messaging.jmq.jmsserver.core.Session.detatchConsumer(Session.java:918) - locked <0xe4c9abf0> (a java.util.Collections$SynchronizedMap) at com.sun.messaging.jmq.jmsserver.core.Session.detatchConsumer(Session.java:810) at com.sun.messaging.jmq.jmsserver.data.handlers.ConsumerHandler.destroyConsumer(ConsumerHandler.java:577) at com.sun.messaging.jmq.jmsserver.data.handlers.ConsumerHandler.handle(ConsumerHandler.java:422) at com.sun.messaging.jmq.jmsserver.data.PacketRouter.handleMessage(PacketRouter.java:181) at com.sun.messaging.jmq.jmsserver.service.imq.IMQIPConnection.readData(IMQIPConnection.java:1489) at com.sun.messaging.jmq.jmsserver.service.imq.IMQIPConnection.process(IMQIPConnection.java:644) at com.sun.messaging.jmq.jmsserver.service.imq.OperationRunnable.process(OperationRunnable.java:170) at com.sun.messaging.jmq.jmsserver.util.pool.BasicRunnable.run(BasicRunnable.java:493) at java.lang.Thread.run(Thread.java:619) Locked ownable synchronizers: - None
    "Thread-jms[213]" prio=10 tid=0xd65be800 nid=0x5670 runnable [0xd1a28000] java.lang.Thread.State: RUNNABLE at com.sun.messaging.jmq.jmsserver.data.TransactionList.isConsumedInTransaction(TransactionList.java:697) at com.sun.messaging.jmq.jmsserver.core.Session.detatchConsumer(Session.java:918) - locked <0xe4c4bad8> (a java.util.Collections$SynchronizedMap) at com.sun.messaging.jmq.jmsserver.core.Session.detatchConsumer(Session.java:810) at com.sun.messaging.jmq.jmsserver.data.handlers.ConsumerHandler.destroyConsumer(ConsumerHandler.java:577) at com.sun.messaging.jmq.jmsserver.data.handlers.ConsumerHandler.handle(ConsumerHandler.java:422) at com.sun.messaging.jmq.jmsserver.data.PacketRouter.handleMessage(PacketRouter.java:181) at com.sun.messaging.jmq.jmsserver.service.imq.IMQIPConnection.readData(IMQIPConnection.java:1489) at com.sun.messaging.jmq.jmsserver.service.imq.IMQIPConnection.process(IMQIPConnection.java:644) at com.sun.messaging.jmq.jmsserver.service.imq.OperationRunnable.process(OperationRunnable.java:170) at com.sun.messaging.jmq.jmsserver.util.pool.BasicRunnable.run(BasicRunnable.java:493) at java.lang.Thread.run(Thread.java:619) Locked ownable synchronizers: - None
    Any ideas will be appreciated.
    --

    Thanks ak, for the response.
    Yes, the messages are consumed in transactions. I set imq.txn.reapLimit=200 in Start Arguments in jvm configuration.
    I verified that it is being set in the log.txt file for the broker:
    -Dimq.autocreate.queue=false -Dimq.autocreate.topic=false -Dimq.txn.reapLimit=250
    It did not make any difference. Do I need to set this property somewhere else ?
    As far as upgrading MQ is concerned, I am using glassfish 2.1. And I think MQ 4.3 is packaged with it. Can you suggest a safe way to upgrade to OpenMQ 4.5 in a running environment. I can bring down the cluster temporarily. Can I just change the jar file somwhere to use MQ4.5 ?
    Here is the snippet of the consumer code :
    I create Connection in @postConstruct and close it in @preDestroy, so that I don't have to do it everytime.
    private ResultMessage[] doRetrieve(String username, String password, String jndiDestination, String filter, int maxMessages, long timeout, RetrieveType type)
    throws InvalidCredentialsException, InvalidFilterException, ConsumerException {
    // Resources
    Session session = null;
    try {
    if (log.isTraceEnabled()) log.trace("Creating transacted session with JMS broker.");
    session = connection.createSession(true, Session.SESSION_TRANSACTED);
    // Locate bound destination and create consumer
    if (log.isTraceEnabled()) log.trace("Searching for named destination: " + jndiDestination);
    Destination destination = (Destination) ic.lookup(jndiDestination);
    if (log.isTraceEnabled()) log.trace("Creating consumer for named destination " + jndiDestination);
    MessageConsumer consumer = (filter == null || filter.trim().length() == 0) ? session.createConsumer(destination) : session.createConsumer(destination, filter);
    if (log.isTraceEnabled()) log.trace("Starting JMS connection.");
    connection.start();
    // Consume messages
    if (log.isDebugEnabled()) log.trace("Creating retrieval containers.");
    List<ResultMessage> processedMessages = new ArrayList<ResultMessage>(maxMessages);
    BytesMessage jmsMessage = null;
    for (int i = 0 ; i < maxMessages ; i++) {
    // Attempt message retrieve
    if (log.isTraceEnabled()) log.trace("Attempting retrieval: " + i);
    switch (type) {
    case BLOCKING :
    jmsMessage = (BytesMessage) consumer.receive();
    break;
    case IMMEDIATE :
    jmsMessage = (BytesMessage) consumer.receiveNoWait();
    break;
    case TIMED :
    jmsMessage = (BytesMessage) consumer.receive(timeout);
    break;
    // Process retrieved message
    if (jmsMessage != null) {
    if (log.isTraceEnabled()) log.trace("Message retrieved\n" + jmsMessage);
    // Extract message
    if (log.isTraceEnabled()) log.trace("Extracting result message container from JMS message.");
    byte[] extracted = new byte[(int) jmsMessage.getBodyLength()];
    jmsMessage.readBytes(extracted);
    // Decompress message
    if (jmsMessage.propertyExists(COMPRESSED_HEADER) && jmsMessage.getBooleanProperty(COMPRESSED_HEADER)) {
    if (log.isTraceEnabled()) log.trace("Decompressing message.");
    extracted = decompress(extracted);
    // Done processing message
    if (log.isTraceEnabled()) log.trace("Message added to retrieval container.");
    String signature = jmsMessage.getStringProperty(DIGITAL_SIGNATURE);
    processedMessages.add(new ResultMessage(extracted, signature));
    } else
    if (log.isTraceEnabled()) log.trace("No message was available.");
    // Package return container
    if (log.isTraceEnabled()) log.trace("Packing retrieved messages to return.");
    ResultMessage[] collectorMessages = new ResultMessage[processedMessages.size()];
    for (int i = 0 ; i < collectorMessages.length ; i++)
    collectorMessages[i] = processedMessages.get(i);
    if (log.isTraceEnabled()) log.trace("Returning " + collectorMessages.length + " messages.");
    return collectorMessages;
    } catch (NamingException ex) {
    sessionContext.setRollbackOnly();
    log.error("Unable to locate named queue: " + jndiDestination, ex);
    throw new ConsumerException("Unable to locate named queue: " + jndiDestination, ex);
    } catch (InvalidSelectorException ex) {
    sessionContext.setRollbackOnly();
    log.error("Invalid filter: " + filter, ex);
    throw new InvalidFilterException("Invalid filter: " + filter, ex);
    } catch (IOException ex) {
    sessionContext.setRollbackOnly();
    log.error("Message decompression failed.", ex);
    throw new ConsumerException("Message decompression failed.", ex);
    } catch (GeneralSecurityException ex) {
    sessionContext.setRollbackOnly();
    log.error("Message decryption failed.", ex);
    throw new ConsumerException("Message decryption failed.", ex);
    } catch (JMSException ex) {
    sessionContext.setRollbackOnly();
    log.error("Unable to consumer messages.", ex);
    throw new ConsumerException("Unable to consume messages.", ex);
    } catch (Throwable ex) {
    sessionContext.setRollbackOnly();
    log.error("Unexpected error.", ex);
    throw new ConsumerException("Unexpected error.", ex);
    } finally {
    try {
    if (session != null) session.close();
    } catch (JMSException ex) {
    log.error("Unexpected error.", ex);
    Thanks for your help.
    Edited by: vineet on Apr 7, 2011 10:06 AM

  • AHCI cpu utilization skyrockets

    This issue is a bit new to me--have done RAID and IDE setups for decades, but thought I'd tinker with AHCI.  Motherboard is MSI 970a-G46.  Enabling and disabling AHCI with an established Win7x64 installation is not a problem for me.
    Problem is that after enabling AHCI properly, cpu usage soars to 25%-30%+ with the Windows AHCI drivers, and jumps to as high as 40% with the latest AMD chipset drivers.  OK--this is what HD Tach reports, anyway.  IDE settings for the same drives measure 1-2% cpu utilization.  According to HD Tach, too, the performance of AHCI & IDE is identical.  Ergo: I see no advantage for my client system running in AHCI and will return to IDE.
    Agree--disagree? Suggestions?  Thanks.

    Quote from: Panther57 on 30-June-12, 01:01:20
    This is an interesting post... With my new build I was set Raid0 / IDE. I had an unhappy line in device manager and changed to AHCI. Then it downloaded the driver.
    I have not seen a jump in CPU usage. But I also have not been watching it like a hawk. Hmmm
    I am going to watch my AMD System Monitor for results. In a post of mine..earlier.. I was told, and did some tests of AHCI vs: IDE. I ran IDE on my other PC (listed below, HTPC) and am now AHCI on my main 990FXA-GD80. The difference between the 2 ways tested on my 790FX actually did show an advantage IDE, using Bench32.
    Not a huge advantage.. but a little over AHCI. I don't know if the difference is really worth much inspection.
    I am looking forward to the results you get WaltC
    Thanks, Panther57...;)  My "results" are really more of an opinion, but ...
    Right now I'm not really sure what hard drive benchmark I should be using or trusting!...;)  HD Tach's last release in 2004 is now confirmed on the company's site as the last version of the bench it will make--as it is, I have to set the compatibility tab for WinXP just to run the darn thing in Win7x64!  But...I installed the free version of HD Tune (and the 15-day trial for the "Pro" version of the program, too), and the results are very similar--except that HD Tune seems to be measuring my burst speeds incorrectly:  HD Tach consistently puts them north of 200mb/s; HD Tune, well south of  200mb/s.  (A strike against HD Tune--the free version does not measure cpu dependency--grrr-r-r-r.  You have to pay for the "Pro" version to see that particular number, or install the Pro trial version which reveals those numbers for 15 days.)
    OK, between the two benchmarks, and after several tests, cpu utilization seems high *both* in IDE and in AHCI modes.  Like you, it has been quite awhile since I actually *looked* at cpu utilization of any kind for hard drives.  I guess I wasn't prepared to see how cpu dependent things have become again.  Certainly, we are nowhere near the point of decades ago when cpu utilization approached 100% and our programs would literally freeze while loading from the IDE disk, until the load was finished.  The "good old days," right?  NOT, hardly...;)  I suppose, though, that with multicore cpus being the rule these days instead of the exception, cpu dependency is just not as big a deal as it was in the "old days" when we dealt with single-core cpus exclusively and searching an IDE drive could literally stop the whole show.
    Again, when running these read tests to see the degree of cpu utilization, I found that while the tests were all uniform and basically just repeats of each other, done a couple of dozen times, the results for cpu utilization in each test were *all over the map*--from 0% to 40% cpu dependency!  And the same was true whether I was testing in IDE mode or AHCI mode.  That was kind of surprising--and yet, it still leaves open the question of how accurate and reliable the two HD benchmarks that I used actually are.   Besides that, I did find a direct correlation between the size of the files being moved/copied and the degree of cpu dependency--the smaller the files copied and moved the higher the cpu involvement--the larger the files, the lower the cpu overhead in copying and moving, etc.  Much as we'd expect.
    So after all was said and done--it does seem to me that AHCI is actually more of a performer than IDE, albeit not by much.  I think maybe it demands a tad less cpu dependency, too, which is another mark in its favor.  In one group of tests I ran on a single drive (I also tested a pair of Windows-spanned hard drives in RAID 0 (software RAID) in AHCI and in IDE mode, just for the heck of it...;)),  I found the *average* read speed of the AHCI drive some ~15mb/s faster than the same drive tested in IDE.  That was with HD Tune tests.  But as I've stated, how reliable or accurate are these benchmarks?  Heh...;)  Anybody's guess, I suppose.
    My take in general on the subject (for anyone interested) is that going to AHCI won't hurt if a person decides to go that route, but it also won't help that much, either. You definitely can easily and very quickly move from an installed Win7 IDE installation to an AHCI installation, no problem (some sources swear it can't be done without a reformat and a reinstall--just not true!  They just haven't discovered how easy and simple it is to move from IDE to AHCI and back again.)   Current cpu dependencies whether in AHCI or in IDE surprise me they seem so high.  However, the last time I paid close attention to such numbers was back when I ran a single-core cpu, and back then cpu dependency numbers for a hard drive meant quite a lot.  Today's cpus have both the raw computational power and the number of cores to take that particular concern and put it on its ear, with a large grain of salt!...;)
    I have three drives total at current:
    Boot drive:
    ST332062 OAS Sata, boot drive
    then,
    (2) ST350041 8AS Satas, spanned in software RAID 0, making two ~500GB RAID 0 partitions. 
    Total disk space ~1.32 terabytes, all drives including RAID 0 partitions running in AHCI mode. (Software RAID is just as happy with IDE, btw.)
    My Friday "project" is complete...:]  Hope I haven't confused anyone more than myself...;)

  • High CPU Utilization on Cisco SGE-2000

    Dear Experts,
    We are using Two Cisco SGE-2000 in our network. but we are facing CPU utilization very high upto 95 to 98 percent.
    we are unable to see in details why it's happend like in cisco RTR or Catalyst " sh proc cpu" there is see in details by which service it going high so then we can identity very easly but in Cisco L3 SGe-2000 only showing Percent not in details. so how can i find out.
    We are getting on SGE-2000 this type of errors "2147480831 2012-Jul-06 13:14:45 Warning %IPFFT-W-SFFTREDYELLOW: IP SFFT"
    how can solve this and why it's happend.
    Please anyone help me for the same , i appreciate for this.
    Thanks in ADV,

    D/Tom,
    Thanks for your reply . you are right there is more than 400 users connected with this SW so how can i resolve this issue.
    one more think should i go with this SW when connected more than 400 users and also we have configured with Static route and we have facing CPU utilization very high continue 90 to 99 percent. and how can i show in details which service is taking high percent of CPU utilization cause i am not able to show in details in this SW only percentage are showing.
    This SW is reliable at this level ?? or not and i want to know how many BW perfonance capacity of this SW currentely we are using 100 mb P2P.
    one SW at our CO (SGE-2000) with 150 users and conneted 100 mb P2P with same SGE-2000 at our HO with more than 400 usrs.
    there is no any issue at our CO with the same SW.
    Thanks once again!!!

  • High CPU Utilization on ASA 5540

    I have a remote site customer with a Cisco ASA 5540 running SSLVPN (Anyconnect)(8.03). It currently only serves about 450 SSLVPN clients. Since last friday, they've seen the CPU utilization go up to high 90% while only serving 400+ remote users. I saw some high cpu utilization bugs, but none looked to be relevant. Any ideas on how I can find the root cause of the CPU high utilization?

    Hi rlortiz,
    I ran into this issue as well on an ASA 5540 with only about 150 users. In the case if you are using large modulus operations including large key size certificates and a higher Diffie-Hellman group, it will cause for high processing.
    Since the default method of processing these operations is software-based, it will cause higher CPU usage and also slower SSL/IPsec connection establishment.
    If this is the scenario for you, use hardware-based processing by using the following configuration:
    "crypto engine large-mod-accel"

  • Airport Process utilizing high CPU utilization

    I currently have a 13 inch MacBook Pro i7 (2012 version).  Recently I upgraded to Mavericks.  After using the computer for a day after the upgrade, I began to notice it becoming very hot and the fans running very high.  Looking at the running processes i noticed that a process called "airport" was running and utilizing high CPU times causing the heating up and fans running.  Once I stopped this process, the laptop went back to operating at normal levels.
    Unfortunately this issue began to come back several times....the "airport" process starting at any time and utilizing high CPU utilization....again only by killing this process fixed this issue.
    After seeing this behavior over several days, I decised to wipe the drive and install a clean copy of Mavericks in the computer.  Thought here was that possibly something did not carry over correctly from the upgrade from Mountain Lion to Mavericks.  Unfortunely this did not correct the issue with the "airport" process as it still is continiung to launch at any time and spike the processor until I manually kill the process.
    I do not recall this issue occuring while running Mountain Lion so it seems to be specific to Mavericks at this point.
    I was hoping to hear if any other have experienced this type of issues while running Mavericks.

    You should be able to find the information you are looking for from the default Total CPU Utilization Percentage monitor.  This monitor has a built in diagnostic task that will kick off when an alert is triggered to list the top cpu consuming processes.
     To find which processes were causing CPU to spike, simply review the State Change Events history in health explorer for the machine that was affected, for the Total CPU Utilization Percentage monitor.  I have modified my second screen shot
    to remove machine names, but you should get the idea.  If a cpu monitor went from green to red, it will run the diagnostic task and list the process information and cpu usage at the time of the alert under state change events.

  • Can we control user request w.r.t Memory and CPU utilization in Oracle 10g

    Dear All,
    We are having Production with Oracle 10.2.0.4 (5 Node RAC, 32Gb RAM each) running on RHEL5.2 with 12000 Users. We have some schema say FIN, HRMS, SALES, REPORT and many dedicated users for those schemas. We need to control the user request against these schema with respect to Memory (or CPU utilization)
    Suppose users using FIN schema can use Maximum 40 % of Total Memory, HRMS schema can use Max 20%, SALES can use Max 20% and REPORT can use Max 20%.
    Is it possible to create any Service in Server side to handle this type of scenareo or any existing service which can be customised to fullfil this?
    Please suggest me.......
    Thanks,
    Tusar
    Edited by: gohappy on Jan 27, 2011 5:59 AM
    Edited by: gohappy on Jan 27, 2011 6:00 AM

    JDBC 'applications' quite often don't use persistent connections, and often do not exit gracefully by calling 'exit' or 'disconnect'.
    This means the session will continue to exist.
    It also means, if you don't establish any form of connection pooling and/or dead connection detection, you can throw whatever amount of memory in the server, and you will continue to report
    'Now problems is coming'. Apart from crippled English, the general lesson any DBA should know is how these 'applications' operate, and, contrary to some, you can never ever fight problems caused by applications,
    by throwing memory and cpu at the problem.
    When I read your text, I also assume the application is not using PrepareStatement calls and not using bindvariables, this is why your 'application' is burning the CPU.
    Find those 'application developers', sue them, or better still : Beat them with a whip, and have them fix their 'crapplication'.
    Paraphrasing William Jefferson Clinton: It's the application, stupid!
    Sybrand Bakker
    Senior Oracle DBA

  • Increase in CPU Utilization after migration from APEX 3.1.2 to APEX 3.2

    Has any noticed any increase in CPU Utilization after migrating from APEX 3.1.2 to APEX 3.2?
    Thanks,
    Mark

    Hi Mark,
    Take a look at some of the usage reports within APEX (sessions, page views etc) to get an overall feel for where the time is being consumed.
    You'll also find it useful if you can run a statspack report (or AWR, ASH etc) during a busy period to be able to drill down into where that CPU is being spent.
    There's no magic answers here unfortunately, you need to track it down to where the time is being spent before working back up to find out where best to tune it.
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • Xsun (high CPU utilization) on Solaris 10 Sparc

    hi
    i have sun blade 1500 and am running solaris 10 on it. the machine is a 2 CPU (750Mhz) 4GB Sparc with the lastest cluster patch.
    The Xsun process is alway at 50% util and the windowmaker (wmaker) is at 27%.
    The Xsun is alway using all available CPU and the machine is really slow.. any help on what patch will fix the Xsun process ? any operation on the machine increases the Xsun's CPU util.
    thx
    Sriram

    Hi sridhar,
    can i know which platform you are using....
    if it is solaris,
    can you paste the details of the prstat -L -p wlpid 1 1 ---> which gives the light wieght pid threads
    and also (pstact wlspid) for lwpid to process id mapping
    or you can follow these steps for finding which thread is causing the hight cpu utilization
    1.find the highest usage lwpid in prstat output
    2.find the lwpid in pstack output and get the matching thread number
    3.convert the thread number to hexadecimal
    4.find the hexadecimal thread number in the server thread dump (nid= xxx)
    5.determine what thread was doing to cause the high cpu usage
    you can find similar way if it is linux..
    ps u -Lp wlspid and thread dump
    Thank you,
    Bob
    Edited by: Bob on Sep 21, 2010 10:18 AM
    Edited by: Bob on Sep 21, 2010 10:24 AM

  • Heavy CPU Utilization of Dictionary Query - After 9i to 10g Upgrade

    Hi Friends,
    We have migrated our production DB from Oracle 9i(Windows) to Oracle 10g(AIX) and after that a heavy cpu utilization query is coming frequently and hence many timeouts are happening in the application.
    Application is connecting to the database through Java Application (JDBC).
    Once the application service is started, below query is invoked and CPU takes around 20% continuously.
    The interesting thing is this query is not owned by the application schema but by SYS and it's invoked from Application Schema.
    We have raised an SR but still no luck.
    Any help will be very much appreciated.
    SELECT -- Packaged procedures with no arguments package_name AS procedu
    re_cat, owner AS procedure_schem, object_name AS procedure_name, NULL
    , NULL, NULL, 'Packaged procedure' AS remarks, 1 AS procedure_type
    FROM all_arguments WHERE argument_name IS NULL AND data_type IS NULL AN
    D package_name LIKE :3 ESCAPE '/' AND owner LIKE :4 ESCAPE '/' AND obje
    ct_name LIKE :5 ESCAPE '/' UNION ALL SELECT -- Packaged procedures with a
    rguments package_name AS procedure_cat, owner AS procedure_schem, obj
    ect_name AS procedure_name, NULL, NULL, NULL, 'Packaged procedure'
    AS remarks, 1 AS procedure_type FROM all_arguments WHERE argument_name IS
    NOT NULL AND position = 1 AND position = sequence AND package_name L
    IKE :3 ESCAPE '/' AND owner LIKE :4 ESCAPE '/' AND object_name LIKE :5
    ESCAPE '/' UNION ALL SELECT -- Packaged functions package_name AS proce
    dure_cat, owner AS procedure_schem, object_name AS procedure_name, NU
    LL, NULL, NULL, 'Pa
    Regards,
    Savad
    Edited by: user9292816 on May 9, 2011 4:35 AM

    Hi,
    We couldn't find anything in the alert log related to this.
    But we have taken the explain plan from both DBs as shown below.
    PLan of the Query in Oracle 9.2.0.8(Windows - Old DB )
    SQL> select * from table(dbms_xplan.display());
    | Id | Operation | Name | Rows | Bytes | Cost |
    | 0 | SELECT STATEMENT | | | | |
    | 1 | SORT ORDER BY | | | | |
    |* 2 | FILTER | | | | |
    |* 3 | TABLE ACCESS BY INDEX ROWID | ARGUMENT$ | | | |
    | 4 | NESTED LOOPS | | | | |
    | 5 | NESTED LOOPS | | | | |
    | 6 | TABLE ACCESS BY INDEX ROWID| USER$ | | | |
    |* 7 | INDEX RANGE SCAN | I_USER1 | | | |
    | 8 | TABLE ACCESS BY INDEX ROWID| OBJ$ | | | |
    |* 9 | INDEX RANGE SCAN | I_OBJ2 | | | |
    |* 10 | INDEX RANGE SCAN | I_ARGUMENT2 | | | |
    |* 11 | FIXED TABLE FULL | X$KZSPR | | | |
    |* 12 | TABLE ACCESS BY INDEX ROWID | OBJAUTH$ | | | |
    | 13 | NESTED LOOPS | | | | |
    | 14 | FIXED TABLE FULL | X$KZSRO | | | |
    |* 15 | INDEX RANGE SCAN | I_OBJAUTH2 | | | |
    Predicate Information (identified by operation id):
    2 - filter("SYS_ALIAS_1"."OWNER#"=:B1 OR EXISTS (SELECT /*+ */ 0 FROM
    "X$KZSPR" "X$KZSPR" WHERE "X$KZSPR"."INST_ID"=:B2 AND
    ((-"X$KZSPR"."KZSPRPRV")=(-144) OR (-"X$KZSPR"."KZSPRPRV")=(-141))) OR EXISTS
    (SELECT 0 FROM "SYS"."OBJAUTH$" "OBJAUTH$","X$KZSRO" "X$KZSRO" WHERE
    "OBJAUTH$"."OBJ#"=:B3 AND "OBJAUTH$"."GRANTEE#"="X$KZSRO"."KZSROROL" AND
    "OBJAUTH$"."PRIVILEGE#"=12))
    3 - filter(("A"."ARGUMENT" LIKE :Z ESCAPE '/' OR "A"."ARGUMENT" IS NULL AND
    DECODE("A"."TYPE#",0,NULL,1,DECODE("A"."CHARSETFORM",2,'NVARCHAR2','VARCHAR2'),2,
    DECODE("A"."SCALE",(-127),'FLOAT','NUMBER'),3,'NATIVE
    INTEGER',8,'LONG',9,DECODE("A"."CHARSETFORM",2,'NCHAR
    VARYING','VARCHAR'),11,'ROWID',12,'DATE',23,'RAW',24,'LONG
    RAW',29,'BINARY_INTEGER',69,'ROWID',96,DECODE("A"."CHARSETFORM",2,'NCHAR','CHAR')
    ,102,'REF CURSOR',104,'UROWID',105,'MLSLABEL',106,'MLSLABEL',110,'REF',111,'REF',
    112,DECODE("A"."CHARSETFORM",2,'NCLOB','CLOB'),113,'BLOB',114,'BFILE',115,'CFILE'
    ,121,'OBJECT',122,'TABLE',123,'VARRAY',178,'TIME',179,'TIME WITH TIME
    ZONE',180,'TIMESTAMP',181,'TIMESTAMP WITH TIME ZONE',231,'TIMESTAMP WITH LOCAL
    TIME ZONE',182,'INTERVAL YEAR TO MONTH',183,'INTERVAL DAY TO SECOND',250,'PL/SQL
    RECORD',251,'PL/SQL TABLE',252,'PL/SQL BOOLEAN','UNDEFINED') IS NOT NULL) AND
    DECODE("A"."PROCEDURE$",NULL,NULL,"SYS_ALIAS_1"."NAME") LIKE :Z ESCAPE '/' AND
    NVL("A"."PROCEDURE$","SYS_ALIAS_1"."NAME") LIKE :Z ESCAPE '/')
    7 - access("U"."NAME" LIKE :Z ESCAPE '/')
    filter("U"."NAME" LIKE :Z ESCAPE '/')
    9 - access("SYS_ALIAS_1"."OWNER#"="U"."USER#")
    10 - access("SYS_ALIAS_1"."OBJ#"="A"."OBJ#")
    11 - filter("X$KZSPR"."INST_ID"=:B1 AND ((-"X$KZSPR"."KZSPRPRV")=(-144) OR
    (-"X$KZSPR"."KZSPRPRV")=(-141)))
    12 - filter("OBJAUTH$"."PRIVILEGE#"=12)
    15 - access("OBJAUTH$"."GRANTEE#"="X$KZSRO"."KZSROROL" AND
    "OBJAUTH$"."OBJ#"=:B1)
    Note: rule based optimization
    PLan of the Query in Oracle 10.2.0.5.3(AIX - New DB )
    ?PLAN_TABLE_OUTPUT
    Plan hash value: 2991281545
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 109 | 451 (3)| 00:00:06 |
    | 1 | SORT ORDER BY | | 1 | 109 | 451 (3)| 00:00:06 |
    |* 2 | FILTER | | | | | |
    |* 3 | HASH JOIN | | 3 | 327 | 450 (3)| 00:00:06 |
    |* 4 | HASH JOIN | | 12 | 1128 | 448 (3)| 00:00:06 |
    |* 5 | TABLE ACCESS FULL | ARGUMENT$ | 4821 | 291K| 259 (3)| 00:00:04 |
    | 6 | TABLE ACCESS FULL | OBJ$ | 56329 | 1760K| 187 (2)| 00:00:03 |
    | 7 | TABLE ACCESS BY INDEX ROWID| USER$ | 6 | 90 | 2 (0)| 00:00:01 |
    |* 8 | INDEX RANGE SCAN | I_USER1 | 2 | | 1 (0)| 00:00:01 |
    |* 9 | FIXED TABLE FULL | X$KZSPR | 1 | 26 | 0 (0)| 00:00:01 |
    | 10 | NESTED LOOPS | | 2 | 50 | 2 (0)| 00:00:01 |
    |* 11 | INDEX RANGE SCAN | I_OBJAUTH1 | 1 | 12 | 2 (0)| 00:00:01 |
    |* 12 | FIXED TABLE FULL | X$KZSRO | 2 | 26 | 0 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    2 - filter("OWNER#"=USERENV('SCHEMAID') OR EXISTS (SELECT 0 FROM SYS."X$KZSPR"
    "X$KZSPR" WHERE ((-"KZSPRPRV")=(-144) OR (-"KZSPRPRV")=(-141)) AND
    "INST_ID"=USERENV('INSTANCE')) OR EXISTS (SELECT 0 FROM "SYS"."OBJAUTH$"
    "OBJAUTH$",SYS."X$KZSRO" "X$KZSRO" WHERE "GRANTEE#"="KZSROROL" AND "OBJ#"=:B1 AND
    "PRIVILEGE#"=12))
    3 - access("O"."OWNER#"="U"."USER#")
    4 - access("O"."OBJ#"="A"."OBJ#")
    filter(NVL("A"."PROCEDURE$","O"."NAME") LIKE :2 ESCAPE '/' AND
    DECODE("A"."PROCEDURE$",NULL,NULL,"O"."NAME") LIKE :3 ESCAPE '/')
    5 - filter("A"."ARGUMENT" LIKE :5 ESCAPE '/' OR "A"."ARGUMENT" IS NULL AND
    DECODE("A"."TYPE#",0,NULL,1,DECODE("A"."CHARSETFORM",2,'NVARCHAR2','VARCHAR2'),2,DECO
    DE("A"."SCALE",(-127),'FLOAT','NUMBER'),3,'NATIVE
    INTEGER',8,'LONG',9,DECODE("A"."CHARSETFORM",2,'NCHAR
    VARYING','VARCHAR'),11,'ROWID',12,'DATE',23,'RAW',24,'LONG
    RAW',29,'BINARY_INTEGER',69,'ROWID',96,DECODE("A"."CHARSETFORM",2,'NCHAR','CHAR'),100
    ,'BINARY_FLOAT',101,'BINARY_DOUBLE',102,'REF
    CURSOR',104,'UROWID',105,'MLSLABEL',106,'MLSLABEL',110,'REF',111,'REF',112,DECODE("A"
    ."CHARSETFORM",2,'NCLOB','CLOB'),113,'BLOB',114,'BFILE',115,'CFILE',121,'OBJECT',122,
    'TABLE',123,'VARRAY',178,'TIME',179,'TIME WITH TIME
    ZONE',180,'TIMESTAMP',181,'TIMESTAMP WITH TIME ZONE',231,'TIMESTAMP WITH LOCAL TIME
    ZONE',182,'INTERVAL YEAR TO MONTH',183,'INTERVAL DAY TO SECOND',250,'PL/SQL
    RECORD',251,'PL/SQL TABLE',252,'PL/SQL BOOLEAN','UNDEFINED') IS NOT NULL)
    8 - access("U"."NAME" LIKE :1 ESCAPE '/')
    filter("U"."NAME" LIKE :1 ESCAPE '/')
    9 - filter(((-"KZSPRPRV")=(-144) OR (-"KZSPRPRV")=(-141)) AND
    "INST_ID"=USERENV('INSTANCE'))
    11 - access("OBJ#"=:B1 AND "PRIVILEGE#"=12)
    filter("PRIVILEGE#"=12)
    12 - filter("GRANTEE#"="KZSROROL")
    52 rows selected.
    Regards,
    Savad

Maybe you are looking for

  • PowerPoint 2013 locksup after installing Windows 8.1 Update

    After installing the update for the Windows OS 8.1, my 2013 Microsoft Office is locking up. Particularly in PowerPoint. It displays the spinning cursor as if saving, but never stops. The only option is powering down the laptop. It recovers the docume

  • Bash help [solved]

    Hi, I'm writing a bash script and I am trying to test 2 strings in the same if statement, and it doesnt read the second statement, if [ "$1" != "dbstart" -o "$1" != "dbstop" ] then echo 'use dbstart or dbstop' else su - postgres -c "sh ${1}.sh" fi I

  • Use of X Queries in custom Xpath functions ?

    Hi all, I have used java classes in custom x path functions, similarly can we use x query in custom Xpath functions instead of java ? I mean can we use XQuery in domain level rather than project level ? Thank You

  • Ora-02084 : database name is missing a component

    hai all, i am a newbee to oracle. i am struggling to create a database, any help would be highly appreciated. i have installed Oracle 9i on a RH8.0 system. but while creating database through DBCA, i am getting the error message, "ORA -02084:Oracle d

  • Google Code When inserted all I see is code

    I have the code from Google ads, but when I paste it in Dreamweaver, all I see is the code, not the ads. Any advise? And yes, I am a newbie :(