LR4 - dynamiclinkserver.exe causes high CPU utilization

Hardware / OS
I7 960 CPU, 12GB drives, two 2TB drives internal.   The lightroom catalog is on the 2nd drive.
I hava a master folder called "photos".  Numerous folders underneath that.   It totals to about 200,000 photos.
I right click on photos, start the "synchronize this folder" process.   It does the search, gives me a count of missing photos.   That happens pretty quickly.
I click the synchronize button, it's now 7 hours later.  The CPU's are pegged at 100%
I pull up the task manager
dynamiclinkmediaserver.exe *32 is at 88% CPU.   Doesn't seem to be accumulating an IO accounts
lightroom.exe is about 10% CPU.  Is accumulating read and other counds
I look at the drive meter gadget on my deskop - it shows just very minimal IO
I look at the network meter gadget, it shows very minimal IO
Any ideas?

And it is STILL in lightroom cc 5.7, exactly as described. My machine is pretty fast and this bug eats it alive.
And it doesn't seem like Adobe cares to fix it.

Similar Messages

  • BTServer causing high CPU utilization

    Just got a new MacBook Pro with OS X Lion and updated to 10.7.1. I've seen the BTServer process cause high CPU utilization twice now. One morning I also noticed that the fan was running loudly while the lid was closed and the computer was locked up; I had to force power it off. Anyone seeing similar issues? Doing a search for BTServer on Google or even here in the Apple Support Communities does not bring up anything related to Lion at all, only iPhone-related articles.

    yup, i had this problem too.  i have a new 2.2ghz macbook pro and while at a coffee shop, i noticed my battery draining very quickly, and a look at activity monitor showed that BTServer was running away with high-cpu utilization.    i killed off the process and didn't notice any loss of functionality. 
    not sure what it was supposed to do with so much freaking cpu cycles!!!
    is this for bluetooth? i dont even have bluetooth on.  im not happy about this having to be something i'd need to keep a eye on when i'm trying to maximize my battery life. 

  • Multiple Adobe Readers causing High CPU utilization

    Recently I've had a couple of instances where my system performance degraded significantly. I checked Task Manager and discovered two Adobe processes  accounted for + 80% CPU utilization. Adobe Reader was not showing as an open application.  I had closed the application earlier. I rebooted and things went back to normal. The processes were no longer active.
    Note: Recently I had a problem with Nitro Pro hijacking my ability to open PDFs. It even removed Adobe Reader from my list of options for opening a PDF.
    Has anyone had similar issues? Cause? Fix?

    Hi keeperdan ,
    Thank You for posting on the forums. Which version of Adobe Reader are you working with? My suggestion would be to use the latest Adobe Reader 11. Also, if you are already using Reader 11 kindly update it to 11.0.06.
    Kindly reply if this does not resolve the issue.
    Thanks,
    Vikrantt Singh

  • Get-MailboxExportRequest script causes high cpu utilization

    Our Exchange configuration is as follows:
    Exchange 2013 Ent on single server with 4 dbs
    DB1 - 191 users
    DB2 - 19 users
    DB3 - 72 users
    DB4 - 7 users
    When I run a script that exports all of the users from each db to a pst file the CPU utilization peaks as expected, however DB1 never completes.  Is there a way to throttle the performance somewhat or limit the number of users the script processes at
    a time?  Here is my script:
    #Establish variables
    $mailserver = "Exchange"
    $path = "\\FileServer"
    $userlist = Get-Mailbox -database DB1
    $ReportShare = "\\FileServer\pst$\reports"
    $file = "\\FileServer\pst$\reports\*.txt"
    $SMTP = "smtp.domain.com"
    #delete files from previous nights export
    if (Test-Path $file)
    Remove-Item $file
    #Clear previously completed & failed tasks
    Get-MailboxExportRequest | where {$_.status -eq "Completed"} | Remove-MailboxExportRequest -confirm:$false
    Get-MailboxExportRequest | where {$_.status -eq "Failed"} | Remove-MailboxExportRequest -confirm:$false
    #Perform Mailbox Export
    foreach ($user in $userlist)
    $useralias = $user.alias
    New-MailboxExportRequest -Mailbox $useralias -filepath $path\pst$\$useralias.pst
    #Create a loop which checks if the task has completed or not
    $exstat = Get-MailboxExportRequest | Get-MailboxExportRequestStatistics | where {$_.status -eq 'inprogress'}
    do {start-sleep -seconds 5; $exstat = Get-MailboxExportRequest | Get-MailboxExportRequestStatistics | where {$_.status -eq 'inprogress'}}
    until ($exstat.percentcomplete -eq '100')
    #Create a pause for the exports to finish before writing logfile output
    start-sleep -seconds 7200
    #Write output to a log file
    if ($ReportShare)
    Write-Output "Writing reports to $($ReportShare)"
    $Completed = Get-MailboxExportRequest -BatchName $BatchName | Where {$_.Status -eq "Completed"} | Get-MailboxExportRequestStatistics | Format-List
    if ($Completed)
    $Completed | Out-File -FilePath "$($ReportShare)\$($BatchName)_Completed.txt"
    $Incomplete = Get-MailboxExportRequest -BatchName $BatchName | Where {$_.Status -ne "Completed"} | Get-MailboxExportRequestStatistics | Format-List
    if ($Incomplete)
    $Incomplete | Out-File -FilePath "$($ReportShare)\$($BatchName)_Incomplete_Report.txt"
    #Send a mail notification the task has completed
    Get-ChildItem $ReportShare | where {-NOT $_.PSIsContainer} | foreach {$_.fullname} | Send-MailMessage -to "[email protected]" -from "[email protected]" -Subject "PST EXPORT REPORT DB1" -Body "Export of DB1 complete."
    -SmtpServer $SMTP -BodyAsHtml

    I have to ask why you have a nightly job that exports each mailbox to PST?  It's unusual.
    Anyway, you could split your script as follows:
    Get-Mailbox -Database DB1 | ? {$_.samaccountname -like "[a-m]*"}
    Get-Mailbox -Database DB1 | ? {$_.samaccountname -like "[n-z]*"}
    Tony www.activedir.org Blog: www.open-a-socket.com

  • NMIndexStoreSvr.exe causes high CPU usage

    Within 2 - 24 hours after I restart my computer I'll notice that the CPU fan is very loud. When I open Windows Task Manager the CPU is at 95-100% usage. When I look at processes I see that the file "NMIndexStoreSvr.exe" is the biggest culprit. When I end that process, my CPU usage drops to 5% almost immediately.
    Ending this process does not seem to affect Itunes. Has anyone else run across this. Is there a fix or a way to keep that file from running when I start up Windows?
    Any help will be greatly appreciated.

    Hi Adrian1988,
    Welcome to the HP Support Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I saw your post regarding the audiodg.exe error message. I did some research into that message and as you mentioned most of it is for Windows 7, I can find very little for Windows 8. What other games do you notice this issue with? I looked into DOTA2 and it lists XP, Vista and Windows 7 under the requirements but doesn't mention Windows 8.
    Thank you,
    Please click “Accept as Solution ” if you feel my post solved your issue.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Thank you,
    BHK6
    I work on behalf of HP

  • WCCP causing high cpu utilization on 7613

    Hi
    We installed 2x WAE and 1 x Central Manager as per diagram at the Core, rolling out more WAE devices (appliances and SRE-900) at the branches.
    I configured as follows:
    Configured IP wccp version 2
    Ip wccp 61
    Ip wccp 62
    On the LAN
    Configured ip wccp 61 redirect in
    On the WAN
    Configured ip wccp 62 redirect in
    On the WAE interfaces configured ip wccp redirect exclude
    On  COR 1 it is giving us a 90% cpu util while COR 2 is at 5%
    Both 7613's config of wccp are identical, IP CEF is enabled, both WAE 7341 appliances configs are identical.
    Once we remove on the LAN side  ip wccp 61 redirect in, the cpu util on COR1 comes down to 5%.
    Does anyone have an idea why? Your help is greatly appreciated. Many thanks

    Hi Bhavin
    Many thanks for your reply, I have narrowed down to one link, going down to DIS3, I removed the ip wccp 61 redirect in from that interface and the CPU is normal, Below is the info you requested. I was thinking in moving the WAE devices to the DIS chassis, and monitor the outcome.
    Core 1
    c7600rsp72043_rp Software (c7600rsp72043_rp-ADVENTERPRISEK9-M), Version 12.2(33)SRE2,
    GNUMCOR1#sh ip wccp 61 detail
    WCCP Client information:
            WCCP Client ID:          192.168.xx.xx
            Protocol Version:        2.0
            State:                   Usable
            Redirection:             GRE
            Packet Return:           GRE
            Assignment:              HASH
            Initial Hash Info:       00000000000000000000000000000000
                                     00000000000000000000000000000000
            Assigned Hash Info:      FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
                                     FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
            Hash Allotment:          256 (100.00%)
            Packets s/w Redirected:  5197687
            Connect Time:            2d14h
            GRE Bypassed Packets
              Process:               0
              CEF:                   1
              Errors:                0
    GNUMCOR1#sh ip wccp 62 detail
    WCCP Client information:
            WCCP Client ID:          192.168.xx.xx
            Protocol Version:        2.0
            State:                   Usable
            Redirection:             GRE
            Packet Return:           GRE
            Assignment:              HASH
            Initial Hash Info:       00000000000000000000000000000000
                                     00000000000000000000000000000000
            Assigned Hash Info:      FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
                                     FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
            Hash Allotment:          256 (100.00%)
            Packets s/w Redirected:  71001191
            Connect Time:            2d14h
            GRE Bypassed Packets
              Process:               0
              CEF:                   0
              Errors:                0
    sh run | in wccp
    wccp router-list 8 192.168.xx.xx 172.xx.xx.xx
    wccp tcp-promiscuous service-pair 61 62 failure-detection 30
    wccp tcp-promiscuous service-pair 61 62 router-list-num 8
    wccp version 2
    Core 2
    Cisco IOS Software, c7600rsp72043_rp Software (c7600rsp72043_rp-ADVENTERPRISEK9-M), Version 12.2(33)SRE2,
    GNUMCOR2#sh ip wccp 61 detail
    WCCP Client information:
            WCCP Client ID:          192.168.yy.yy
            Protocol Version:        2.0
            State:                   Usable
            Redirection:             GRE
            Packet Return:           GRE
            Assignment:              HASH
            Initial Hash Info:       00000000000000000000000000000000
                                     00000000000000000000000000000000
            Assigned Hash Info:      FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
                                     FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
            Hash Allotment:          256 (100.00%)
            Packets s/w Redirected:  22954398
            Connect Time:            2d14h
            GRE Bypassed Packets
              Process:               0
              CEF:                   0
              Errors:                0
    GNUMCOR2#sh ip wccp 62 detail
    WCCP Client information:
            WCCP Client ID:          192.168.yy.yy
            Protocol Version:        2.0
            State:                   Usable
            Redirection:             GRE
            Packet Return:           GRE
            Assignment:              HASH
            Initial Hash Info:       00000000000000000000000000000000
                                     00000000000000000000000000000000
            Assigned Hash Info:      FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
                                     FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
            Hash Allotment:          256 (100.00%)
            Packets s/w Redirected:  17373518
            Connect Time:            2d14h
            GRE Bypassed Packets
              Process:               0
              CEF:                   1
              Errors:                0
    GNUMNUMWAE3#sh run | inc  wccp 
    wccp router-list 8 192.168.yy.yy 172.yy.yy.yy
    wccp tcp-promiscuous service-pair 61 62 failure-detection 30
    wccp tcp-promiscuous service-pair 61 62 router-list-num 8
    wccp version 2
    GNUMNUMWAE3#

  • 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

  • Does debug ip OSPF adjacency will cause high CPU

    Hello All,
    We are finding a OSPF flapping issue on Cisco 3750x switches. To isolate the issue TAC has suggested "debug ip ospf adj"
    Does this command will cause high CPU utilization?
    There are 12 OSPF neighbours connected to that switch and we have the hello interval of 1 second.
    Any of your help would be appreciable.
    Regards,
    Thiyagu

    It may do... But unlikely. There is always a risk with debug commands that have large output. Especially that you have hello intervals set to 1 second. I would advise to do out of hours if necessary to mitigate risks of impacting production.
    What version of ios are you on and show the output of 'show proc cpu sorted'
    I have had a similar experience and multicast was the problem. It was high CPU and dropping ospf adjacencies. We downgraded to 12.2 55 SE 8
    It helped the problem for CPU utilisation but didn't fix it. Since then we are using 6509Es in VSS

  • High CPU Utilization by J2EE engine

    Dear team,
    I want to find the tread causing high CPU utilization within the "jlaunch" process. As stated in SAP note: 743204. I ran the command "tps -a <pid> -a" in the development box and it it running fine. But the same command in the production portal is giving us the following error:
    jueppci:/#/usr/sap/tps -a                                                                               
    Initialize measurement (10 sec) ...Memory fault(coredump)    
    I did a strings command om the core and  I got
    jueppci:/#strings core                                       
    libdl.so                                                    
    Why is tps not running properly ?

    Hello,
    Thanks Russell. It is HP-UX 11.31 (11i v3). We have opened a Very High Message with SAP. SAP AG and HP are working with us to solve this issue. We will be applying some patches and doing a lot of Java parameter changes !
    I'll update the solution once the system is stable and the case with SAP is closed.

  • High CPU Utilization in GEIP

    Hi folk,
    Does anyone know what could cause high CPU utilization on GEIP in Cisco
    7513? I found a documentation about Rx-side-buffer which talk about it, but
    in my case, I just made a reseating of this module and the CPU utilization
    goes down.
    Is it a bug or hardware revison problem?
    Thanks

    only a curious queston: do you have to use PS6.1 ?
    /ulf

  • SCCM 2012 Agent and high CPU utilization.

    We have numerous Windows workstations and servers running with very high CPU utilization. Services are slow to start and login can take an hour. The service running with high CPU is svchost.exe, we determined that it is Windows Management Instrumentation
    that is causing high CPU in svchost.exe.
    If we stop or uninstall the SCCM 2012 Agent, everything calms down on the computer.
    Any ideas as to way this would be?

    Same issue seen on a clients and KB2617858 resolves it. I am deploying using the App model no problem with x86 and x64 hotfixes with requisite OS requirements. Is there a way to configure to only apply to those that it applies to...if that makes sense. I
    ask because my B&C x64 W7Sp1 image does not require it (I have not included it) whereas other non-B&C do - what's the condition or applicability (or non-applicability) if not as listed on the KB..! If I run it one W7 machine it says it doesn't apply
    and isn't already, whereas another it installs..!
    http://support.microsoft.com/kb/2705357:
    To apply this hotfix, you must be running one of the following operating systems:
    Windows 7
    Windows 7 Service Pack 1 (SP1)
    Windows Server 2008 R2
    Windows Server 2008 R2 Service Pack 1 (SP1)
    ..obviously, if a client has the issue it applies :)
    Donald Rumsfeld's 'known unknowns' comes to mind here. Sorry.

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

  • 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

  • High CPU utilization with javascript

    Has anyone noticed how Safari 10.4.4 has high CPU utilization (e.g. >60%) when javascript is enabled, particularly for certain websites? Opening FoxNews.com and a few Wired.com pages in separate tabs sends my Powerbook fans screaming. Disabling javascript brings utilization down to under 2%.
    Any suggestions on how to fix this, or do I have to live with it? I prefer not to permanently disable javascript as a number of websites I frequent depend upon it, without consuming CPU.
    Thanks,
    Ira

    Hi,
    I agree that it's a function of the javascript code itself on the webpage, and not with the browser. It's possible to even write infinite loops in Javascript which can practically hang a web browser due to the high percentage of CPU cycles being consumed. I only knowingly encountered such a site once, when I was at a customer site with my PowerBook running on battery power. I unknowingly navigated to a site which apparently had some Javascript of some other executable code, which had the result of running my battery from about 95% charge to about 60% in about 10 minutes!
    The only way to avoid this is to avoid the sites that cause this kind of problem, or to disable Javascript when visiting these sites. And if possible, send a complaint to the webmaster of the site. He/she might not be aware of this problem.
    Ken

Maybe you are looking for