High CPU increasing

Hi all!
I've experimented some problems with XMLink/TUXEDO. Under certain circumstances we have seen that CPU usage increases a lot when HOST takes more time to deliver responses.
We have been doing parallel test with my W2K TUXEDO server and we have seen the same issue when we include "Sleep(X)" statements on dummy services, therefore we are able to reproduce the issue.
We are using XMLink 2.7 (for WAS 5.1.1 with XMLink 3.0 improvements) and OS is AIX 5.1.2.
Could this waiting for response cause the high CPU usage?
How can I improve this situation?
How can I manage timeout from XMLink?
Thanks a lot!!
Marco

Hi Marco,
There are two parameters in the UBB config file that control the timeout of service calls. Note these do not affect the server being called, just the client. Those parameters are BLOCKTIME and SCANUNIT. SCANUNIT determines how often the bulletin board is scanned, and if a client is waiting longer than BLOCKTIME SCANUNITs, the call is terminated. Recent versions of Tuxedo allow finer grained control of BLOCKTIME by the application programmer, but the effect is still the same.
Regards,
Todd Little
BEA Tuxedo Chief Architect

Similar Messages

  • Attn: ALL APPLE PORTABLE OWNERS -Macbook Pro, MacBook Air Apple portable slowdown / kernel high CPU solution

    Attn: ALL APPLE PORTABLE OWNERS -MacBook Pro, MacBook Air, Mac mini slowdown kernel / high CPU use problem and solution.
    YOU COULD FRY YOUR COMPUTER IF YOU DO NOT FIX THIS PROBLEM SO PLEASE READ THIS ENTIRE MESSAGE!
    YOUR MAC WILL THANK YOU  
    Hey all.
    Like many of you I've got a newer Apple portable which slows down to an unusable level for an unknown reason. In my case a 13" mid 2009 Intel MacBook Pro Core 2 duo laptop. After many failed attempts to figure out what this nutty problem is I have discovered the problem, the solution and I have solved this for my own MacBook Pro. Since this fix it has been working immediately and consistently -without issue 
    I am sharing this with you in hopes that you to can fix your Apple portable yourself or so you know what to tell the Apple techs so they can quickly fix your Mac from this wacky and unfortunate kernel CPU hogging problem.
    User Software Symptoms :
    Your Apple portable computer periodically for an unknown reason slows down making everything frustratingly slow. This happens even when running previous apps that were never a problem; things that your Mac should be able to handle easily but for some reason now it can't.
    Slowdown most often happens during high CPU use such as gaming, video playback/editing, etc. or when running multiple apps (even non CPU intensive apps) at the same time.
    Possible Hardware Symptoms:
    Your computer is making more noise than it did previously.
    Your computer occasionally makes more noise but then gets quieter.
    Your computer is always extremely quiet (too quiet) even during high CPU apps -worst case scenario.
    It feels hotter than it normally does. Test: After several minutes of the slowness/high kernel CPU touch the computer to feel if it's hotter than normal.
    Looking at Activity Monitor (in the Utilities folder) shows the kernel_task is going bonkers eating up CPU but you have no idea why.
    After trying many different things to solve this problem such as :
    PR ram reset, SMC reset, fresh OS install of 10.5 and 10.6 on external hard-drives, calling and speaking to various Apple tech people who had no ideas/solutions, etc. I had no luck.
    Btw, if you're having the symptoms I've decscribed above I would not run the Apple Hardware check (read below as to why). You could fry your Mac!
    After much testing I found the problem :
    It is my belief that "recent" Apple portable computers are using low quality internal fans which soon stop working!
    Fail time period seems to be about 1.0 years to 2.5 years of use but this fail rate could vary depending on use.
    First noticeable symptoms (depending on what you notice) could be computer slowdown or your fan is making more noise than it normally does. This is your fan's lubrication slowly eroding making your fan spin slower and less smooth resulting in the louder noise and slower rpm spin speed. The slower fan spin speed means less cooling is happening for your computer. The effect on your computer is that the CPU and other chips are heating up! Overheating to be more specific. When your computer's chips overheat they get wonky and screw things up. Most often this seems to have the effect of making the kernel hog CPU resulting in a frustratingly slow user experience! Heat kills computer chips and it is extremely bad for them. Extreme overheat or repeated overheating has been said to shorten the life of computer chips or in extreme cases even fry them completely!
    The longer this goes on without being fixed your fan loses more lubrication and spins slower and slower cooling lesser and lesser resulting in your CPU heating up more and more possibly shortening the life of your Mac! Eventually your fan will stop completely and you could fry your chips! My fan stopped completely and my MBP was running very quietly, too quietly. Luckily I did not fry my chips because I was avoiding using high CPU apps because I knew something was wrong due to the massive slow down and wonkiness when I'd run them.
    Side Note:I'm a bit concerned about all those Mac mini servers which may be using the same defective low quality fans which cannot be easily serviced by their owners as they are co-located in some server facility. One positive thing is those facilities are usually well airconditioned keeping temps low.
    I suggest you do not run the Apple hardware test if you suspect your computer is overheating because the hardware test can seriously heat up your Mac! I tried running this test and my Mac got so hot I had to shut it down forcefully and I was concerned I damaged the chips. If you want to run the Apple hardware check make sure your CPU temperature is ok and that your fan works well before you run the test.
    IF YOU DON'T FIX THIS PROBLEM YOU COULD FRY YOUR COMPUTER DUE TO HEAT DAMAGE!
    DO NOT IGNORE THIS PROBLEM YOUR MACS LIFE MAY DEPEND ON IT!
    First you need to properly diagnose this problem and see if your CPU is getting to hot and you need to see if your fans are spinning at high rpms giving proper cooling, or if they are spinning at low rpms when running high intensive apps as your CPU temp increases.
    TEST IF YOUR FAN(s) IS WORKING CORRECTLY :
    Unfortunately Apple does not include CPU temperature reading software nor fan rpm speed software that I am aware of.
    However, There are two free ways that I know of to check your CPU tempurature and your fan speed :
    One app shows fan speed, and CPU heat, etc.
    One app shows fan speed, CPU heat and allows you to adjust your fan speed settings.
    One app is a dashboard widget, the other is a system preference.
    I suggest you download both of these to check your computer statistics.
    http://www.eidac.de/?p=134
    http://www.islayer.com/apps/istatpro/
    http://fan-control.en.softonic.com/mac
    I am not exactly sure what proper CPU temperatures are for the different Apple computers and this will change given different CPU loads.
    My MBP doesn't seem to function properly with anything around 90 degrees or higher (celcius).
    It seems when the fan is operating normally the CPU temp should not stay above 78 degrees even under heavy load, at least with the apps I'm running in the room temperature I'm in.
    I can post back later with more specific temps under longer load, etc. but I wanted to get this post up for people to read as soon as possible so they don't fry their Macs.
    If a bad fan is your problem :
    THERE ARE ONLY TWO SOLUTIONS FOR THIS PROBLEM :
    Fix or replace your fan so it cools the CPU and other chips properly.
    I fixed my fan myself and I didn't need to buy a new one. Total cost was about $8.00 because I had to buy a #00 sized screwdriver and had it shipped to me. Price includes shipping.
    On my mid 2009 model MacBook Pro fixing the fan was incredibly easy :
    Before I started doing this I wasn't 100% this was the problem so I decided to try to fix my fan instead of ordering a new one and replacing it. As it turns out I didn't need a new fan, I only needed to clean the existing fan and relube it's axl so it could spin easier like when it was new.  It also didn't make sense to buy a brand new fan from an Apple authorized parts reseller selling me the same low quality fan for $49.00 which would probably fail in 2 years again. Prices for new comparable fans from different manufactures range from about $15.00 USD + shipping to around $49.00 USD + shipping depending on where you order them from and what brand you get.
    How to fix / replace your internal fan on a mid 2009 MacBook Pro :
    Please note : I am not a hardware technician, nor expert. If you decide to fix your Mac yourself you do so at your own risk through no fault of my own. Prior to opening up your Mac you should google around and learn how to do it correctly and safely so you won't damage your Mac. For example, it is possible for you to damage your Mac by static electricity from your body. To avoid this I believe proper procedure is that you wear a 'ground strap' (around your wrist) which  you clip to your Mac's metal body so your body will not excude a charge into your Mac. I believe the idea here is to keep your body's charge level and your Mac's similar. Since I do not have a ground strap and fixing/replacing the fan doesn't require touching any chips I did not wear a ground strap during my fan fix. What I did was periodically repeatedly touch the metal case of my MBP hoping that would be enough and it was. Avoid unecessary actions that can build up a static charge in you. Once I started the repair I did not walk around the room building up an electrical charge in my body. Walking on carpet can often build up a large charge in us so it is better to be avoided while working on your Mac. Certain clothing can build up static charges. Combing hair, etc. If you need to get up from your repair when you come back make sure you first touch the Mac's metal case and not anything inside.
    Now that we're done with the scary paranoia, below you will find some instructions on how I fixed my MBP's internal fan
    Before you begin:
    Check out someone's video (not mine) on how to remove / replace the fan (but not take it apart and repair it):
    http://www.youtube.com/watch?v=AghE9newvbs
    Check out someone's web page (not mine) on how to replace the fan in a mid 2009 MacBook Pro:
    http://www.ifixit.com/Guide/Installing-MacBook-Pro-13-Inch-Unibody-Mid-2009-Fan/ 1338/1
    How to repair your mid 2009 MacBook Pro fan:
    Make sure you are in a 'secure' environment. No pets, no kids running around, no drinks near the Mac, etc. 
    Make sure your computer is unplugged from it's power supply and turned off. NOT slept. Totally off / powered down.
    1. Get a size #00 phillips screwdriver (Hobby store, Radioshack, Amazon).
    2. Open up your MBP by unscrewing the bottom (yes flip it over so it's resting upsidedown). Note where each screw goes because some are different lengths. I placed each one around my MBP where they go, insuring I know their order (don't jumble them up). Note which direction your MBP is facing when it's upside down so if you spin it around while working on it you still know where the screws go.
    2b. Some recommend removing the MBP's battery but I didn't do this step. You probably should, just to be safe. Follow the online instructions from the web page I listed about disconnecting the battery.
    3. Unscrew the fan's 3 holding screws.
    4. Unplug the fan's electrical connection (lift it straight up off the board). If you need to you can try to pry it up while you lift with a non metal/non electrical conductive object like a spudger if you have one or -perhaps a pen cap. Before you remove it, look closely at how it's attached so when you put it back on you won't wonder if you're doing it correctly. There's only one way it can go because it cannot fit 'the wrong way' but looking at it closely will make you feel more confident popping it back on when the time comes.
    5. Remove the fan - it easily lifts out.
    6. Take the fan apart by unscrewing it's one screw then unlatching the  plastic clips which hold it together.
    7. Seperate the fan blades from the housing. Lift the fan blades off of the fan housing by pulling it straight out away from the housing.
    8. Clean off the dust that's gathered. A can of compressed air helps here (I didn't have one). I used a little brush from my electric shaver kit which worked well. Once you've removed all the dust from the fan and surrounding areas proceed to the next step.
    9. Reapply new lubrication. You need less than 1 drop. Be sure it covers the entire fan blade axl as this is what needs to be well lubricated. Make sure there isn't excess oil that will fly around when the axl/fan spins at high rpms. I used the only oil I had which was olive oil (for cooking!) but I do not suggest this. At the time I was doing this I didn't know my fan was the problem so I wasn't even sure I was going to relube it. You should probably use something more appropriate perhaps like 3 in 1 oil. A good idea would be to call the manufatures of these little fans and ask them. Maybe a hobby store knows of good lubricants for these purposes?
    DO NOT use things like WD 40 as it's not a long term lubricant or so I've read.
    10. Once your fan is now clean and oiled (make sure there isn't too much oil) reassmble the fan.
    Push the fan blades/axl back into the housing shaft. Give it a few spins with your finger.
    Screw together the fan housing then reclip the clips.
    11. Place the now reassembled fan back into your Mac and screw it in place (3 screws).
    12. Reattach the fan's electrical wiring by gently pushing it into place. Make sure you've got the right end facing down before you push it in place.
    13. Once your Mac's internals are clean and reassembled, place the rear cover back on your Mac and screw it in place.
    14. Double check you didn't forget anything like screws, tools, etc.
    15. Boot up your Mac and monitor the temperature and fan speed using those programs.
    Compare the previous temps/fan speed to the current temp/fan speed.
    Run a high CPU intensive app where your computer has been slowing down.
    You should now have a happy Mac
    If you have this problem and this solution fixed it for you please post in this thread letting me and everyone else know!
    Hope that helps.

    Thanks for your lengthy reminder dude, I have a similar Mac with yours. I suspect its a software fault because it happens after I upgraded to Lion, 10.7.2.

  • Google Earth Plugin and LabVIEW: High CPU usage when adding placemarks

    Hi,
    I posted this question on stackoverflow earlier this week but feel it might be better suited to the LabVIEW community specifically so I'm reposting here:
    I'm writing an application which uses the Google Earth Plugin to display events on the globe. Each event is a single point kml placemark with an icon which is a 3kb png file. Placemarks are uploaded to the plugin as they are received by the software. I am experiencing increasing CPU usage with the number of placemarks that are added.
    I have tested displaying a new placemark every second and running until the software running the plugin completely froze (graph attached). The GEPlugin (green trace) stopped responding (i.e. the globe did not respond to the mouse) at around 1200 placemarks added and CPU usage was at ~30%. When the software itself (red trace) froze the plugin was using around 50% CPU and ~3700 placemarks had been added). After the freeze, no new placemarks were added which caused the software to respond (but not the plugin) so I could clear all the placemarks. After the placemarks were cleared from the globe, the CPU usage of the plugin returned to around 5% CPU.
    So what I've seen is that GEPlugin CPU usage increases linearly with each kml placemark added. Is this the expected behaviour/ a normal limitation of the plugin? If not is there a more efficient way of adding many placemarks to the globe?
    I am using GEPlugin version 7.1.1.1580 (API version 1.010) and LabVIEW 12.0f3
    Please see the test results attached. Any input greatly appreciated!
    Original stackoverflow post:
    http://stackoverflow.com/questions/20994323/google-earth-plugin-with-labview-high-cpu-usage-when-add...
    Attachments:
    Performance Log 020114_095115.png ‏82 KB

    Hello,
    I have had a look at your graphs and understood what you are trying to do. To me it seems that as the image gets more complex it gets harde to render which wold likely cause increase in CPU usage resulting in the freeze. I would suggest you try running the program on anoher computer to check on the RAM front of things. If this is a limitation of the GE Plugin then unfortunately I can not do much to help, but if you think this is a problem coming from your LabVIEW code then you can post your code here and I can take a look.

  • High cpu usage for garbage collection (uptime vs total gc time)

    Hi Team,
    We have a very high cpu usage issue in the production.
    When we restart the server, the cpu idle time would be around 95% and it comes down as days goes by. Today idle cpu is 30% and it is just 6th day after the server restart.
    Environemnt details:
    Jrockit version:
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
    BEA WebLogic JRockit(TM) 1.4.2_05 JVM R24.4.0-1 (build ari-38120-20041118-1131-linux-ia32, Native Threads, GC strategy: parallel)
    Gc Algorithm: JRockit Garbage Collection System currently running strategy: Single generational, parallel mark, parallel sweep
    Number Of Processors: 4
    Max Heap Size: 1073741824
    Total Garbage Collection Time: 21:43:56.5
    Uptime: 114:33:4.1
    Total Garbage Collection Count: 420872
    Total Number Of Threads: 198
    Number Of Daemon Threads: 191
    Can you guys please tell me what would be problem in the server which causing the high cpu usage?
    One more thing I would like to know is that why the total number of threads is 198 when we specified the Executor pool size as 25? I agree that weblogic would create some threads for its maintenance but around 160 threads!!! something is wrong I guess.
    Santhosh.
    [email protected]

    Hi,
    I'm having a similar problem, but haven't been able to resolve it yet. Troubleshooting is made even harder by the fact that this is only happening on our production server, and I've been unable to reproduce it in the lab.
    I'll post whatever findings I have and hopefully we'll be able to find a solution with the help of BEA engineers.
    In my case, I have a stand-alone Tomcat server that runs fine for about 1-2 days, and then the JVM suddenly starts using more CPU, and as a result, the server load shoots up (normal CPU utilization is ~5% but eventually goes up to ~95%; load goes from 0.1 to 4+).
    What I have found so far is that this corresponds to increased GC activity.
    Let me list my environment specs before I proceed, though:
    CPU: Dual Xeon 3.06GHz
    RAM: 2GB
    OS: RHEL4.4 (2.6.9-42.0.2.ELsmp)
    JVM build 1.5.0_03-b07 (BEA JRockit(R) (build dra-45238-20050523-2008-linux-ia32, R25.2.0-28))
    Tomcat version 5.5.12
    JAVA_OPTS="-Xms768m -Xmx768m -XXtlasize16k -XXlargeobjectlimit16k -Xverbose:memory,cpuinfo -Xverboselog:/var/log/tomcat5/jvm.log -Xverbosetimestamp"
    Here are excerpts from my verbose log (I'm getting some HT warning, not sure if that's a problem):
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] Detected SMP with 2 CPUs that support HT.
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] Trying to determine if HT is enabled.
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] Trying to read from /dev/cpu/0/cpuid
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] Warning: Failed to read from /dev/cpu/0/cpuid
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] Trying to read from /dev/cpu/1/cpuid
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] Warning: Failed to read from /dev/cpu/1/cpuid
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] HT is: supported by the CPU, not enabled by the OS, enabled in JRockit.
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] Warning: HT enabled even though OS does not seem to support it.
    [Fri Oct 20 15:54:55 2006][22855][memory ] GC strategy: System optimized over throughput (initial strategy singleparpar)
    [Fri Oct 20 15:54:55 2006][22855][memory ] heap size: 786432K, maximal heap size: 786432K
    [Fri Oct 20 16:07:30 2006][22855][memory ] Changing GC strategy to generational, parallel mark and parallel sweep
    [Fri Oct 20 16:07:30 2006][22855][memory ] 791.642-791.874: GC 786432K->266892K (786432K), 232.000 ms
    [Fri Oct 20 16:08:02 2006][22855][memory ] 824.122: nursery GC 291998K->274164K (786432K), 175.873 ms
    [Fri Oct 20 16:09:51 2006][22855][memory ] 932.526: nursery GC 299321K->281775K (786432K), 110.879 ms
    [Fri Oct 20 16:10:24 2006][22855][memory ] 965.844: nursery GC 308151K->292222K (786432K), 174.609 ms
    [Fri Oct 20 16:11:54 2006][22855][memory ] 1056.368: nursery GC 314718K->300068K (786432K), 66.032 ms
    [Sat Oct 21 23:21:09 2006][22855][memory ] 113210.427: nursery GC 734274K->676137K (786432K), 188.985 ms
    [Sat Oct 21 23:30:41 2006][22855][memory ] 113783.140: nursery GC 766601K->708592K (786432K), 96.007 ms
    [Sat Oct 21 23:36:15 2006][22855][memory ] 114116.332-114116.576: GC 756832K->86835K (786432K), 243.333 ms
    [Sat Oct 21 23:48:20 2006][22855][memory ] 114841.653: nursery GC 182299K->122396K (786432K), 175.252 ms
    [Sat Oct 21 23:48:52 2006][22855][memory ] 114873.851: nursery GC 195060K->130483K (786432K), 142.122 ms
    [Sun Oct 22 00:01:31 2006][22855][memory ] 115632.706: nursery GC 224096K->166618K (786432K), 327.264 ms
    [Sun Oct 22 00:16:37 2006][22855][memory ] 116539.368: nursery GC 246564K->186328K (786432K), 173.888 ms
    [Sun Oct 22 00:26:21 2006][22855][memory ] 117122.577: nursery GC 279056K->221543K (786432K), 170.367 ms
    [Sun Oct 22 00:26:21 2006][22855][memory ] 117123.041: nursery GC 290439K->225833K (786432K), 69.170 ms
    [Sun Oct 22 00:29:10 2006][22855][memory ] 117291.795: nursery GC 298947K->238083K (786432K), 207.200 ms
    [Sun Oct 22 00:39:05 2006][22855][memory ] 117886.478: nursery GC 326956K->263441K (786432K), 87.009 ms
    [Sun Oct 22 00:55:22 2006][22855][memory ] 118863.947: nursery GC 357229K->298971K (786432K), 246.643 ms
    [Sun Oct 22 01:08:17 2006][22855][memory ] 119638.750: nursery GC 381744K->322332K (786432K), 147.996 ms
    [Sun Oct 22 01:11:22 2006][22855][memory ] 119824.249: nursery GC 398678K->336478K (786432K), 93.046 ms
    [Sun Oct 22 01:21:35 2006][22855][memory ] 120436.740: nursery GC 409150K->345186K (786432K), 81.304 ms
    [Sun Oct 22 01:21:38 2006][22855][memory ] 120439.582: nursery GC 409986K->345832K (786432K), 153.534 ms
    [Sun Oct 22 01:21:42 2006][22855][memory ] 120443.544: nursery GC 410632K->346473K (786432K), 121.371 ms
    [Sun Oct 22 01:21:44 2006][22855][memory ] 120445.508: nursery GC 411273K->347591K (786432K), 60.688 ms
    [Sun Oct 22 01:21:44 2006][22855][memory ] 120445.623: nursery GC 412391K->347785K (786432K), 68.935 ms
    [Sun Oct 22 01:21:45 2006][22855][memory ] 120446.576: nursery GC 412585K->348897K (786432K), 152.333 ms
    [Sun Oct 22 01:21:45 2006][22855][memory ] 120446.783: nursery GC 413697K->349080K (786432K), 70.456 ms
    [Sun Oct 22 01:34:16 2006][22855][memory ] 121197.612: nursery GC 437378K->383392K (786432K), 165.771 ms
    [Sun Oct 22 01:37:37 2006][22855][memory ] 121398.496: nursery GC 469709K->409076K (786432K), 78.257 ms
    [Sun Oct 22 01:37:37 2006][22855][memory ] 121398.730: nursery GC 502490K->437713K (786432K), 65.747 ms
    [Sun Oct 22 01:44:03 2006][22855][memory ] 121785.259: nursery GC 536605K->478156K (786432K), 132.293 ms
    [Sun Oct 22 01:44:04 2006][22855][memory ] 121785.603: nursery GC 568408K->503635K (786432K), 71.751 ms
    [Sun Oct 22 01:50:39 2006][22855][memory ] 122180.985: nursery GC 591332K->530811K (786432K), 131.831 ms
    [Sun Oct 22 02:13:52 2006][22855][memory ] 123573.719: nursery GC 655566K->595257K (786432K), 117.311 ms
    [Sun Oct 22 02:36:04 2006][22855][memory ] 124905.507: nursery GC 688896K->632129K (786432K), 346.990 ms
    [Sun Oct 22 02:50:24 2006][22855][memory ] 125765.715-125765.904: GC 786032K->143954K (786432K), 189.000 ms
    [Sun Oct 22 02:50:26 2006][22855][memory ] 125767.535-125767.761: GC 723232K->70948K (786432K), 225.000 ms
    vvvvv
    [Sun Oct 22 02:50:27 2006][22855][memory ] 125768.751-125768.817: GC 712032K->71390K (786432K), 64.919 ms
    [Sun Oct 22 02:50:28 2006][22855][memory ] 125769.516-125769.698: GC 711632K->61175K (786432K), 182.000 ms
    [Sun Oct 22 02:50:29 2006][22855][memory ] 125770.753-125770.880: GC 709632K->81558K (786432K), 126.000 ms
    [Sun Oct 22 02:50:30 2006][22855][memory ] 125771.699-125771.878: GC 708432K->61368K (786432K), 179.000 ms
    So, I'm running with the default GC strategy which lets the GC pick the most suitable approach (single space or generational). It seems to switch to generational almost immediately and runs well - most GC runs are in the nursery, and only once in a while it goes through the older space.
    Now, if you look at [Sun Oct 22 02:50:27 2006], that's when everything changes. GC starts running every second (later on it's running 3 times a second) doing huge sweeps. It never goes through the nursery again, although the strategy is still generational.
    It's all downhill from this point on, and it's a matter of hours (maybe a day) before we restart the server.
    I guess my only question is: What would cause such GC behavior?
    I would appreciate your ideas/comments!
    Thanks,
    Tenyo

  • Yet another high cpu using flash issue

    Salutations. What I'm about to tell you won't come to you as a surprise as there have been many similar topics discussed here. In fact, on the first page, there were two. So let's get on with it!
    hp pavillion entertainment notebook dv6 e2170ee
    windows 7 64bit
    6gb ram
    intel core i7 cpu q 720 @ 1.60 GHz    (never overclocked. don't know how to)
    nvidia geforce gt 230m
    firefox is on safe mode. kind of better than regular mode.
    firefox waaaay better than chrome in handling flash. haven't tried it on ie. don't want to. i left ie8 at version 8
    flash hardware accelration is off
    firefox hardware accelaration is on
    latest flash player enabled
    latest shock player enabled
    latest flash director enabled
    latest firefox
    no idea if my vents and cooling system work properly. read several posts about this issue being related to hardware.
    i have updated my drivers using hp support assistant, driver detective, and windows update. wouldn't be surprised if there was a conflict with all this nvidia driver as well. went to the site. it detected my model and sent me the driver. had audio and video options in it.
    while writing this post, the adobe tab + 4 flash tabs off the same site (youtube, younow, cam sites, etc) are open.
    performance tab in taskbar says
    flashplayer 15 *32bit (2 processes with the same name but diff cpu usage by the way. why 2?) is using 5%
    firefox *32 bit is using 5%
    audiodg.exe is nowhere to be found
    now firefox and flashplayer keep alternating ofcourse. flash always ends up with higher cpu when everything breaks. i have noticed that even after closing ff, ff and flash are still in the processes table. they stay there for a bit. why?
    ISSUE NUMBER 1: i can't play a video and have flash players on at the same time. I'd like to watch a movie and every now and then look to my other screen to see what's going on with the flash site. it can't be done. all is well at the beginning then it goes to hell. i have the latest free version of bsplayer and videolan. Yes vlc handles better but it all goes to hell in the end. sometimes the video won't even show on vlc; only audio
    ISSUE NUMBER 2: i don't understand the logic behind the increase in cpu. if i have 6 tabs open all flash all is well. but at some point it just spikes up. so i always try to keep the number of flash tabs as low as possible. sometimes 4 are no issue but 5 are a big issue. sometimes closing a tab helps and sometimes it doesnt.
    ISSUE NUMBER 3: audiodg starts using more than 2%. It can go up to 11 or 13 even. That shouldn't happen. I've been told that for it to go beyond 2 or even 3 means there's a conflict. I had trouble dealing with this issue. I don't know what or where the conflict is. So if there's anyone here that's good at this please contact me. Ill post a pic of device manager. For the sound, i have 4 nvideo and 1 idt audio codec. I cdon't know which to disable or uninstall. im thinking of unintalling every audio/video driver i hav and start from the beginning. BUT LETS NOT MAKE THIS ABOUT AUDIO/VIDEO CONFLICT
    QUESTION 1: was there ever a time when this issue didn't exist? perhaps there's a "stable" version of ff or flash that don't cause this.
    QUESTION 2: ive seen a lot of posts about this but I honestly can't remember any participants saying OH REALLY? ODD, I NEVER HAD THIS ISSUE BEFORE
    QUESTION 3: isn't there some kind of tracer that can track the moment that it goes to hell? im sure there is but no one's mentioned it so far
    QUESTION 4: would buying a new laptop solve this? I'd like to think not since the issue is flash not the capabilities of a laptop but i can't help but think that a better laptop will fix this. My laptop is 4 years old.
    QUESTION 5: i don't know anything about multithreading or multiple cores handling a single process but if someone showed me how, would that resolve my issue?
    MY WISH: for flash to coexist peacefully with human beings

    Disabling Hardware Acceleration in Flash means that we're doing all of the processing on the CPU, instead of on the GPU.  The GPU is purpose-built for 3D graphics and video decoding and is far more power efficient.  Decoding H.264 video in software is very CPU intensive, which is why we made the huge investment to enable hardware acceleration on the vast majority of available desktop hardware. Running six CPU intensive tasks simultaneously (which is what you're doing by using six simultaneous tabs) is unsurprisingly going to tax your machine.
    If you've disabled Hardware Acceleration because video wasn't working right or something, figuring out how to get that enabled (or moving to better hardware with good driver support) would solve the vast majority of what you're describing here.  If HP doesn't offer updated drivers, I'd recommend trying the corresponding Nvidia drivers, as OEMs aren't always motivated to pick up the latest fixes once a model is no longer generating new revenue for them.  The chipset manufacturers tend to provide longer support, but those drivers aren't officially supported by the OEM.
    The architecture for Protected Mode for Firefox is a result of the fact that we've retrofitted a modern plug-in security approach to a legacy plug-in architecture.  As you've noticed, equivalent sandboxing in other major browsers is designed into their plug-in architectures, and is therefore more efficient.  We've made huge investments to support modern security architecture and always do our best to accommodate efforts from our partners in the browser space to further secure the browser.  You can find a detailed explanation of our approach to Firefox here: Inside Flash Player Protected Mode for Firefox
    Firefox controls the instantiation and destruction of Flash instances.  You'll also notice that Firefox hangs out for a while after shutdown.  This is something that we're aware of, but it's beyond our control.
    Flash doesn't have much to do with audiodg, except for the fact that it generates sound and uses the windows sound subsystem.  This article seems to present some reasonable advice in resolving issues with high CPU consumption from the sound subsystem.  Fix Audiodg.exe High CPU Usage in Windows 7 | Windows EXE Errors
    Hardware accelerated video encoding is typically not available on consumer-grade hardware (primarily because of the difference in licensing models for encoding and decoding with popular commercial codecs), and therefore is done on the CPU.  The particular website chooses what codecs and bitrates are involved, and higher quality feed will consume more CPU.  It's also worth pointing out that not all video can be decoded in hardware.  We provide clear guidance to content providers on how to encode video so that it can be played back efficiently, it's ultimately up to the content provider to follow that advice.
    So, long story short, each tab consumes resources.  Running a single tab is going to use less resources than running multiple tabs.  The latest version of Internet Explorer does some stuff to reduce resource consumption in tabs that you're not actively looking at.  We're discussing possibilities with the Chrome folks for doing the same thing in Chromium-based browsers.  Mozilla isn't interested in investing in browser plug-ins, so we don't expect to see the necessary browser-side improvements there.  The Chrome sandboxing model is more efficient that protected mode for Firefox, so tasks that require moving a lot of data (like streaming video) may use less CPU in Chrome.
    To answer your questions specifically:
    1.) There was a time before we supported multiple tabs, webcam streaming, H.264 video decoding and modern security sandboxing.  I wouldn't recommend using those versions.
    2.) There are a few posts about this, but we have ~1.5 billion users.  The majority of the very small number of folks relative to our install base are complaining their machines are overheating, which is a symptom of an ineffective cooling system. 
         There's nothing magic about Flash that causes it to somehow superheat the CPU.
         There was a time before tabs, where people didn't normally run 5-50 browser windows.  Websites also got much more complex, and the security threats got far more serious and complex.
         Playing video as a plug-in in the browser as opposed to something like VLC is inherently less efficient, as pretty much each pixel and packet gets passed through the browser before it gets to the OS or drivers.
         All of these things require additional processing.  The resources on your computer are still finite, and there is an upper limit to the number of simultaneous tabs you can use.
         At some point, you come to a juncture where you need to decide between throwing more hardware at the problem, or using less tabs simultaneously.
         Also, most laptops have power saving CPUs, so they'll ratchet the clock speed down to save battery.  You might want to check your power settings to make sure you're running at the CPU's full capacity when plugged in.
    3.) Not that would generate anything really useful.
    4.) Possibly.  You actually already have a multi-core machine.  I think you'd get more bang for your buck by enabling hardware acceleration and switching browsers.
    5.) You already have a multi-core machine that we support.
    Your Wish: We're constantly addressing security issues identified through our own testing, emerging research and intelligence from our partners in academia, government and industry.  We're also looking for opportunities to tune the player, but the reality is that Intel, Nvidia and ATI (and a long list of others, in addition to Adobe) have tuned Flash Player extensively for their hardware.  We work closely with the Internet Explorer and Chrome teams to continue to make the Flash experience better, and are always happy to work with the Firefox team should they decide that they're interested in plug-ins and the desktop browser again.  At the end of the day, Flash is just a low-level runtime.  It's just as possible to write inefficient ActionScript as it is to write inefficient C++, and while we provide some fantastic tooling for profiling your Flash content, it's up to individual content providers to write efficient code.  It's really difficult to find opportunities to make generic optimizations that don't break a percentage of the hundreds of millions of sites published with Flash content.
    I'm actually still not clear on what the problem you're experiencing is.  All software running on your machine that's actively processing something is going to use a non-zero percentage of CPU time.  The symptoms you describe indicate that Flash consumes 5% of the CPU, which is totally reasonable.  I'm guessing that I don't have the complete story.

  • Dbwr consuming high CPU after enabling DirectIO

    Hi,
    DBWR is consuming high CPU. After enabling DirectIO on Solaris SPARC 10, dbwr is eating away almost 1 CPU on a v440 machine i.e. 19% throughout the day. Neither of "buffer busy waits" or "write complete waits" or "free buffer waits" are in the top 5 wait events, which, to me, means that there is no buffer contention.
    What I understand is that after enabling DirectIO, it takes longer for the IO to complete because pre-DirectIO it would return from the file system cache whereas now it has to return from the disk (and I do see at the OS level that IO has become slow), but should that result in dbwr consuming more CPU?
    Infact after enabling DirectIO, IO has become very slow which is another problem and as a result log file writes have also become slow which is a 3rd problem. btw, I am aware that if there were many FTS, then DirectIO can make the system slow but there are no FTS in my case. Also, that SGA should be increased after enabling DirectIO, which has also been done.
    Thanks

    user12022918 wrote:
    DBWR is consuming high CPU. After enabling DirectIO on Solaris SPARC 10, dbwr is eating away almost 1 CPU on a v440 machine i.e. 19% throughout the day. 19% is less than 1/5th of a CPU. Or are you referring to a 100% being all 4 CPUs?
    What I understand is that after enabling DirectIO, it takes longer for the IO to complete because pre-DirectIO it would return from the file system cache whereas now it has to return from the disk Incorrect. See directio for details.
    Yes, removing the file system cache from the I/O layer for a device can reduce I/O performance if the caller does not perform its own caching. However, direct I/O will eliminate the system cache overheads (and associated CPU resources needed) from a caller (like Oracle) that implements its own sophisticated buffer cache.
    Direct I/O should therefore increase Oracle I/O performance and decrease resource footprint as it eliminates the need for the kernel to maintain a cache for that device.
    Infact after enabling DirectIO, IO has become very slow which is another problem and as a result log file writes have also become slow which is a 3rd problem. Direct I/O, as per the Sun docs, is an advisory call. It may not place that device in direct I/O modes. It may result in partial direct I/O. So you need to make sure exactly what happens and how successful (partial or complete) this setting was.
    btw, I am aware that if there were many FTS, then DirectIO can make the system slow but there are no FTS in my case. FTS (multi block reads/large sequential reads) is slower? This is contrary to Sun's docs that state:
    Large sequential I/O generally performs best with DIRECTIO_ON, except when a file is sparse or is being extended and is opened with O_SYNC or O_DSYNC.

  • Xsun (high CPU utilization) on Solaris 10 Sparc

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

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

  • LMS 3.2 : issue with custom portal : high CPU

    Hi,
    Customer has a big issue with LMS.
    When he connects to the standard portal, it works fine.
    pdshow seems ok.
    But when he wants to work with custom portal (portal.jpg), it makes a long time to display information and when he wants select something it hangs.
    CPU is very high. He must stoped/restart LMS to have a normal CPU.
    I asked him to :
    - restart LMS, he made at 14h30
    - CPU was ok and he worked with standard portal withou problems but when he tried to put debug for portal CPU increase at 15h30:
    Common Services -> server -> Admin ->  CS Log Configurations: debug on CiscoWorks Portal, CiscoWorks portlets and CS Home
    Process which takes a lot of CPU is tomcat, you will find pdshow.txt, stdout.log and stderr.log.
    He tries to go to the custom portal but it hangs, you will find logs from debug : CSHomePage.log and CSPortal.log
    he sent me AAD.log because there was " high severity alert".
    Many thanks for your help,
    Elisabeth

    The most obvious problem is that DfmBroker is down.  Check to make sure tcp/9002 is not in user, then try a server reboot.  See if the AAD problems go away (and perhaps the CPU problem will as well).  If not, post the NMSROOT/objects/local/logs/broker.log.

  • Jlaunch process using High CPU, while uploading the files in XI system

    Hi,
    we are facing  jlaunch high cpu usage problems, while uploading the files of more than 25MB, in XI system. PIAFUSER is running on PRIV mode and huge java core dumps and heapdumps are  getting generated in server0 node
    error message->  - Out of memory situations running XI
    Exception thrown [Fri Sep 30 13:57:27,855]:Exception thrown by application running in JCo Server
    java.lang.Exception: java.lang.OutOfMemoryError
         at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:237)
         at com.sap.engine.services.rfcengine.RFCJCOServer$J2EEApplicationRunnable.run(RFCJCOServer.java:254)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:219)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    first , we tested in Quality system, where,we are getting same problems as well.
    SAP Note 146289 - Parameter Recommendations for 64-Bit
    increased em/intial_size_MB  from 512MB to 2 GB and em/global_area_MB value from 96 to 256
    SAP Note 723909 - Java VM settings for J2EE 6.40/7.0
    we added some jvm parameters in confitool
    -Djava.awt.headless=true
    -XX:+UseParNewGC
    -XX:+PrintGCTimeStamps
    Present  JVM values in XQ1 system..
    Xmx  value 3072
    xms  value 2048
    xmn  value 1000
    we have tested JCo RFC's  AI_DIRECTORY_JCOSERVER and AI_RUNTIME_JCOSERVER , connection test was OK.
    We increased parameter com.sap.aii.ib.client.jnlp.j2se.maxheapsize from 512m to 800m
    Please advice me.. how to proceed..
    regards,
    balaram

    Hi Balaram,
    Kindly review below note, Hope it suits.
    716927 - Overview of AIX JVM for NetWeaver 2004 and 7.0 (2004s).
    Regards,
    Mani

  • High CPU usage for SERVER0 process in XI

    Hi,
    SERVER0 process is taking high CPU usage, previously it happen once its due to communication channel error, So we deativated some unwanted communication channels in Alert config and the CPU usage is reduced.
    After some weeks its again CPU usage is increasing for SERVER0 process in some time.
    Can anyone help in this case.
    Thank you,
    gopi.

    Hi Gopi,
    Check out Tim's reply and check for ur Java stack settings,
    Extended Memory parameters
    <i>The bottom line for J stacks is to keep everything in memory and out of swap. </i>
    Other tips:
    - u may try clearing folder usr\sap\<SID>\DVEBMGS00\j2ee\cluster\server0\apps
    - try increasing virtual memory
    - increase heap size
    <i>[Reward if helpful]</i>
    Regards,
    Prateek

  • High CPU usage when downloading Files

    Hi there,
    i noticed somethign strage when I download file off the internet or intranet. As soon as my download speed surpasses 1MB/s the CPU usage increases. To be exact the process kernel_task.
    For example:
    2,5 MB/s -> ~30%
    10 MB/s -> ~60-70%
    10+ MB/s -> ~80%
    This is really annoying and I have now clue how to fix this. The Harddrive is a SAMSUNG HM320JI with a Journaled HFS+ partition. No Virus Scanner or anything. Also just reinstalled Snow Leopard yesterday.
    Hope someone can give me some useful information how to fix this.

    Hiya,
    could it have something to do with the write speed/ cache/ram? On a "slow" disk, or one that is nearly full or one that is partitioned, it will take a great deal more ram and cache to "digest" the faster download and write it onto disk. I tend to do downloads to a separate drive. Have you got one? and can you repeat the high CPU usage when downloading / saving to the external drive? I note your drive might have 5,400 rpm, with "just" 8mB cache and 320 GB (quite a few SATA's have 7,200 rpm and 32 mB cache).
    NB: If anything, I found SL more efficient, especially on my 4 year old Macbook, which is running much faster and has got more responsive after installation of (full version of) SL.
    Message was edited by: Alexandre

  • 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

  • Cisco 4900M High CPU

                       Hi,
    We are observing high cpu of one of the backbone switch,
    We enable eem script & below are the cpture
    But we are not able to pin-point the issue.
    event manager applet high_cpu
    event snmp oid 1.3.6.1.4.1.9.9.109.1.1.1.1.3.1 get-type exact entry-op gt entry-val "65" poll-interval 5 action 1.01 syslog msg "------HIGH CPU DETECTED----, CPU: $_snmp_oid_val %"
    action 1.02 cli command "enable"
    action 1.03 cli command "term len 0"
    action 1.04 cli command "debug platform packet all receive buffer"
    action 1.05 cli command "show platform health | redirect slot0:high_cpu1"
    action 1.06 cli command "show proc cpu sort | redirect slot0:high_cpu2"
    action 1.07 cli command "show platform cpu packet statistics | redirect slot0:high_cpu3"
    action 1.08 cli command "show platform cpu packet buffered | redirect slot0:high_cpu4"
    action 1.09 cli command "show platform health | redirect slot0:high_cpu5"
    action 1.10 cli command "show proc cpu sort | redirect slot0:high_cpu6"
    action 1.11 cli command "show platform cpu packet statistics | redirect slot0:high_cpu7"
    action 1.12 cli command "show platform cpu packet buffered | redirect slot0:high_cpu8"
    action 1.13 cli command "show clock | redirect slot0:high_cpu9"
    action 1.14 cli command "undebug all"
    action 1.15 cli command "conf t"
    action 1.16 cli command "no event
    Switch version: cat4500e-entservicesk9-mz.122-50.SG3.bin
    Model:  WS-C4900M 3 slot switch
    Pls suggest
    Br/Subhojit

    HI,
    I guess for every redirect command uses a vty session and thats why we might see this issue. I had a look at the logs again.
    I see lots of SA Miss which is nothing but increase Source Address Miss. Have you verified if there are any topology changes(show spanning-tree detail | in ieee|exec|from|occurred)
    switch##more slot0:high_cpu2   3
    RkiosSysPacketMan:
    Total                5 sec avg 1 min avg 5 min avg 1 hour avg
               641603851        50         9         0          0
    Packets Dropped In Processing by CPU event
    Event             Total                5 sec avg 1 min avg 5 min avg 1 hour avg
    Sa Miss                      641599177        50         9         0          0
    L3 Receive                           2         0         0         0          0
    Input Acl Fwd                     4669         0         0         0          0
    Sw Packet for Bridge                    3         0         0         0          0
    Thanks & Regards,
    Karthick Murugan
    CCIE#39285

  • SCCM 2012 SecSite - High CPU and many chucks

    H all,
    i've a SCCM 2012 Secondary Site with SQL 2008 R2 Express Version below an Primary Site.
    The sqlservr.exe and the smsexec.exe on the SecSite have high CPU load the whole time.
    Also the statesys.log is increasing very fast (100 KB per second) with the following entries:
    total chucks loaded (0)  $$<SMS_STATE_SYSTEM><10-18-2012 01:45:34.973+240><thread=3328 (0xD00)>
    total chucks loaded (0)  $$<SMS_STATE_SYSTEM><10-18-2012 01:45:34.973+240><thread=3328 (0xD00)>
    total chucks loaded (0)  $$<SMS_STATE_SYSTEM><10-18-2012 01:45:34.973+240><thread=3328 (0xD00)>
    total chucks loaded (0)  $$<SMS_STATE_SYSTEM><10-18-2012 01:45:34.973+240><thread=3328 (0xD00)>
    total chucks loaded (0)  $$<SMS_STATE_SYSTEM><10-18-2012 01:45:34.973+240><thread=3328 (0xD00)>
    total chucks loaded (0)  $$<SMS_STATE_SYSTEM><10-18-2012 01:45:34.973+240><thread=3328 (0xD00)>
    total chucks loaded (0)  $$<SMS_STATE_SYSTEM><10-18-2012 01:45:34.973+240><thread=3328 (0xD00)>
    What could be the problem? Has Chuck Norris something to do with it? :D
    Thanks a lot for your help.

    Yes, I know this is an old post, I’m cleaning up old post, did you get this fixed, if so what was the solution?
    Since no one has answer this post, I recommend opening  a support case with CSS as they can work with you to solve this problem.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • HELP! Computer shutting down while loading FL studio Plugins! High CPU load?!

    Good day everyone. I am in dire need of some help concerning my Hp Pavilion p6-2330 . I am a producier and I use a programmed called FL studio.
    I've never had this problem before but now it happens almost everytime. When I open a project with a lot of VST plug-ins or a new VST plug-in it just immeadiatly prompts windows "shutting down". I am not sure if its exclusive to FL studio or a High CPU load in general.
    I've tried a lot. Replaced my PSU. Blow out the dust from my hardive throuroughly. I really doubt its a overheating problem because it only happens when opening a project with a lot of vst plugins or opening a new vst on top. and my CPU isnt hot
    Is there a crash report i can look at to see the reason its shutting down? What can i do?!

    Hi,
    The following link shows specs of your computer:
       http://h20564.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c03499435
    given "only happens when opening a project with a lot of vst plugins or opening a new vst on top." I think the cheapest option now is to increase RAM from 6GB to say 16GB (using information from the above link). Before goinng out to buy more RAM, you may want to insrease system page file first (similar for Windows 8.1):
       http://windows.microsoft.com/en-au/windows/change-virtual-memory-size#1TC=windows-7
    or
       http://www.softwareok.com/?seite=faq-Windows-8&faq=133
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

Maybe you are looking for

  • After upgrading to Mavericks cannot update iPhoto or iMovie

    Update Unavailable with This Apple ID - This update is not available for this Apple ID either because it was bought by a different user or the item was refunded or cancelled. I've browsed through the support communities and found numerous reports of

  • Warning  5002: Unable to connect to the Cache Agent

    Getting the following message when creating a readonly cache group Warning 5002: Unable to connect to the Cache Agent for /tmp/cgdsn; check agent status Warning 5051: Commit message to Cache Agent failed. Cache Agent must be restarted Tried to check

  • How to handle Dynamic File Name

    Hello All, I have a  requirement, I have to download a file from application server to my ABAP program which will be executed in the background. The problem is the file name is a dynamic file name with timestamp on it. So how do I read the file from

  • Internet Hub 2.0 Disconnecting and Having to chang...

    Hello, Recently my girlfriend and her family have been having problems with their BT Home Hub 2.0, it keeps disconnecting randomly and they have to keep changing the channel everytime they want to reconnect back onto the internet. They are attached t

  • TS4148 my phone has no service

    My phone keeps showing No Service in the left hand top corner.  How do I fix this problem?