LMS 4.0.1 Create CPU Utilization Quick Report

LMS 4.0.1 Create CPU Utilization Quick Report not work,then not any error!

I made a little batch
https://supportforums.cisco.com/docs/DOC-21031
It show what process in LMS is eating you RAM / Hogging the CPU.
I don't think resources are used very effectivly in LMS
I did have the impression that some virtual machines running LMS 3.2 actually performed better than real machines, as if the VMware saw it load all these java virtual machines and that it was 45 times the same thing only being used for a few % and therefore could be swapped to disk, leaving the resources to what was actually working in LMS.
What worries me more than the resources used is the gui per.formance.
Cheers,
Michel

Similar Messages

  • Check average CPU utilization in AIX 5.3

    Hi All,
    could anyone please share knowledge on the following:
    How to check average CPU utilization in AIX 5.3.What command is used in AIX to check this output?
    Would appreciate an early reply!
    Thanks for your time!
    Regards,

    curt: Reports CPU utilization for each kernel thread (beginning with AIX 5.2)
    iostat: Displays utilization data for (Terminals, CPU, Disks, Adapters (beginning with AIX 5.1))
    netpmon: Uses the trace facility to report on network activity, including CPU consumption
    pprof: Reports CPU usage of all kernel threads over a period of time
    ps: Displays statistics and status information about the processes in the system, such as CPU utilization
    time, timex: Prints the elapsed and CPU time used by the execution of a command
    vmstat: Displays VMM data, such as CPU utilization
    [Performance reporting and analysis commands |http://publib.boulder.ibm.com/infocenter/systems/index.jsp?topic=/com.ibm.aix.prftungd/doc/prftungd/perf_report_anlysis_comms.htm]
    You can also use:
    TPROF
    http://www.ibm.com/developerworks/systems/articles/AIX5.2_performancetoolsupdatepart3.html

  • 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 ***

  • LMS 4.2 - CPU Utilization Reports

    We have CPU reports set to run daily for some of our higher priority switches, and we've noticed that some of the data isn't meshing with what we see on the switch. We have one heavily utilized switch that reports near 100% CPU utilization sometimes. I can do a "show proc cpu history" on that switch and see that at least once an hour over 72 hours, we'll see a near 100% CPU utilization.
    The problem is that these spikes never appeare on any of our reports. We'd like to see this info because even if the switch spikes for just a few seconds or a minute, it could still indicate that we may have issues. Without that in the report, we may never realize there could be a problem.
    Is there a way for this info to show in the report? I'm under the impression that if LMS polls the switch and doesn't see a high utilization average, then maybe it doesnt' enter that in the report. I guess I'd just like to know how often it pulls this data, and how it decides wath the Min, Max, and Averages are.
    Thanks for any help!
    Tim

    Same here, bump!

  • 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

  • Which metadata table in the BODS repository has data about CPU utilization of every job that gets executed?

    I have to create a performance dashboard where I need to make a graph showing CPU Utilization for individual workloads. If every job corresponds to a particular workload, is there any metadata table that would contain how much CPU Utilization corresponds to a given job?

    If i am not wrong, AL_Statistics and ALVW_History will have details of memory utilization.

  • Custom report for TOP 10 CPU Utilization machines from any group in aggregation last seven days

    I want to create a custom report that contain list of TOP CPU Utilization of machines form any group.This report is create on last 7 days CPU utilization of all machine from a group.
    What  should be query for this report.

    Hi,
    Please refer to the links below:
    SQL Query for TOP 10 Average CPU
    https://social.technet.microsoft.com/Forums/systemcenter/en-US/8d9a2d0d-8761-4d1f-b194-b24aa65172e1/sql-query-for-top-10-average-cpu?forum=operationsmanagerreporting
    How to use Report Builder to create custom reports in SCOM 2007
    http://www.systemcentercentral.com/how-to-use-report-builder-to-create-custom-reports-in-scom-2007/
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • How to reduce CPU utilization time in Java Application

    Hi,
    I have created a Java Application. It is a 3-tier architecture. While running my Java application, the CPU utilization percentage shots up to 100 %. I feel that it will affect the system performance and it will hang up the system also.
    If any body know the solution to reduce the CPU utilization or links, please post it.
    Thanks in advance.
    Kennedy

    I know Java class file must be interpreted by VM. but
    Visual Basic is also a language to be interpreted. Why
    it run faster than Java? As Java running speed is
    concerned, it's unwise to apply to the
    enterprise-level application. Now I can't endure Java
    running speed. I wander to know whether it is
    associated with operating system or not.1. Java is nto interpreted in modern (since 1997 or earlier) JVM's - it is compiled into machine code as it is executed via a JIT or a Dynamic compiler (like HotSpot).
    2. VB (5 and later) is also not truely interpreted - in fact it uses the same excellent native code generator used by Visual C++.
    3. Java is principally used these days for enterprise server-based systems where it performs extremely well - or extremely poorly as does C++ in the hands of people who don't know how to use it.
    4. Different JVM's (and in some cases the same JVM hosted on different OS's) perform at different speeds - your mileage will vary. The OS has little influence on the computational speed of java but can highly influence its network, disk and graphics performance, as does hardware configuration (local console versus X terminal - Swing sucks on X Term).
    Chuck

  • Drawing rulers - CPU utilization too high

    Hi,
    in my application I would like to show a horizontal and a vertical ruler. I have done this (see code below) but CPU utilization raises to ~50% on a P4 2.6GHz. Is there a way to avoid this?
    Creating the GUI:
    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import javax.swing.JComponent;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    public class Ruler_Test extends JComponent {
         private static final long serialVersionUID = 1L;
         public static JFrame frame = new JFrame();
         private Rulers ruleHorizontal, ruleVertical;
         public Ruler_Test() {
              setLayout(new BorderLayout());
              Dimension dim_mainPanel = new Dimension(824, 576);
              Dimension dim_ruleVertical = new Dimension(20, 576);
              Dimension dim_ruleHorizontal = new Dimension(824, 20);
              Dimension dim_cornerLabel = new Dimension(20, 20);
              JLabel cornerLabel = new JLabel("sm");
              cornerLabel.setPreferredSize(dim_cornerLabel);
              cornerLabel.setOpaque(true);
              ruleHorizontal = new Rulers(Rulers.HORIZONTAL);
              ruleHorizontal.setPreferredSize(dim_ruleHorizontal);
              ruleHorizontal.setOpaque(true);
              JPanel containerPanelNorth = new JPanel(new BorderLayout());
              containerPanelNorth.add(cornerLabel, BorderLayout.LINE_START);
              containerPanelNorth.add(ruleHorizontal, BorderLayout.CENTER);
              ruleVertical = new Rulers(Rulers.VERTICAL);
              ruleVertical.setPreferredSize(dim_ruleVertical);
              ruleVertical.setOpaque(true);
              JPanel pmPanel = new JPanel();
              pmPanel.setPreferredSize(dim_mainPanel);
              pmPanel.setOpaque(true);
              JPanel containerPanelCenter = new JPanel(new BorderLayout());
              containerPanelCenter.add(containerPanelNorth, BorderLayout.PAGE_START);
              containerPanelCenter.add(ruleVertical, BorderLayout.LINE_START);
              containerPanelCenter.add(pmPanel, BorderLayout.CENTER);
              containerPanelCenter.setOpaque(true);
              add(containerPanelCenter, BorderLayout.CENTER);
         private static void createAndShowGUI() {
              JFrame.setDefaultLookAndFeelDecorated(true);
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              Ruler_Test newContentPane = new Ruler_Test();
              newContentPane.setOpaque(true);
              frame.setContentPane(newContentPane);
              frame.pack();
              frame.setVisible(true);
         public static void main(String[] args) {
              javax.swing.SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        createAndShowGUI();
    }The Rulers:
    import java.awt.Color;
    import java.awt.Font;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import javax.swing.BorderFactory;
    import javax.swing.JComponent;
    public class Rulers extends JComponent {
         private static final long serialVersionUID = 1L;
         private static final int SIZE = 20;
         public static final int HORIZONTAL = 0;
         public static final int VERTICAL = 1;
         private int tickHeight;
         private int orientation;
         public Rulers(int o) {
              orientation = o;
         protected void paintComponent(Graphics g) {
              super.paintComponent(g);
              setBorder(BorderFactory.createLineBorder(Color.BLACK));
              Graphics2D g2 = (Graphics2D) g;
              if (isOpaque()) {
                   g2.setColor(Color.WHITE);
                   g2.fillRect(0, 0, getWidth(), getHeight());
              g2.setFont(new Font("SansSerif", Font.PLAIN, 10));
              g2.setColor(Color.BLACK);
              if (orientation == HORIZONTAL) {
                   for (int i = 0; i <= 800; i += 10) {
                        if(i % 100 == 0) {
                             tickHeight = 10;
                             g2.drawString(i/10 + "\u03BB", i - 4, 10); // Lambda
                        else tickHeight = 5;
                        g2.drawLine(i, SIZE, i, SIZE - tickHeight);
              } else {
                   for (int i = 0; i <= 600; i += 10) {
                        if(i % 100 == 0) {
                             tickHeight = 10;
                             g2.drawString(i/10 + "", 2, i - 1);
                             g2.drawString("\u03C6", 5, i + 7); // Phi
                        else tickHeight = 5;
                        g2.drawLine(SIZE, i, SIZE - tickHeight, i);
    }The example is a working one, you can try it out. It consumes too much CPU time. I just want to draw 2 rulers... therefore I followed the example given at the Sun Java tutorial at http://java.sun.com/docs/books/tutorial/uiswing/components/scrollpane.html -> "How a Scroll Pane Works". Unfortunately I can't use a JScrollPane.
    Thanks a lot!

    Aside from the change event issue, you should not set properties of the component (ie the border) within the paint cycle. Think about it - a property needs only be set once, not every time the component is painted. In the paint cycle, you use the component's properties to render to the Graphics.
    Also, if you extend JPanel, you will get the background rendering for free. (Use what Swing can give you for free: it's well-optimised, you're unlikely to improve on it except in very unusual cases.)
    No point creating a font (again, added cost in the paint cycle) - use getFont() to get the component's font, and set it elsewhere (eg in the constructor) if the default isn't what you want. Note also that by hardcoding your font, you're effectively killing the functionality of setFont().

  • Total cpu utilization percentage diagnostic removed from Windows 2008 MP?

    SCOM 2012 SP1 environment running the Windows Server 2008 Operating System Management Pack, version 6.0.7026.0
    http://www.microsoft.com/en-us/download/details.aspx?id=9296
    We had a server that had high CPU utilization.  We were able to figure out what process was causing the high CPU using some remote commands, but I am used to seeing this in the health explorer state change events view.
    I looked into health explorer but there is no data.
    http://i.imgur.com/eArmCM2.jpg
    I then notice that in this MP, there are 2 CPU monitors
    http://i.imgur.com/I9eBN4G.jpg
    The first monitor shown is disabled by default, but it is this monitor that contains the diagnostic to list the top CPU consuming processes
    http://i.imgur.com/tLgq9at.jpg
    The CPU monitor that is enabled by default has no diagnostic tasks associated to it
    http://i.imgur.com/AKAKOP9.jpg
    While I have the ability to create my own diagnostic task, I would rather not, as it requires me to enter my own command or script.
    I liked the fact that the CPU monitor would list the top consuming processes, as this was useful troubleshooting information.
    Does anyone know why this diagnostic is not included in the new version of this monitor?  I cannot find any information in the release notes.
    Is there any reason I should think twice about disabling the default monitor, and setting an override to enable to “legacy” monitor that has the diagnostic task built in?

    I can confirm that the other OS versions have the single CPU monitor with diagnostics set to run by default. For Windows Server 2008 R2 I have created a sample management pack which enables this functionality which is available at:
    http://www.systemcentercentral.com/download/re-enable-processor-diagnostic-windows-2008-management-pack/.
    Cameron

  • 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

  • CB21AG High CPU Utilization

    We have a problem with CB21AG cards causing high CPU utilization on WinXP. Task manager shows the CPU pegged at 100%, but the individual processes don't add up to 100%. IE, there are "missing" CPU cycles. Using Process Monitor from SysInternals, we see that NDIS (Windows network wrapper) is creating numerous DPCs and causing the CPU usage. Shutting down the wireless card fixes the problem. It's an LWAPP environment (WiSM 4.0.217), with various versions of the client drivers up to ADU 3.6.
    Does anyone know anything about this?

    It'd be hard to say anything for certain without seeing all the test stuff ... but it sounds like old or corrupt drivers / utilities.
    There are some Microsoft-side patches / updates that may be useful as well.
    Try reloading the (and / or updating) the drivers & utilities. If you're using Zero Wireless Config, try (at least for experimentation) the Cisco utilities (ADU) or vice-versa. It might narrow down which specific software modules are involved.
    IF you have a spare card, it might also be worth a shot ... there could be a bad software component in EPROM that's causing the problem.
    I believe some of the driver/utility updates include updated firmware loads for the NIC too.
    Good Luck
    Scott

  • 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...;)

Maybe you are looking for

  • Panic Kernel MacBook Pro 10.6.8

    Dear All, I kept having panic kernel at my 2010 MacBook Pro. I have upgrade the OS from 10.6.4 to 10.6.8, yet the problem is still there. the message of panic kernel as shown below. Can somebody shed a light on my lovely MacBook Pro---what is going o

  • Too long query

    Hello, I'm working on Oracle 11.2.0.3. I'm trying to execute this query SELECT distinct s, prefLabel,o FROM TABLE(SEM_MATCH('PREFIX skos: <http://www.w3.org/2004/02/skos/core#> PREFIX orardf:<http://xmlns.oracle.com/rdf/> SELECT * WHERE ?s ?p ?o. ?s

  • Firming indicator (*)

    Hi All, How to delete the schedule lines , purchase req, planned order if the this have firming indicator (*)

  • I have aproblem in downloading videos and saving images

    i use firefox long time ago and dowenloaded many things before but sudenlly i cann't find any dowenload or save word either on toolbar or by right click... thank you

  • Bug in firefox beta four Android

    hi, I have a nexus 7 2013 and when I search something on Google if my tablet is in landscape mode the result show half the page, like if it was only made for phone. I tried switching the tablet from landscape to portrait and vice versa but it doesn't