High HDD CPU utilization!

Hmm....my WD Raptor 740 seems to eat CPU power! Why? Anyone?
HD Tach 2.61: 20%
HD Tach 2.70: 32%
K8N Neo Platinum, 3000+ (cg), bios 1.1, sata port 3
Thanks

Abnormal HDD activity can sometimes be difficult to diagnose...But, the first and easiest thing I would do is a spyware search and an ad-ware clean-up. Check out
http://www.pepimk.com for Spybot Search and Destroy (free), and Lavasoft's Ad-Ware remover http://www.lavasoft.com (free). If that doesn't help, I would look for some hidden programs that are probably running in the background...check your start-up folder and see which files are attached, that are linked to your start-up menu!!!

Similar Messages

  • LR 1.1 High (~60%) CPU utilization when LR is idle

    When I startup LR without doing anything, in the LIBRARY module LR idles at just under 60% CPU utilization (dual processors, 4GB mem) and has been for the last 20 minutes. The LR catalog and preview files have all been defragmented. The LR catalog has been optimized. This situation seems to happen about 3/4ths the time that I run LR. It does not prevent other LR activities.
    A) Is there anyway to discover what LR is doing?
    B) Any ideas on how to fix?

    I haven't done an import, nor asked it to build previews, and there is nothing showing in the upper left where it shows long running tasks. I haven't done an import in a while. It could be building XMP files, if those weren't built at conversion time. I asked this time around to have XMP files built. I am hoping that XMP files might make it easier to work with DxO.
    After about 20 minutes it stops the high utilization.
    Just strange behavior, not a problem in itself, but maybe related to some problem.
    Thanks,

  • Server 2012 R2 high CPU utilization

    We have approx a half-dozen virtual servers running Windows Server 2012 R2 on VMware 5.1 which show high (30%) CPU utilization when no applications are running.  This behavior does not occur on our virtual servers running Windows Server 2012 - also
    on VMware 5.1. 
    Wondering if this is a bug with 2012 R2 or some sort incompatibility with VMware 5.1.
    Hank Vare

    So process explorer just showed those two processes taking the 30% CPU?  If not, then they are not "the only things running".  If yes, then you need to investigate why those applications are taking so much CPU.
    . : | : . : | : . tim

  • Increased CPU utilization on Sup1A after upgrade

    Hello,
    I recently upgraded a 6009 with Supervisor 1A from CatOS 7.6(5) to 8.4(4). Baseline total CPU utilization before the upgrade was about 12%, post upgrade it sits at about 30%.
    We have several similar switches throughout our network that we intend to upgrade as well, so are treating this one box as a testbed. We will soon deploy IP telephones to every desk in our network, and want to determine if this higher baseline utilization will be problematic for us.
    Considering voice, should we be concerned about this? Will any changes due to voice deployment such as many trunks, QoS, etc. cause a significant jump in CPU that might put our baseline even higher?
    Will the higher baseline CPU utilization affect switch performance? I know most forwarding functions do not depend upon the CPU, and are switched via ASIC.
    thanks for the help,
    Brad

    The IDLE_Tasks process on which you are seeing a slightly higher CPU is actually an enhancement that collects information more effectively on crashinfo files (files generated when there is a crash on the box). This enhancement went into 8.3(x) and 8.4(x)
    In the past "IDLE_tasks" processing was not counted and therefore belong to the "kernel and IDLE" process (which as you can see in the show proc cpu) accounts the amount of cpu not being used.
    If you are upgrading other 6500's with Sup1a's make sure they all have 128MB DRAM just like this one has.

  • CUCM 8.6(2) - High CPU utilization - CCM process

    Hello,
    Process name ccm is peacking 91% of CPU utilization in one of Subscribers.
    On cluster there are 1 Pub, 2 Subs, and 2 TFTP.
    CCM service was already restart, and Subs reload, but problem remain.
    We have checked and removed association with phones not registered, but problem remain.
    Proc,PID,CPU,Status,SharedMem,Nice(Level)VmRSS,VMSize,VMData,ThreadCount,DataStackSize,PageFault
    ccm,32687,90,SLEEPING,87380,0,426792,605276,468544,47,418345,744
    VMware Installation:
            1 vCPU: Intel(R) Xeon(R) CPU E5-2643 0 @ 3.30GHz
            Disk 1: 80GB
            4096 Mbytes RAM
    admin:show process name ccm
      PID  PPID   TID %CPU S COMMAND
    32687     1 32687  0.0 S ccm
    32687     1 19549  0.0 S ccm
    32687     1 19570  0.0 S ccm
    32687     1 19639  0.0 S ccm
    32687     1 20057  0.0 S ccm
    32687     1 20331  0.0 S ccm
    32687     1 20332  0.0 S ccm
    32687     1 20333  0.0 S ccm
    32687     1 20354  0.0 S ccm
    32687     1 20360  0.0 S ccm
    32687     1 20361  0.0 S ccm
    32687     1 23336  0.0 S ccm
    32687     1 23337  0.0 S ccm
    32687     1 23338  0.0 S ccm
    32687     1 23339  1.0 S ccm
    32687     1 23340  0.1 S ccm
    32687     1 23341  0.2 S ccm
    32687     1 23342  0.0 S ccm
    32687     1 23349  0.0 S ccm
    32687     1 23988  0.0 S ccm
    32687     1 23989 21.6 S ccm
    32687     1 23990  0.7 S ccm
    32687     1 24013  0.0 S ccm
    32687     1 24043  0.0 R ccm
    32687     1 24044  0.0 S ccm
    32687     1 24045  0.0 S ccm
    32687     1 24046  0.0 S ccm
    32687     1 24047  0.0 S ccm
    32687     1 24048  0.7 R ccm
    32687     1 24049  0.2 S ccm
    32687     1 24050  0.1 R ccm
    32687     1 24051  0.0 S ccm
    32687     1 24052  0.0 S ccm
    32687     1 24053  0.0 S ccm
    32687     1 24054  0.0 S ccm
    32687     1 24091  0.0 S ccm
    32687     1 24092  0.0 S ccm
    32687     1 24093  0.0 S ccm
    32687     1 24181  0.0 S ccm
    32687     1 24182  0.0 S ccm
    32687     1 24192  0.0 S ccm
    32687     1 24277  0.1 S ccm
    32687     1 24278  0.0 S ccm
    32687     1 24279  0.0 S ccm
    32687     1 24280  0.0 S ccm
    32687     1 24281  0.0 S ccm
    32687     1 24282  0.0 S ccm
    admin:
    Are there any specific tests, or logs prior to isolate this issue?

    Hi,
    A few points:
    > Use one of the recommended OVA templates
    > Check if the spike is random or occurs at a specific time. If it occurs at a specific time it could be coinciding with something like DRS backup, CDR load, busy hours etc.
    > Minimum set of logs needed for one such high CPU spike instance are:
    Detailed ccm traces from all nodes
    RisDC Perfmon logs
    Proglogs
    Also, capture the output of the following:
    utils diagnose test
    utils core active list
    show process load
    HTH
    Manish

  • 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

  • No Server Name displyed in mail notification Alert generated by "total CPU Utilization Percentage is too high" Monitor

    Hello Everyone,
    I need your assisstance in one of the issues with Mail Notification Alert generated by SCOM.
    Mail notification received as below:
    Alert: Total CPU Utilization Percentage is too high
    Severity: 2
    ServerName:Microsoft Windows Server 2008 R2 Standard  - The threshold for the Processor\% Processor Time\_Total performance counter has been exceeded. The values that exceeded the threshold are: 97.091921488444015% CPU and a processor queue length of 16.
    Last modified by: System
    The Alert was generated by "Total CPU Utilization Percentage"
    But the problem with the above mail notification is it doesn't mentions about the affected server. So I would like to know how to tweak the monitors to provide the server name into it.
    Thanks & Regards,
    VROAN

    Hi 
    You can add alert source to the email format in the scom server.
    refer below link for parameters 
    http://blogs.technet.com/b/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx
    Regards
    sridhar v

  • LMS 4.2.3 Server high CPU Utilization

    Hi All,
    We are observing high CPU utilization on the lms server. tomcat is the process eating more than 1GB of the memory i checked from the task manager.
    Server details:
    device license : 100
    windows server 2k8 R2, with 8gb physical memory.
    anybody suggest what might be causing the issue.?? because of this performance reports were affected.
    Regards,
    Channa

    Hi Channa,
    log into dbreader using the following::
    http://servername : 1741/dbreader/dbreader.html
    or
    https:// servername : 443/dbreader/dbreader.html
    user Id is DBA
    Database Name is upm
    password :: user defined (by default password is c2ky2k)
    1.       Here is the query to get the pollerwise managed MIBObjects:
    "select count (*), PollerName from Poller_Details_Table a,Poller_Definition_Table b where a.PollerId = b.PollerId and b.Poller_State NOT IN (1) Group by b.PollerName;"
    2.       Here is the query to get the total mibobject count for the active pollers
    “select count (*) from Poller_Details_Table a,Poller_Definition_Table b where a.PollerId =
    b.PollerId and b.Poller_State NOT IN (1);”
    Hope it will help
    Thanks-
    Afroz
    ***Ratings Encourages Contributors ***

  • Desktop Window Manager high CPU utilization

    I have several Windows 2012 servers that are showing high CPU utilization (70% or higher) coming from the Desktop Window Manager.  I do not have the Desktop Experience feature installed on these machines.  The interesting thing is that the process
    for dwm.exe does not show up as a service that I can stop or restart.  I've read through the various posts about re-registering dmw.exe so that the service shows up again, but nothing has worked.  Since these are application and file servers with
    no need for regular desktop use, I don't really need any fancy desktop graphics or performance.  I have the Advanced Performance Options set to 'Background services'.  Can anyone tell me how to stop dwm.exe or at least reduce it's CPU footprint?
    Thanks,
    Joe

    Hi Joe,
    Based on my research, On Windows 8 and Windows Server 2012, DWM is used at all times and cannot be disabled.
    For more detailed information, please refer to this article:
    Desktop Window Manager is always on:
    To troubleshoot the high usage of CPU, I would like to recommend to follow this article to collect and analyse the relevant log files and dump files:
    Troubleshooting High CPU performance issues - Part 1
    If you want to analyse the dump file, I also recommend you can open case and contact Microsoft support.
    I hope this helps.

  • Seeing ASA 5540 with High CPU Utilization

    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. Please help us troubleshoot the root cause of the CPU high utilization on Cisco ASA 5540.

    This doc is a good starting point:
    http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_tech_note09186a008009491c.shtml

  • NSAPI plugin has high CPU utilization on Sunone web server 6.0 SP5

    Hi,
    I am running WL 6.1 SP3 with pluginProxy SP03 on Sunone web server 6.0SP5 on Solaris.
    Seeing very high CPU utilization with 3 threads running wl_proxy (about 33% each).
    Any latest NSAPI pluginproxy patch I can use to fix this?
    Walter

    I'm having the same problems as all the above posts. I run a colloborative tool which uses IPlanet as a directory server and I receive the Event ID:25 Source: WebServer 6.0 error as well as Event ID:0 Source:https-admnserv6.0 which gives "the local computer may not have the necessary registry information or message DLL files to display messages from a remote computer". I have 3 servers built and all exhibit the same errors.

  • How to get alert for app server that experienced high memory and CPU utiliz

    Hi
    How to get  alerts configured and turned u201Conu201D for the  app server that experienced high memory and CPU utilization?
    And let me know where we can check this?
    Regards,
    Neni

    hi,
    Have you configured a Central Monitoring System (CEN)? This includes registering the agent on the CEN, starting it and configuring the Central Auto Reactions on CEN using RZ21 transaction.
    [http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/05c80724d63836e10000000a42189b/frameset.htm|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/05c80724d63836e10000000a42189b/frameset.htm]
    Jansi

  • High time consumption and CPU utilization on EPM 11.1.2.1

    We are using a distributed environment for EPM system 11.1.2.0, in which, on system A, Foundation services and Planning have been installed and on system B, Essbase, Admin Services and Provider Services have been installed.
    The configuration for the two systems is as mentioned below :
    System A:
    intel Xenon CPU X7560 2.27 GHz (dual core)
    12 GB RAM
    System B:
    intel Xenon CPU X7560 2.27 GHz (dual core)
    8 GB RAM
    A business rule takes 15 minutes on being executed on version 9.3.1; whereas the time consumed on system 11.1.2.1 varies from 3 hours (mostly) to 10 minutes.
    This business rule aggregates 5 dimensions (1 dense and 4 sparse). It does not create any new blocks and intelligent calc is also set to off.
    Although the cache and memory values on the newer system are higher than the previous version, we fail to reduce the time consumption and CPU utilization. Please help us resolve this issue.

    Your issues is beyond the scope of a forum. I suggest you find an infrastructure person who has Essbase experience. Your machines also have less resources than the standard deployment guide recommends.
    This would appear to either be lack of physical memory or an issue with the IO speed of the disk subsystem which you are storing your Essbase data on.
    Regards,
    John A. Booth
    http://www.metavero.com

  • 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

  • EEM applet that triggers on high CPU utilization

    Hi Folks,
    I am trying to create an eem applet which triggers on high cpu utilization (detected by erm).   The applet should then tftp the output from "show proc cpu sorted" to a tftp server.   
    I am trying to configure this on a 1841 running 124-24.T3 code
    This is my config:
    resource policy
      policy HighGlobalCPU global
       system
        cpu total
         critical rising 5 falling 2 interval 10
        cpu process
         critical rising 5 falling 2 interval 10
    ! I'm not sure whether it is correct to monitor 'cpu total' or 'cpu process'.   The rising thresholds are deliberately low to maker testing easier
    event manager applet ReportHighCPU
    event resource policy "HighGlobalCPU"
    action 1.0 cli command "show process cpu sorted 5sec | redirect tftp://192.168.1.1/highCPU$_resource_time_sent.txt"
    action 2.0 syslog priority debugging msg "high cpu event detected, output tftp sent"
    The problem is that I can't seem to trigger the applet.    I have generated enough traffic to push the cpu utilization to over 30% (according to 'show proc cpu'), but the applet does not appear to trigger (no syslog messages appear, and my syslog server does not receive anything).
    If anyone can tell me what I've done wrong here I would be very grateful!
    Thanks,
    Darragh

    I am just replying off the top of my head but I believe you
    need to also add to your conf the line
    user global HighGlobalCPU

Maybe you are looking for