Very high CPU and fans running fast in idle state on 2008 non-unibody Macbo

Hi everyone,
I recently purchased a 2008 MacBook with 2.4 GHz, 2GB RAM, and 160 GB hard drive off of craigslist. Now when I turn it on and leave it idle or even run any activity, the CPU skyrockets to around 66% and the fans are running very hot and fast. I checked activity monitor and nothing is running that indicates this high CPU. This MacBook does have AppleCare on it until August 2011 and I will probably bring it in to have it checked out but would like to know what you think.
Thanks!

ok the abttery charges to 100% now so its alright but sometimes the charger turns to a dim green for some reason and doesnt stay bright only until I unplug and plug it back in again.
in regards to the random CPU spike, here is a screenshot of activity monitor, hopefully you guys can tell me what mds is..
[IMG]http://i248.photobucket.com/albums/gg175/modernage013/Screenshot2010-06-27at1211 20AM.png[/IMG]

Similar Messages

  • G4 Wont Start Up No chime and fan runs fast.

    Hi Mac Users,
    I am at my wits end! My Mac won't start up.When I switch it on there is no chime and the fan runs fast.
    I have checked the battery and it is OK.
    Tried the reset button and no joy.
    I have reseated the ram memory still no improvement.
    I am completely lost without my computer would some kind soul point me in the right direection?
    It is the hub of my recording studio and my life cos I'm disabled.
    I have read a lots of posts on here and I feel I am getting confused with too much information.
    My names not Dan but I am desperate?...........Dylan.

    The red LED indicates power to the logic board, which is good.
    Try Resetting the Logic Board
    Resetting the logic board can resolve many system problems. Whenever you have a
    unit that fails to power up, you should follow this procedure
    before replacing any modules.
    1 Unplug the computer.
    2 Press the Power On button on the front of the unit.
    3 Open the side access panel.
    4 Remove the battery from the logic board.
    5 Wait at least 10 minutes before replacing the battery.
    6 Make sure the battery is installed in the correct +/-
    direction.
    7 Reassemble the computer and test the unit.
    Note:
    This procedure resets the computer’s PRAM. Be sure to
    check the computer’s time/date and other system parameter settings
    Will your Mac boot using the Tiger install DVD (or another system CD/DVD)?
    Will it boot in Safe Mode? See
    What is Safe Boot, Safe Mode? (Mac OS X)
    http://docs.info.apple.com/article.html?artnum=107392
    Look at this link.
    *Resolve startup issues and perform disk maintenance with Disk Utility and fsck*
    http://docs.info.apple.com/article.html?artnum=106214
     Cheers, Tom

  • Kernel Task Causing High CPU and Fan to Run all the time

    Hello,
    Recently I have had a problem with my computer running really slow, the CPU is running at almost 100% and the fan wont shut off. Please help its effecting my school work. Below is my EtreCheck.
    Thanks.
    Problem description:
    CPU is up to full usage most of the time and fan won’t stop running. Computer running really slow.
    EtreCheck version: 2.1.8 (121)
    Report generated March 25, 2015 at 2:34:01 PM PDT
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Click the [Adware! - Remove] links for help removing adware.
    Hardware Information: ℹ️
        MacBook Pro (13-inch, Early 2011) (Technical Specifications)
        MacBook Pro - model: MacBookPro8,1
        1 2.3 GHz Intel Core i5 CPU: 2-core
        4 GB RAM Upgradeable
            BANK 0/DIMM0
                2 GB DDR3 1333 MHz ok
            BANK 1/DIMM0
                2 GB DDR3 1333 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery Health: Normal - Cycle count 700
    Video Information: ℹ️
        Intel HD Graphics 3000 - VRAM: 384 MB
            Color LCD 1440 x 900
    System Software: ℹ️
        OS X 10.9.5 (13F1066) - Time since boot: 0:18:56
    Disk Information: ℹ️
        Hitachi HTS545032B9A302 disk0 : (320.07 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Macintosh HD (disk0s2) / : 319.21 GB (73.63 GB free)
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
        MATSHITADVD-R   UJ-8A8 
    USB Information: ℹ️
        Apple Inc. FaceTime HD Camera (Built-in)
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Inc. BRCM2070 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Configuration files: ℹ️
        /etc/hosts - Count: 15
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Adware: ℹ️
        Geneio [Adware! - Remove]
    Kernel Extensions: ℹ️
            /System/Library/Extensions
        [not loaded]    com.sony.driver.prs2 (1.0.2d1) [Click for support]
    Launch Agents: ℹ️
        [not loaded]    com.adobe.AAM.Updater-1.0.plist [Click for support]
        [loaded]    com.adobe.CS5ServiceManager.plist [Click for support]
        [loaded]    com.divx.dms.agent.plist [Click for support]
        [loaded]    com.divx.update.agent.plist [Click for support]
        [loaded]    com.oracle.java.Java-Updater.plist [Click for support]
        [not loaded]    com.sony.ReaderDesktop.RunReaderDesktop.plist [Click for support]
        [failed]    com.tvmobili.artwork.plist [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [loaded]    com.adobe.SwitchBoard.plist [Click for support]
        [loaded]    com.disc-soft.DAEMONTools.PrivilegedHelper.plist [Click for support]
        [loaded]    com.microsoft.office.licensing.helper.plist [Click for support]
        [loaded]    com.oracle.java.Helper-Tool.plist [Click for support]
        [failed]    com.tvmobili.tvmobilisvcd.plist [Click for support] [Click for details]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.AAM.Updater-1.0.plist [Click for support]
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [not loaded]    com.spotify.webhelper.plist [Click for support]
    User Login Items: ℹ️
        iTunesHelper    Application  (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
        iTunesHelper    UNKNOWN Hidden (missing value)
        readerAppHelper    Application Hidden (/Applications/Reader.app/Contents/Resources/readerAppHelper.app)
        uTorrent    Application  (/Applications/uTorrent.app)
        Spotify    UNKNOWN  (missing value)
        Google Chrome    Application Hidden (/Applications/Google Chrome.app)
    Internet Plug-ins: ℹ️
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        DivX Web Player: Version: 3.2.4.1250 - SDK 10.6 [Click for support]
        Flash Player: Version: 16.0.0.305 - SDK 10.6 Outdated! Update
        AdobePDFViewer: Version: 10.1.1 [Click for support]
        Default Browser: Version: 537 - SDK 10.9
        OVSHelper: Version: 1.1 [Click for support]
        QuickTime Plugin: Version: 7.7.3
        SharePointBrowserPlugin: Version: 14.4.5 - SDK 10.6 [Click for support]
        DirectorShockwave: Version: 12.1.3r153 - SDK 10.6 [Click for support]
        JavaAppletPlugin: Version: Java 8 Update 31 Check version
    3rd Party Preference Panes: ℹ️
        Flash Player  [Click for support]
        Growl  [Click for support]
        Java  [Click for support]
    Time Machine: ℹ️
        Time Machine not configured!
    Top Processes by CPU: ℹ️
             5%    WindowServer
             2%    Activity Monitor
             1%    sysmond
             1%    AppleSpell
             0%    ps
    Top Processes by Memory: ℹ️
        159 MB    com.apple.IconServicesAgent
        129 MB    Google Chrome
        103 MB    ocspd
        86 MB    Finder
        68 MB    Google Chrome Helper
    Virtual Memory Information: ℹ️
        870 MB    Free RAM
        1.49 GB    Active RAM
        885 MB    Inactive RAM
        1.04 GB    Wired RAM
        802 MB    Page-ins
        0 B    Page-outs
    Diagnostics Information: ℹ️
        Mar 25, 2015, 02:19:15 PM    /Library/Logs/DiagnosticReports/Spotify_2015-03-25-141915_[redacted].hang
        Mar 25, 2015, 02:06:37 PM    Self test - passed
        Mar 23, 2015, 07:36:46 PM    /Library/Logs/DiagnosticReports/uTorrent_2015-03-23-193646_[redacted].hang

    The kernel is using excessive processor cycles. Below are some possible causes for the condition.
    Throttling
    When it gets high temperature readings from the hardware, or low voltage readings from the battery of a MacBook, the kernel may try to compensate by interrupting the processor(s) to slow them down and reduce power consumption. This condition can be due to:
    ☞ a buildup of dust on the logic board
    ☞ high ambient temperature
    ☞ a worn-out or faulty battery in a portable
    ☞ the malfunction of a cooling fan, a temperature sensor, a voltage sensor, or some other internal component
    Note that if the problem is caused by a sensor, there may be no actual overheating or undervoltage.
    If the computer is portable, test with and without the AC adapter connected. If kernel_task hogs the processor only on AC power, charging is causing the machine to heat up. That behavior may be normal for some models. CPU usage should drop when charging is complete.
    Apple Diagnostics or the Apple Hardware Test, though not very reliable, is sometimes able to detect a fault. For more thorough hardware testing, make a "Genius" appointment at an Apple Store, or go to another authorized service provider.
    If nothing is wrong with the hardware, then whatever you can do to improve cooling may help.
    Installed software
    User-installed software that includes a device driver or other kernel code may thrash the kernel. That category includes virtualization software, such as Parallels and VMware, as well as most commercial "anti-virus" products. Some system-monitoring applications, such as "iStat," can also contribute to the problem. You can test for this possibility by completely disabling or removing the software according to the developer's instructions, or starting in safe mode. Note, however, that disabling a system modification without removing it or testing in safe mode may not be as easy as you think.
    Corrupt NVRAM or SMC data
    Sometimes the problem is cleared up by resetting the NVRAM or the SMC.
    External display
    Connecting an external LCD display to some MacBook Pro models while the lid is open may cause this issue. If applicable, test by closing the lid or disconnecting the display. You might get better results with a newer LED display.

  • Dock consumes 100% of CPU and fan runs.  What to do?

    I have a 2010 MBP with SSD and VMWare (not Parallels).  Every so often, the dock cranks up to consume 100% of the CPU, and the fan runs.  The problem goes away when I reboot. I've tried quiting various applications, but it doesn't seem to make a difference (i.e. I cannot identify a rogue app that's causing this).  There are a lot of discussion threads on this problem with OS 10.6.8 and Parallels, but I'm running Lion 10.7.1 and VMWare (which I've shut down).
    Any others have this issue?  Ideas for solution?

    Small update: Despite my intelligence, good looks and vast experience I use Google sometimes. To my surprise this file turns out to be a Windows one. Here is someone who is much happier, and since it is some way in my line of thinking I'll quote it, but you might take my previous advice as well:
    http://forums.techarena.in/windows-vista-performance/1012315.htm
    "- Open up msconfig.exe > Manage startup programs.
    - Disable ALL Realtek entries
    - Close msconfig.exe
    - Right-click on the speaker icon > Audio devices > Speakers (properties)
    - Go to the enhancements tab
    - Check the box to disable all audio enhancements
    - Close the menu
    - Right-click on the speaker icon > Recording devices
    - Disable all your microphones (yeah..., the actual problem seems to come
    from voice inputs rendering..)
    - Close the menu
    - Restart your computer"

  • Cpu and fans running at 100%

    I've been working on this 20" iMac G5 for a couple weeks now and I'm stumped.
    I've reset the smu, the nvram, wiped and put on a fresh install of 10.5, updated to 10.5.8 and still the computer is LOUD.
    The fans run at a constant 100%, so I check the processor temp and it was 85c the instant the screen came on. So I proceeded to check the ventilation, took it all apart and all the air ways are clear, I checked, cleaned, and applied brand new thermal paste, put it all back together and still the instant the screen comes on the fans go to 100% and temp jumps to 85c
    Then a student said "is it working hard?" Just to humor him I launched the activity monitor and to my surprise it was. The processor was running at 100% and the process that was doing it all is "top" running from the user 'root'.
    I proceeded to type kill 321 (the pid) and the processor dropped to 10% and after about half an hour the temp was a normal 60c and the fans went quiet, but the instant I log out or reboot that 'top' process kicks back on and the machine starts over heating.
    I've tried 10.4 and 10.5, wiped the HD about 5times and 'top' keeps running the processor off the deep end with every install.
    I've tried permission repairs and hardware checks, even ran the full techtools deluxe scan.
    I've tried finding others with this problem but it is understandably difficult to search for problems with 'top'.
    It is no longer under warranty and no one is going to miss it if I just throw it out, but I don't want to give up on a 2.1Ghz machine for student use if that can be avoided.
    I'm willing to try any ideas to get that process fixed, the only idea I have left is to replace the cmos battery, and prey to the computer gods, but I doubt that will do anything.

    Hey there - same problm here w/ white flatscreen G5 (PPC).
    Did you have any luck in solving your problem?
    Thx
    WP

  • Z10 - High CPU and Battery Usage with BBM

    I recently updated my Z10 (UK and EE Carrier) to 10.2.1.3062 and every day or so I am getting very high CPU and Battery Usage with BBM running in the background.
    I have never used BBM and have no active or past conversations or contacts.
    This morning, it used around 60% battery in under 3 hours, with 95% of that time sat at 'idle' in my pocket.
    Sometimes its after I have connected it to my car stereo (charging and streaming music via USB) on an Alpine CDA-117Ri, but I dont think thats a cause.
    Some screen grabs:
    [URL=http://s46.photobucket.com/user/hoopsontoast/media/IMG_20150126_095930_zpsj3haccgs.png.html][IMG]htt...
    [URL=http://s46.photobucket.com/user/hoopsontoast/media/IMG_20150124_230003_zpshi2dpkfo.png.html][IMG]htt...

    You're not alone.
    Please read this post here:  http://supportforums.blackberry.com/t5/BBM-for-BlackBerry/BBM-is-draining-my-Battery/m-p/3039915#M52...
    and contact BBM support as suggested to send logs. BBM Support is working to determine the cause of this.
    Please post over in that thread so we can keep all related in one place.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • New HD fans running fast

    Installed new HD same as original but larger and fans running fast and noisy. imac 21.5 inch mid-2010

    Installed new HD same as original but larger and fans running fast and noisy. imac 21.5 inch mid-2010

  • Mac running slow and fan running at high speed

    MacPro1,1, osx 10.7.5, 8gb ram
    My mac is running slow and fan running at high speed & very loud. On MRI diagnostic it passes everything except this error "CPU Proximity: Can't Read ". I did low level configuration and still having issue with unit.

    See Below.
    Mac running slow and fan running at high speed

  • Will not boot up and fans run at high speed

    will not boot up and fans run at high speed

    after much head scratching I ran the hardware test disk from cd. The test showed a memory issue I eliminated the faulty one systematically. So it wasn't a hard drive or software problem in the end it was faulty memory. What was misleading was the computer telling me there was a fault on the hard drive. The machine works fine now. Thanks to people's comments I learned a bit more about the G5 that helped eliminate probable causes

  • Early 2008 MacBookPro keyboard backlight off and fans run at high speed

    Hi!
    I wrote from Turkey.
    My Early 2008 MacBookPro 2.40 ghz 4 gb Ram OSX Mavericks machine's keyboard backlight off and fans run at high speed; it seems an exact smc resetting problem.
    So i tried the 2 ways of SMC restting procedure; both battery you can move and not, but nothings changed on the situation..
    On the way for removable battery; nothing changed but on the way for umremovable battery way; keyboard backlight flashes and gone, but fans are at high speed not changed. So nothing changed.
    What can i do right now? i'll wait for your advices
    Thanks

    Your Mac may need a new PRAM battery.  Once it is over 4 years old, that often is needed.

  • XServe fans running fast and loud

    Good morning
    I have searched the information base and tried a few suggestions without success.  Hoping for another solution here.
    I have an Intel based XServe (2008) (OS 10.6.8) whose fans are running faster (and therefore louder) than they have previously.  This follows on the heels of a power outage (two of them actually) here at school, though the server is behind a UPS.  The system identifier light is also blinking in a particular pattern - 4 flashes and a pause repeating.
    The server is up and running, teachers are connecting to it just fine, the RAID is intact and online, the drives all look good according to Disk Utility.  So, functionally, everything looks OK - the fans are just running faster and louder than before - noticibly louder than the other Intel XServe in the rack.  The server is at the top of the enclosed rack with a space below it as it has been for the last 4 years.
    This summer I took all the XServes out of the rack, opened them up, and blew the dust out of them (including a moth - truly a bug in the system), so the all the airways are clean and clear.
    I have tried the suggestions I could find on this forum:
         restarted a bunch of times
         shut down and disconnect everything (including power) for a period of time
         reset the PMU/SMC or whatever it is called doing the front panel buttons with the blue lights on the lower row
         reset the PMU/SMC or whatever it is called by holding down the power button while disconnected from power
    I have installed iStat Pro and the temperatures are averaging around mid- to upper- 30°C and the fans are running around 3000 RPM .  The temperatures aren't signifcantly different that the other XServe, but the fans are running about twice the speed.
    I had to reformat the RAID earlier this weekend and copy over the data files from backup and reassign permissions, but the server was running quietly after that was all finished.  It seems to be post-powerbump that the fans became noisy.
    Sorry for the long post, but I tried to include all the pertinent information.  I would have tossed in photos and videos if I could have!
    Any suggestions would be appreciated.
    TIA
    Greg

    Did a little more searching about setting up LOM on the XServe and I think I have it figured out now.
    I assigned a unique (different) IP address to Network 1 in the LOM dialogue box in Configure Server menu of Server Monitor since I only have Ethernet 1 enabled and linked to a switch using a unique (different) IP address for network traffic between the XServe and my clients.
    I can now see (via Server Monitor remotely) that I have a dead blower in my fan array which, upon closer inspection, is also evident in the iStatPro display (one fan running at 18 RPM).  Hence the blinking system identifier light and the other fans running faster and harder (and noisier).
    Oddly enough, I have a replacement fan array in a box of XServe spare parts.  I now have a weekend task.
    Thanks for all the information to be found and the people participating in this forum.  Love it.
    Greg

  • Performance issue with high CPU and IO

    Hi guys,
    I am encountering huge user response time on a production system and I don’t know how to solve it.
    Doing some extra tests and using the instrumentation that we have in the code we concluded that the DB is the bottleneck.
    We generated some AWR reports and noticed the CPU was in top wait events. Also noticed that in a random manner some simple sql take a long time to execute. We activated the sql trace on the system and noticed that for very simple SQLs (unique index access on one table) we have huge exec times. 9s
    In the trace file the huge time we had it in fetch area: 9.1s cpu and elapsed 9.2.
    And no or very small waits for this specific SQL.
    it seems like the bottle neck is on the CPU but at that point there were very few processes running on the DB. Why can we have such a big cpu wait on a simple select? This is a machine with 128 cores. We have quicker responses on machines smaller/busier than this.
    We noticed that we had a huge db_cache_size (12G) and after we scale it down we noticed some improvements but not enough. How can I prove that there is a link between high CPU and big cache_size? (there was not wait involved in SQL execution). what can we do in the case we need big DB cache size?
    The second issue is that I tried to execute an sql on a big table (FTS on a big table. no join). Again on that smaller machine it runs in 30 seconds and on this machine it runs in 1038 seconds.
    Also generated a trace for this SQL on the problematic machine:
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1    402.08    1038.31    1842916    6174343          0           1
    total        3    402.08    1038.32    1842916    6174343          0           1
      db file sequential read                     12419        0.21         40.02
      i/o slave wait                             135475        0.51        613.03
      db file scattered read                     135475        0.52        675.15
      log file switch completion                      5        0.06          0.18
      latch: In memory undo latch                     6        0.00          0.00
      latch: object queue header operation            1        0.00          0.00
    ********************************************************************************The high CPU is present here also but here I have huge wait on db file scattered read.
    Looking at the session with the select the AWG_wait for db scattered read was 0.5. on the other machine it is like 0.07.
    I though this is an IO issue. I did some IO tests at SO level and it seems like the read and writes operation are very fast…much faster than the machine that has the awg_wait smaller. Why the difference in waits?
    One difference between these two DBs is that the problem one has the db block size = 16k and the other one has 8k.
    I received some reports done at OS level on CPU and IO usage on the problematic machine (in normal operations). It seems like the CPU is very used and the IO stays very low.
    On the other machine, the smaller and the faster one, it is other way around.
    What is the problem here? How can I test further? Can I link the high CPU to low/slow IO?
    we have 10G on sun os with ASM.
    Thanks in advance.

    Yes, there are many things you can and should do to isolate this. But first check MOS Poor Performance With Oracle9i and 10g Releases When Using Dynamic Intimate Shared Memory (DISM) [ID 1018855.1] isn't messing you up to start.
    Also, be sure and post exact patch levels for both Oracle and OS.
    Be sure and check all your I/O settings and see what MOS has to say about those.
    Are you using ASSM? See Long running update
    Since it got a little better with shrinking the SGA size, that might indicate (wild speculation here, something like) one of the problems is simply too much thrashing within the SGA, as oracle decides "small" objects being full scanned in memory is faster than range scans (or whatever) from disk, overloading the cpu, not allowing the cpu to ask for other full scans from I/O. Possibly made worse by row level locking, or some other app issue that just does too much cpu.
    You probably have more than one thing wrong. High fetch count might mean you need to adjust the array size on the clients.
    Now that that is all out of the way, if you still haven't found the problem, go through http://oracle-randolf.blogspot.com/2009/02/basic-sql-statement-performance.html
    Edit: Oh, see Solaris 10 memory management conflicts with Automatic PGA Memory Management [ID 460424.1] too.
    Edited by: jgarry on Nov 15, 2011 1:45 PM

  • Iavd is 98%, computer gets real hot, fans running fast

    Hello,
    I see from some posts of last year, unresolved, I guess, that iavd (anti-virus?) is
    very high for no good reason, meaning it's taking lots of processor (space? function?) and the computer gets hot and the fans run fast.
    Mine has been doing that for a long time.
    Does Apple know what causes this?
    A fix might help lower my electric bill.
    Thank you.

    Not to mention computer wear and tear. I think it is the nature of the beast though, as all antivirus programs can have a tendency to cause a shorter life expectancy on a hard drive and other parts of the system. I skip the AV altogether on mine, and simply choose to browse carefully and stay away from filesharing apps and the like.
    Flops
    <Edited by Host>

  • 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

  • Satellite C55-A - after BIOS update cooling fan runs faster

    Hello,
    I was informed by Toshiba application that new BIOS version is available I confirmed it and BIOS was updated. Now I have problem. Cooling fan runs faster than before and it is very annoying.
    Can I find older BIOS version somewhere and roll it back? I don't need it if it doesn't work properly.
    Now I have version 1.40. Is there some solution for this new version?
    Message was edited: posting has been translated

    Toshiba EU driver page provides only the latest BIOS version.
    Furthermore the BIOS downgrade isnt possible using the win-bases BIOS update.
    In order to downgrade the BIOS on Toshiba unit, you will need to use the traditional BIOS update method which requires special BIOS version. This is available only for authorized service provider.
    At the other hand there must be an serious reason why the cooling module run faster.
    Maybe the cooling method has been improved in new BIOS just to ensure that internal parts would be cooled down properly.
    Its just an assumption but I think it makes sense
    By the way: after each BIOS update, you should load the BIOS default settings and should save the changes. If you havent done this in the past, do it

Maybe you are looking for