Garbage Collection and Constant CPU Usage

Hello,
We have a load balanced environment running ColdFusion 10 Enterprise with 5 instances currently running. Currently we only have one instance being actively used but have been encountering a problem within a time frame of 12 to 36 hours (calculated on the times we have had to restart CF to come back online) the garbage collection is running almost constantly and CPU holds at 50% until the server just becomes unresponsive until the CF instance is restarted.
I have been monitoring the server via VisualVM to watch the CPU and Heap usage since I have found that running the server monitoring systems build into CF 10 Enterprise accelerate the problem to cause a crash within 4 to 5 hours.
This issue has been occuring regardless if there is heavy load or not on the server. I have been seeing some odd behaviour when running CF Stat where I am seeing 4 Requests Queued and Running Requests never shows anything other than 0. I increased the Minimum Heap Size to 512 MB and Maximum Heap Size to 1024 MB and below is our JVM arguments
-server -XX:MaxPermSize=192m -XX:+UseParallelGC -Xbatch -Dcoldfusion.home={application.home} -Dcoldfusion.rootDir={application.home} -Dcoldfusion.libPath={application.home}/lib -Dorg.apache.coyote.USE_CUSTOM_STATUS_MSG_IN_HEADER=true -Dcoldfusion.jsafe.defaultalgo=FIPS186Random -Dcom.sun.management.jmxremote.port=8701 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
We are running on a Windows 2008 64 Bit and IIS 7.5 on both of the load balanced servers and have updated the server to ColdFusion 10 Update 2. I am aware of the issues that are being fixed in Update 3 that was removed last week by Adobe due to bugs introduced.
If anyone has any insight in how to fix this issue, I would be greatly appreciative.  This is affecting a production server that did not show these problems when we put the servers under load when we did pre launch settings.

Further from your images - while it shows CF CPU at 50% the GC activity is 0%.
So could be your not garbage collecting more than necessary and something else CF wise is taking CPU time.
What would be interesting is the Jconsole Memory tab Details section. It shows the time spent in minor and major GC's.  eg:
HTH, Carl.

Similar Messages

  • High Fan Noise and 100% CPU usage by Dock

    My MacBook Pro 3.06 GHz Intel Core 2 Duo running 10.6.8 just started making a constant fan noise. When I checked the Activity Monitor, it shows my Doc CPU usage as 100%, and my Percent User Usage is about 52% System 2.5% and % Idle is 47%. These numbers are when there is nothing running except Activity Monitor. When I log out and log in as another user, the high fan noise stops, and the CPU usage of the Doc is <1%. I have tried restarting my computer, Rebuilt my Permissions, Emptied the Trash, and Reset the SMC (I think I did it correctly for the MBPro, but the Power Light did not change, and nothing seemed to be any different on my computer.) I think I recently did a recent Apple Update, but I don't know how long ago that was. But it was sometime in the past few days. Does anyone have any idea about what could be going on?
    Thanks,
    Frank

    Frank Moore wrote:
    How do I give you the credit. It looks like I only gave you a Helpful credit instead of Correct Answer? The only correct option was in one of my replies under you correct answer. You gave the correct answer.
    Oh well, no worries.

  • High CPU & Memory issues - Excessive and unnecessary CPU usage in Firefox for Windows (see also questions1003966 & 998289)

    I am using the latest version of Firefox, 32.0.1, on an HP Pavilion dv7-4141sa laptop computer, running Windows 8.1 Pro 64-bit. There should be more than enough power here to run a browser without any problem, yet the computer is regularly being overloaded by the browser's resource usage.
    I am currently measuring typical average CPU usage of 45% - with the browser minimised. That is to say, Firefox is not doing any browser jobs - it is not drawing on the screen - but it is using the most CPU of any process currently running. Why?
    I am an ex-software engineer, and my understanding of current application development technology is limited, but I think I can say with some confidence that many techniques and software architectures exist that enable the suspension of program activity, or at least its reduction to a very low bare minimum, when the program is not actually carrying out its design function, which is in this case to draw pictures of website data on a screen.
    There is a very serious problem here, one which means that I cannot run Firefox all the time, but have to kill it when I am not actively browsing, otherwise other applications cannot run to their full capacity. This is a great pity, because I have committed a lot of effort to making Firefox my primary web tool. It manages all my many bookmarks, contains my secure password manager (LastPass), manages my web security (via NoScript, AdBlock, and FlashBlock), just for a start.
    Before any well-meaning moderators or other commenters start down the usual trail of "have you done this, tried that, disabled the other", I should point out that I have followed all the advice I can find, with no positive outcome. This computer is running a fresh installation of Windows, and a fresh installation of Firefox. At the moment I am running a new test Firefox profile.
    The latest version of Adobe Flash, 14.0.0.179, is installed but disabled. When it is enabled and in use, Firefox's CPU usage seems high over longer periods, but overall there is little difference. It doesn't look as though the problem can be laid at Flash's door. A few other add-ins are installed, mainly those mentioned above, and Firefox is skinned with LavaFox v2-Green, but I have previously started from a clean installation, which has made little difference after an initial period during which things seemed to be better. Turning off or disabling various add-ons has made no discernible difference.
    Just now I turned Flash on, and after a long period with Firefox minimised, Resource Monitor reported Firefox at 8% average CPU and FlashPlayerPlugin at 0.32%. While running a small video, RM reports FlashPlayerPlugin at about 45% and Firefox at 8%. After the video, Flash went back down to around 0.4%, and after a bit more browsing Firefox went to around 17% minimised. There seems little rhyme or reason here, except that Flash does not seem to be the culprit, although Firefox does seem to consume less when fewer tabs are actually active, as you might expect. I just refreshed more than a dozen tabs, and now Firefox is at 30%, but still not back up to the higher figures. Weird.
    The CPU usage does vary a lot around the average, but 30% is still a lot for a program that shouldn't be doing anything above the minimum status maintenance, and still puts it at the top of my Top Process Monitor list. (Right now it's gone back up to 45%, without my using it in any way).
    I have Telemetry turned on, so presumably Mozilla is recording some of the relevant data.
    This is a very serious fault, which is more or less reproducible and which a lot of people seem to be experiencing. Probably more people have it than realise, because most users will not know anything other than that their computer slows down for some non-obvious reason; they may just think it's something to do with the computer itself, not knowing how to use the Resource Monitor and interpret the results.
    Oddly, the problem does not seem to occur when running Firefox under Linux Mint 17, where the response is snappy and the CPU usage ostensibly low; I am going to look at this in more detail shortly.
    I am not posting here for advice, but for information and as a form of bug report which hopefully other users will see. It will hopefully spare them a lot of effort and time in trying a lot of recommended "solutions" which will not work. The problem is inherent in the software, and can be solved only by Mozilla.
    I am willing to supply any diagnostic data requested; as I said above, I have also turned on "Telemetry". However, I will not be trying out any more reinstallation/new-profile/add-on disable-enable-delete cycles unless I am asked to for very specific reasons. Please do not suggest courses of action which have already been mentioned elsewhere on this forum. I have tried them all.
    The situation is very disappointing, but I have confidence that the Firefox developers will pin down the fault eventually and engineer a satisfactory solution that makes it viable to leave Firefox open all the time. Even with that restriction, it's still far better than the alternatives.

    I share jmward's frustration. This is not a bug report so much as a request for a badly needed feature, ie the ability to have Firefox be able to tell us which tabs on which windows are eating time so we can target them. There are some very poorly written web pages out there which just plain loop while making no updates or inconsequential updates on the page.
    This is not a OS problem; jmward runs Windows and I run Linux but we have the same issue. It is not a question of Firefox plugins or extensions, or even viruses; I have a new, clean Linux install but have the same problem on both my regular Firefox AND on a FRESH install of the latest Firefox (35.0.1) which has *NO* non-default plugins or extensions.
    Here is an example of a web page which will eat 100% of one CPU's time:
    http://patch.com/massachusetts/arlington/arlington-woman-allegedly-attacks-neighbor-snow-blower-0
    I will attach 3 images to back up my claim. All of the images show my dark blue system monitor (gkrellm) superimposed on the web page. The top graph shows CPU time. I have 4 CPUs in my machine, so 25% means the web page is eating 100% of one CPU equivalent.
    The first image shows the load of the offending page with elevated CPU usage along with the download net activity on eth0, but the CPU activity does not stop when the download activity is over.
    The second images show the steady state 100% CPU equivalent of this page just sitting there apparently doing nothing. It IS, however, doing at least two different things. I know from my regular Firefox where I have "Remove It Permanently" installed that if I remove the the little weather indicator in the upper right of the offending page that CPU utilization drops to about 40% of one CPU equivalent. If I use RIP to remove everything else right down to a bare screen that 40% utilization stays until I delete the tab.
    The third image shows the CPU utilization drop to zero when I delete the tab holding the offending page.
    Now I will add a note here: If the offending page is NOT the top tab in a window then it stops eating time. The offender will also stop eating time if I minimize the window. However if I have another window up but leave the offender up on top in its window it continues to eat time even tho I am looking at another window. The offender will continue to eat time even if its window is completely covered by another window, and it will also eat time if I switch to another desktop.
    I will often have half a dozen windows open, and there are many pages out there which will suck endless CPU time. Unless I want to open up a new tab on each window before I leave it there is likely to be some tab on top eating time uselessly. Get a couple of those going and Firefox becomes sluggish and can even stop responding for many seconds.
    I guess I not only want to have Firefox tell us which tabs are eating time, but I would also like it if Firefox would stop giving CPU time to any tab which is not visible because it is covered by some other window and/or it is on a desktop which is currently not showing. If you can stop a tab's CPU usage by reason of tab-not-showing then you should also be able to stop its CPU usage when the window is covered or on the not-top desktop. Indeed is there any reason to not schedule absolute CPU utilization priority to the visible tab on the window with focus and give time to the other tabs only when the visible tab isn't using time?
    My final thought on this is that I have had Firefox SO tied up sometimes that I swear their are web pages which are eating time even tho they are not the top tab. I regret that I do not have an example to show you. But Firefox grinds to a complete halt on a regular basis, and that is not acceptable. I am a programmer with long experience in multi-threaded programs so I *know* there is no reason you cannot do better. If there were another browser around which had the commitment to privacy which Firefox has I would probably switch out of shear annoyance. :-(

  • How could i get the kernel and user cpu usage for each process

    Hi all,
    In order to monitor the system CPU usage, I would like write a script to gather the kernel and user CPU usage for each process, like the prstat or top does. As always missing the shortlived kernel usage, prstat or top cann't get the precise CPU usage. I checked with the dtrace syscall, proc and fbt provider, but don't get which one is useful.
    Please provide your comments and suggestion.
    Thanks in adv

    mail2sleepy wrote:
    As I've studied the "dtrace" for a while, and seems Sun gives a pretty high score on this new feature.....I do want to know whether there's some probe can work for it, like writing a "dtrace" version prstat.You can write a prstat without dtrace. Because that's just polling at specific intervals and reading some process structures from /proc. You could have dtrace fire a probe every 5 seconds and read the same thing, but it wouldn't really be using any features of dtrace. Trhying to write it "in dtrace" doesn't make much sense.
    What you could do that would be harder via other methods is to fire a probe at process exit that displayed the process information including total CPU time. They could print exactly when processes exited. Doing that without dtrace would be very difficult.
    Darren

  • Prstat displays PROCESS/NLWP  with /0 , but high USR and SYS  cpu usage

    I'm running prstat on Sol 10u4 sparc and see from time to time one of more processes with high user and kernel cpu usage, The process name is just displayed as " /0". What is this ?
    see sample snapshot below:
    PID USERNAME USR SYS TRP TFL DFL LCK SLP LAT VCX ICX SCL SIG PROCESS/NLWP
    18738 root 18 42 3.5 0.0 0.0 0.0 36 0.5 123 247 15K 0 sort/1
    18728 root 10 30 1.0 0.0 0.0 0.0 0.0 59 0 361 16K 0 /0
    18737 root 6.8 15 2.1 0.0 0.0 0.0 75 0.2 82 82 5K 0 awk/1
    18731 root 5.2 12 1.3 0.0 0.0 0.0 80 1.5 68 0 5K 0 /0
    18730 root 4.8 10 1.1 0.0 0.0 0.0 82 1.4 58 58 4K 0 /0
    18736 root 4.4 10 1.1 0.0 0.0 0.0 84 0.1 63 0 4K 0 grep/1
    18732 root 3.0 11 2.1 0.0 0.0 0.0 0.0 84 0 45 3K 0 head/1
    18735 root 4.3 9.2 1.1 0.0 0.0 0.0 85 0.1 57 57 3K 0 grep/1
    18729 root 4.3 8.7 1.2 0.0 0.0 0.0 84 1.3 103 51 3K 0 /0
    18734 root 3.7 8.9 1.0 0.0 0.0 0.0 86 0.5 52 52 3K 0 grep/1

    The slash number format is used to show the number of threads (light weight processes or LWP in Solaris parlance) in a given process (see the header says "PROCESS/NLWP"). I'd guess this is a race condition where prstat finds a process exists and has consumed some CPU, but when it goes to query the data on the process it's already exited so there's no process name and zero threads associated with it. For this to be true and to see this except more than every once in a blue-moon you'd have to have a system that was having processes forked at an amazing rate.
    I'd also say this is a bug, but one that you might have a hard time getting an traction on.

  • K8NGM2-FID problems: no usb and high cpu usage - HELP!

    hi folks,
    i've setup K8NGM2-FID inside an htpc with a clean install of mce 2005 (onboard video). For the past couple of days I've noticed a few things:
    1) if the pc goes into standby (S3) and then wakes up, sometimes task manager shows a cpu usage of 50% (on the graph) but looking at the list of tasks (for all users) nothing is runing that high - in fact system idle process shows 98% (while the graph is still showing about 50%) and the system is a bit sluggish; reboot fixes this but it's getting really annoying. I've installed the latest AMD x2 driver. Sometimes it goes to 98-99% after waking up but that's been rare.
    2) i've been getting a few BSODs lately, actually all started yesterday - 3 of them in a span of about 2 hours after insalling Nero. I'm going to try to figure out what is causing it that (proabably Nero - I hope since that's easy to undo) but what i've noticed is that when the system reboots after the blue screen, none of the USB devices work (i.e. keyboard, mouse, etc.). windows has to load, then I need to go in the back and unplug/replug the usb devices which then 'wakes' them up; this can get really annoying in a typical cramped home theater setup. software restarts seem to be good - ok hardware restarts are the problem. hooking things up to a usb hub has the same effect - i.e. I need to re-plug the hub to get them to work - it just means less things to plug/unplug.
    has anyone else noticed this? help save my sanity - this is driving me crazy. since this is an mce setup, it goes into sleep and wakes up several times a day so the high cpu issue when it comes up really gets in the way of using the pc. btw. during high cpu times, no mce related function (record/watch/the shell itself) is running.
    here's my setup:
    K8NGM2-FID - boots up with 3 short beeps - I think it's 1 beep pause then 2 beeps
    2 gigs kingston 3 CAS (2 x 1 GIG kit) pc3200 - boot screen shows it running at 400mhz in dual channel config
    X2 3800+ stock fan/heatsink with silver 5 (runs around 35-38 idle - inside a silverstone 'stereo rack' case)
    ms usb keyboard/mouse/mce remote
    coolmax 550W power
    3 140GB WD drives (ata 133 - not sata)
    onboard video - framebuffer set to 128megs
    latest (as of 2 days ago) nvidia and msi drivers - msi bios is the stock 3.0 (more on that later)
    the bios settings are all default as far as I can tell.
    pvr-150 tuner card
    promise ata 100 card
    nec 3500dvd
    all running on mce 2005 with rollup 2 and all the updates windows could find
    i haven't updated the bios because i've read about other folks having blue screen problems and the suggestion has been to up the voltage for the ram (I guess the default setup from MSI is lower than it should be) but apparently that option is missing from the 3.1 and later bioses? and reading the text file, it wasn't very apparent what the bios 3.1 was fixing other than a few cosmetic bootup texts. I'm planning to up the voltage later today.
    anyhow, any suggestions short of throwing the entire pc out the door are welcomed.
    thanks!

    ok here's what I've found about the high cpu...
    using process explorer, hardware interrups is taking all the cpu. i've tried to disable items one by one but nothing is working so far. what does work is if i choose scan for new hardware, cpu goes down to normal. standby and resume and cpu is up again. do the scan and it goes down again - without changing anything.
    i've re-installed the graphic board driver, nvidia 430 drivers, sound driver. not sure what else to do. checked my drives and they are all properly master/slave set.
    this is really getting crazy...anyone come across this?
    i'm a bit hesitant to go to bios 3.1 since i've seen lots of posts about BSOD and i've just gotten rid of that.
    thanks
    thanks a bunch!

  • High number of threads and high CPU usage on a single instance

    Without any apparent reason, in some moments of day the website reports an increment of the HTTP Queue Length from an average of 10/20 queued requests to 100/200 and more.
    In that period of time the Average Response Time increases but the number of the requests on the website don't. Even increasing the instances it doesn't help to resolve the problem (maybe it just reduced it).
    It seems that the problem is not related to the traffic on the site. This issue happens either when the traffic is high or low.
    The autoscaling works well, we don't have peak of traffic but always a slow increasing of requests and the CPU is always below the 50% (memory too). The issue is resolved by the swap of the site and sometimes it's resolve by itself after a while.
    What I discovered when the issue happens, is that there's an instance (just an instance only), that has an high number of threads and CPU usage on the W3WP.exe process and these values are above the mean than the other instances. Eg, instances are around
    50/60 threads and 10/20% of CPU, the instance with the problem has 200 threads and 50/60% of CPU. If I kill the W3WP process on that instance the issue is resolved. 
    I monitored the HTTP requests, I tried the website extension "Diagnostics as service" but I can't discover anything that can help me to understand the problem. Of course, there are many requests that go in timeout but it is a consequences of a
    unresponsive instance.
    On the web hosting plan there are only two sites: the production site and its staging which is used for update of the production only and it's always sleeping. Plus, no webjobs are running on this site.
    What can I do to gather useful information that can help me to understand the reason of this problem?
    Thank you!

    "Does the instance with the high counts receive more traffic than the other instances? Is it possible that the load balancer not
    working the way it should be?"
    How can I get that information? I can't see metrics for a specific instance
    "Does it always happen to the first instance?"
    I will check it better, but in the order given by the Processes panel it's the second instance which has the issue. The scaling is at 2 instances for the most part of the time (it's the minimum).
    Maybe one time it was the 3th instance but I'm not sure, I'll give it more attention.
    " How long do these moment last?"
    The time can be 10 to 30 minutes, but I fix it as soon as I see the problem. It's not the down-scaling to resolve it because in these situations the CPU as well is high so the scaling holds or increases the number of instances.
    "- How often do these moments occurs?"
    It occurs quite often, 2/4 times a week.

  • Newbie having problems with noisy fan and high CPU usage in Activity Monitor

    I am new to the world of Apple and have got my hands on a hand-me-down PowerBook G4 version 10.4.11. It works fairly well for everything but the Internet.
    One of the first symptoms i noticed was that watching stuff on youtube was slow and jumped a lot. I checked a few things out and looked the CPU usage in activity monitor and this was about 80% to 100% when on youtube or even moving from page to page. I'e tried loads of stuff including repairing disk permissions, emptying caches and relaunching finder when the preferences file is on the desktop (not really sure what that was supposed to do).
    The next thing I discovered was that if i disconnected the laptop from the mains and played youtube and some other applications the whole thing would go into sleep mode very quickly. I have got temperature monitor downloaded now although I already know it is getting very hot.
    PS when it heats up the fan turns on because I can hear a whirring sound...
    Would really appreciate some insight into this as it seems to be a good runner otherwise.
    PS2 I have loads of free space left in the disk usage tab in activity monitor.
    Big thank you in advance

    Welcome to the world of PowerBook!
    One of the first symptoms i noticed was that watching stuff on youtube was slow and jumped a lot. I checked a few things out and looked the CPU usage in activity monitor and this was about 80% to 100% when on youtube
    Virtually no G4s are dealing well with web video anymore. The video technology used by modern developers puts a huge strain on a G4 processor. As this a choice made by coders, there is not much you can do about it. Some people suggest adding RAM but the effect is marginal considering it's the processor that's taxed.
    Notebooks get hot. The fans in my 1Ghz 17-inch PowerBook from 2003 kick in between 130 and 140°F. The danger point is not until in the vicinity of 100F so don't sweat it to much. Make sure you do not cover the case bottom by setting the computer on a thick cloth placemat, pillow or other bedding item, or on your lap without a lapboard. The bootom of the case is part of the heat dissipation system and needs air under it to work
    A lot of PowerBooks have, by now, lost some or all of their "feet" that gve a little space under the case. Don't bother looking for official replacements--get the silicone door/drawer bumpers from the hardware store that stick on. I found some about 3/16" thick that let more air under my PB thatn the mostly missing originals.
    The next thing I discovered was that if i disconnected the laptop from the mains and played youtube and some other applications the whole thing would go into sleep mode very quickly
    Your battery is likely dead from old age. Batteries only last about 2-3 years. You are seeing a sign of the battery lacking sufficient remaining capacity to run the computer. Get this utility:
    http://www.coconut-flavour.com/coconutbattery/
    (you'll need the 2.6.6 version for Tiger) and post what is says about "Health" and "Cycles."

  • Garbage Collecting and freeing memory in JTree

    Suppose you have a JTree with a model that takes a lot of memory. after you are finished using the tree you want to free this memory. so you go on and use the
    tree.setModel(null) method, hoping everything will be fine. to be extra sure you even set the root to null.
    what happens is that the tree view is cleared but the memory isn't.
    my conclusion is that somwhere in the tree package there are refrences to the tree root, model or whatever that keeps it from been garbage collected. to make sure my code doesn't keep any refrences to the tree model I am using a very thin class that only instantiates a tree and fills it with data. this class keeps no members, listeners, refrences and so on.
    calling system.gc() does nothing.
    Is there a simple way to clear memory in a JTree ?
    without using weak refrences and other unwanted complexities.

    Hi, thanks for the response.The C API version is 6.5.3 or 6.5.4.2, depending on the environment.I'll paste the code in here, but it is completely based on the sample programs so I'm not sure where else we could free up memory (any insights appreciated!):ESS_MEMBERINFO_T *pChildMemberInfo = NULL;sts = ESS_Init();if(sts == ESS_STS_NOERR){ sts = ESS_Login(srvrName, adminUserName, password);if(sts == ESS_STS_NOERR){// set the active dbsts = EssSetActive(hCtx, appName, dbName, &Access);if(sts == ESS_STS_NOERR){memset(&Object, '\0', sizeof(Object));// open the outline for use in subsequent callsObject.hCtx = hCtx;Object.ObjType = ESS_OBJTYPE_OUTLINE;Object.AppName = appName;Object.DbName = dbName;Object.FileName = dbName;sts = EssOtlOpenOutline(hCtx, &Object, ESS_FALSE, ESS_FALSE, &hOutline);if(sts == ESS_STS_NOERR){// get member names from outline, so// this section includes a number of // sts = EssGetMemberInfo(hCtx, // category, &pChildMemberInfo);// calls to query member names.// Then some calls are made to free // these resources:if(pChildMbrInfo){EssOtlFreeStructure(hOutline, 1, ESS_DT_STRUCT_MBRINFO, pChildMbrInfo);}if(pChildMemberInfo){EssFree(hInst, pChildMemberInfo);}EssOtlCloseOutline(hOutline);}}ESS_Logout();}ESS_Term();}

  • Video Streaming - glitchy playback and high CPU usage

    Hi,
    I'm running a mid 2007 macbook with OSX 10.5.8, and I am experiencing issues playing back video from a large number of websites. Specifically BBC iPlayer, and other OD sites, but others too. HTML5 playback seems to be okay.
    I tried changing from Safari to Chrome, and this seemed to make no difference, and even though I tend to run a lots of programs and have lots of tabs open, I get this issue when I'm not running anything else.
    When I look at my CPU usage, its constantly running at 80% when the video is running fine. Then it leaps to 100%, and the video fails and get stuck. Sometimes continuing the audio, but with the image frozen. I think the computer gets too hot, and slows the CPU speed down, resulting in the glitches.
    I'm pretty certain my problem lies with Flash. As when looking at activity monitor, this is the process that leaps into action and drains my CPU when video is playing. I'm currently using the latest versions of everything. My computer should be fast enough to playback these (admittedly very compressed) formats without really struggling. So something must be wrong in software somewhere!
    If anybody has come across this issue, and found a solution, it would be great to hear it!
    Thanks in advance.
    Jamie

    The Adobe web site has recent versions of Flash player and Shockwave player;
    among them, are ones for certain web browsers as well as specific OS X system
    versions. As in PPC or Intel-based Mac systems of a certain build number range.
    And the download package for each product includes an Uninstaller so the old
    player may be removed first, before installing the newer one. Keep in mind, the
    most recent players they have may not work with your older OS X system, so
    be sure to read and look around. I've found several versions, including ones that
    do OK for my G4 computers running 10.4.11 and 10.5.8.
    The older computers have different possible issues, but yours is new enough to
    not have graphic processor or other hardware limits increasingly PPC-Macs have.
    And then with streaming content and changes in software/hardware, some factors
    are beyond the reach of older computers, when left behind due to a new direction.
    You computer may also be a candidate for some general & preventative maintenance;
    depending on how it is used, how often it sees huge file transfers and other variables.
    My computers can stay on (including sleep) for over 170 days and not act oddly. There
    are things that can improve by simply restarting the computer; or start in SafeBoot to
    then run Disk Utility's 'repair disk permissions' to alleviate some basic glitch or issue.
    If specific graphic content related 'cures' don't make much difference, consider the
    whole computer approach for general health to make it work the best it can; then any
    other causes of slowness may be more pointedly addressed, by selective direct means.
    The specifications of your computer indicate it should be able to handle OS X 10.6.6;
    but a direct upgrade is not recommended unless the existing issue is investigated.
    There may be underlying hard disk drive issues or other logical errors behind troubles.
    Are there any Console logs relating to actions the system takes while processing video?
    They'd be listed by time/date and could show other things going on, outside of Flash
    players or compromised basic computer functions that appear now only under stress.
    Good luck & happy computing!

  • Yosemite and Mail massive memory leak and excessive CPU usage

    I've just installed Yosemite and upgraded to 10.10.2 via the AppStore. Now I have a problem with Mail sucking up all the CPU (>106% !) and memory (>8Gb and rising while doing nothing). Everything runs fine when I quit Mail. Very disturbing behaviour!
    I've tried several suggestions found elsewhere on the board here, such as turning off and even removing all Mail plug-ins including SpamSieve, but without positive results. I've tried un-selecting 'Store draft msgs on server', as well as the option for junk and sent msgs. but again without any difference. Going Offline within Mail also makes no difference to its memory hogging or CPU usage.
    I notice this is an issue that's been around since last year (wish I'd known that before upgrading to Yosemite today) and I am just completely flabbergasted that it still exists. Would've thought Apple'd have fixed it in the first but certainly in the second incremental OSX Yosemite release.
    Is there anything else I could try that's proven to be effective in stopping Mail's massive memory leak?

    Okay, I've run Disk Util and restarted. Seems to have made a little bit of a difference to the RAM gobbling in that it appears to be going at a slower rate, but it's still up at around the 45Gb after an hour. Here's the EtreCheck report in the hope that it helps.
    EtreCheck version: 2.1.6 (109)
    Report generated 28 January 2015 4:38:22 pm AEDT
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Support] links for help with non-Apple products.
    Click the [Details] links for more information about that line.
    Click the [Adware] links for help removing adware.
    Hardware Information: ℹ️
        MacBook Pro (Retina, 15-inch, Mid 2014) (Technical Specifications)
        MacBook Pro - model: MacBookPro11,3
        1 2.5 GHz Intel Core i7 CPU: 4-core
        16 GB RAM Not upgradeable
            BANK 0/DIMM0
                8 GB DDR3 1600 MHz ok
            BANK 1/DIMM0
                8 GB DDR3 1600 MHz ok
        Bluetooth: Good - Handoff/Airdrop2 supported
        Wireless:  en0: 802.11 a/b/g/n/ac
        Battery Health: Normal - Cycle count 16
    Video Information: ℹ️
        Intel Iris Pro
            Color LCD spdisplays_2880x1800Retina
        NVIDIA GeForce GT 750M - VRAM: 2048 MB
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 1:1:19
    Disk Information: ℹ️
        APPLE SSD SM0512F disk0 : (500.28 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            Macintosh HD (disk1) / : 499.05 GB (413.24 GB free)
                Core Storage: disk0s2 499.42 GB Online
    USB Information: ℹ️
        Apple Internal Memory Card Reader
        Asmedia ASM107x
            Asmedia ASM107x
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Inc. BRCM20702 Hub
            Apple Inc. Bluetooth USB Host Controller
        Asmedia ASM107x
            Asmedia ASM107x
                Logitech Logitech USB Optical Mouse
                Apple, Inc. Keyboard Hub
                    Apple, Inc Apple Keyboard
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Configuration files: ℹ️
        /etc/hosts - Count: 2
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /Applications/DiskWarrior.app
        [not loaded]    com.alsoft.Preview (5 - SDK 10.5) [Support]
            /Applications/ibVPN.app
        [not loaded]    net.tunnelblick.tap (1.0) [Support]
        [not loaded]    net.tunnelblick.tun (1.0) [Support]
            /Library/Extensions
        [loaded]    at.obdev.nke.LittleSnitch (4231 - SDK 10.8) [Support]
        [loaded]    com.sophos.kext.sav (9.2.50 - SDK 10.8) [Support]
        [loaded]    com.sophos.nke.swi (9.2.50 - SDK 10.8) [Support]
        [loaded]    jp.plentycom.driver.SteerMouse (4.2.2 - SDK 10.6) [Support]
    Problem System Launch Agents: ℹ️
        [killed]    com.apple.AirPlayUIAgent.plist
        [killed]    com.apple.CallHistoryPluginHelper.plist
        [killed]    com.apple.CallHistorySyncHelper.plist
        [killed]    com.apple.cloudd.plist
        [killed]    com.apple.icloud.fmfd.plist
        [killed]    com.apple.nsurlsessiond.plist
        [killed]    com.apple.pluginkit.pkd.plist
        [killed]    com.apple.security.cloudkeychainproxy.plist
        [killed]    com.apple.spindump_agent.plist
        [killed]    com.apple.telephonyutilities.callservicesd.plist
        10 processes killed due to memory pressure
    Problem System Launch Daemons: ℹ️
        [killed]    com.apple.awdd.plist
        [killed]    com.apple.ctkd.plist
        [killed]    com.apple.icloud.findmydeviced.plist
        [killed]    com.apple.ifdreader.plist
        [killed]    com.apple.nehelper.plist
        [killed]    com.apple.nsurlsessiond.plist
        [killed]    com.apple.softwareupdated.plist
        [killed]    com.apple.wdhelper.plist
        8 processes killed due to memory pressure
    Launch Agents: ℹ️
        [running]    at.obdev.LittleSnitchUIAgent.plist [Support]
        [not loaded]    com.adobe.AAM.Updater-1.0.plist [Support]
        [running]    com.adobe.AdobeCreativeCloud.plist [Support]
        [running]    com.sophos.uiserver.plist [Support]
    Launch Daemons: ℹ️
        [running]    at.obdev.littlesnitchd.plist [Support]
        [running]    com.adobe.adobeupdatedaemon.plist [Support]
        [loaded]    com.adobe.fpsaud.plist [Support]
        [loaded]    com.microsoft.office.licensing.helper.plist [Support]
        [running]    com.sophos.common.servicemanager.plist [Support]
        [running]    com.synium.cleanappdaemon.plist [Support]
        [running]    com.syniumsoftware.CleanAppDaemon.plist [Support]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.ARM.[...].plist [Support]
        [running]    com.c-command.SpamSieve.LaunchAgent.plist [Support]
        [loaded]    com.google.keystone.agent.plist [Support]
        [not loaded]    com.linotype.FontFolderProtector.plist [Support]
        [failed]    com.wondershare.mobilegodaemon.plist [Support]
        [not loaded]    info.lokiware.attachmenttamer.cleanup.plist [Support]
        [invalid?]    info.lokiware.attachmenttamer.setupagent.plist [Support]
    User Login Items: ℹ️
        Letter Opener Updater    Application  (/Library/Mail/Bundles/Letter Opener.mailbundle/Contents/Resources/Software Update.app)
        iTunesHelper    Application  (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
        Default Folder X Helper    Application Hidden (/Users/[redacted]/Library/PreferencePanes/Default Folder X.prefPane/Contents/Resources/Default Folder X Helper.app)
        FontExplorer X Pro    Application Hidden (/Applications/FontExplorer X Pro.app)
        Calendar    Application Hidden (/Applications/Calendar.app)
        SteerMouse Manager    Application  (/Applications/Utilities/SteerMouse.app/Contents/MacOS/SteerMouse Manager.app)
        Mail    Application Hidden (/Applications/Mail.app)
        Android File Transfer Agent    Application  (/Users/[redacted]/Library/Application Support/Google/Android File Transfer/Android File Transfer Agent.app)
        DiskWarriorStarter    Application  (/Applications/DiskWarrior.app/Contents/Helpers/DiskWarriorStarter.app)
        finderpop-daemon    Application  (/Users/[redacted]/Library/PreferencePanes/FinderPop.prefPane/Contents/Resource s/finderpop-daemon.app)
        XtraFinder    Application Hidden (/Applications/XtraFinder.app)
    Internet Plug-ins: ℹ️
        AdobeAAMDetect: Version: AdobeAAMDetect 2.0.0.0 - SDK 10.7 [Support]
        FlashPlayer-10.6: Version: 16.0.0.296 - SDK 10.6 [Support]
        QuickTime Plugin: Version: 7.7.3
        AdobePDFViewerNPAPI: Version: 11.0.10 - SDK 10.6 [Support]
        AdobePDFViewer: Version: 11.0.10 - SDK 10.6 [Support]
        Flash Player: Version: 16.0.0.296 - SDK 10.6 [Support]
        Default Browser: Version: 600 - SDK 10.10
        SharePointBrowserPlugin: Version: 14.4.7 - SDK 10.6 [Support]
    User internet Plug-ins: ℹ️
        iGetter Plugin: Version: 2.9.3 [Support]
        iGetterScriptablePlugin: Version: 2.9.3 [Support]
    Safari Extensions: ℹ️
        1Password [Installed]
        iGetter Extension [Installed]
    3rd Party Preference Panes: ℹ️
        Default Folder X  [Support]
        FinderPop  [Support]
        FUSE for OS X (OSXFUSE)  [Support]
        SteerMouse  [Support]
    Time Machine: ℹ️
        Time Machine not configured!
    Top Processes by CPU: ℹ️
          105%    Mail
            3%    WindowServer
            2%    sysmond
            2%    Activity Monitor
            0%    fontd
    Top Processes by Memory: ℹ️
        4.10 GB    Mail
        103 MB    Finder
        86 MB    SophosScanD
        86 MB    InterCheck
        86 MB    WindowServer
    Virtual Memory Information: ℹ️
        84 MB    Free RAM
        2.92 GB    Active RAM
        2.87 GB    Inactive RAM
        2.76 GB    Wired RAM
        2.57 GB    Page-ins
        23 MB    Page-outs
    Diagnostics Information: ℹ️
        Jan 28, 2015, 03:37:41 PM    Self test - passed
        Jan 28, 2015, 02:49:01 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/Android File Transfer Agent_2015-01-28-144901_[redacted].crash
        Jan 28, 2015, 09:31:04 AM    /Library/Logs/DiagnosticReports/Mail_2015-01-28-093104_[redacted].cpu_resource. diag [Details]
        Jan 28, 2015, 07:39:17 AM    /Library/Logs/DiagnosticReports/AdobeCrashDaemon_2015-01-28-073917_[redacted].c rash
        Jan 27, 2015, 07:54:29 PM    /Library/Logs/DiagnosticReports/AdobeCrashDaemon_2015-01-27-195429_[redacted].c rash

  • Garbage collection and closure

    I am running a remote script from bridge that opens a complex dialog in photoshop. I need to run the dialog in photoshop because it displays fonts, styles and actions, which are not available in bridge.
    When I close the dialog I return to my bridge script. If I repeated open the remote script with the complex dialog I continue to use up resources and the dialog opens more slowly each time.
    If I run the remote script directly from the ESTK I still lose reources and it slows down, but not as significantly as when run as a remote script via bridgetalk.
    I think this is caused by inner functions in my dialog, which are creating closures, which in turn are preventing garbage collection.
    Has anyone experienced this and do you have any tips to prevent the performance degradation?

    Rory,
    I've never seen that before. In PS, the script that displays the dialog executes, then the engine that ran it supposed to be destroyed. Should be no need for garbage collection. Running the script directly in ESTK still uses BridgeTalk, so I would expect little difference.
    I'd be curious to know what's happening because each time you run the script, it should be using a fresh scripting engine in PS. Perhaps there's something preventing PS from releasing the engine when BridgeTalk is involved. It that's the case, it would be a bug.
    I do have a suggestion - instead of switching to PS, why not ask PS to give you lists of fonts, styles, and actions? You could write a script that put all three into a an array:
    // up here create the arrays
    var a = new Array();
    a[0] = fontArray;
    a[1] = styleArray;
    a[2] = actionArray;
    a.toSource();
    eval'ing the message body in the onResult handler would give you all the info you needed to show your dialog in Bridge. Both Bridge and PS use scriptUI, so the dialog you have written should work in either (once you get the information necessary to display it in Bridge).

  • Firefox very slow and high cpu usage!! (all other browse slow too)

    Sorry, I asked it in 'Newbie Corner' , but still no resolved. so I asked here.
    Hi all,
            when i open a website just as www.sohu.com,   my firefox (3.0.3) hang on, then display the web page very slow , and slow scroll , firefox cpu usage nearly about 100.
            I tried some sloution,like modify /etc/enviroment to set MOD_DISABLE_PANGO=1,
    or disable 'tell me if a web site ...' in firefox security option.
    but still slow.
    some people says it's must because flash or some js.
    but when  i try it in windows or ubuntu, it very fast, not like in archlinux.
    so i think some thing wrong in archlinux.  I need your helps.
    thank you.
    p.s.
    1.  pacman is very fast (the speed of wget about 400k/s)
    2.  gnome web browser like firefox , slow and high cpu.
    3.  the list of output of 'locale'  about 11 lines.
    4.  i have already set host name like wiki says.
    5.   the system is  a new system

    http://wiki.archlinux.org/index.php/For … Bumping.27 ??

  • General Slowness and Wierd CPU Usage

    Writing on behalf of my uncle. He has a dual quad-core 2.8GHz Mac Pro with 2GBs of RAM (I verified this). And yet his system is slow and very, very crash-prone. Daily tasks such as emailing, using iWork, and Firefox or the cats pressing keys on his keyboard freeze his system.
    I called him up and had him look at Activity Monitor. Even with "All Processes" selected, the top users of his CPU come in at 2%. Meanwhile, at the bottom, the value of "% User" is fluctuating from 30 to 60. (It's not RAM usage; he had ~1.5 gigs free).
    Any ideas why this is happening or what can be done to speed up his system? Thanks.

    the value of "% User" is fluctuating from 30 to 60.
    That is actually pretty high and would say that you are hitting 3-5 cores at 100% and that there should have been a process (or group of processes at the top, viewing by cpu usage) eating up A LOT of cycles.
    I think somewhere along the line, either the original OS build itself was bad, which happens, or bad hard drive, or bad RAM even. Or installed something wacky.
    The OPs title and symptoms sure sound like MA gone wild, and sadly, the old "reinstall to cure" in such a case - people think it isn't needed or that is "... so Windows-like" and this time, take notes, exactly what steps they took and what they did that triggered the problem, maybe next time have "Missing Manual" in front and take notes and be more careful.
    But Migration Assistant wasn't involved, and there was no G4/G5 involved. But I would think someone writing a program would recognize safe vs harmful and avoid killing a system the way it can, and which I've walked people through, often grudgingly and dragging to have to "do it all over again" and a fresh install of everything (clone your system before you make changes folks!).
    For each burn project you use to need 24-40GB of free unfragmented space for best results. I guess that could double, and then you are talking very low disk space. But that was not their problem (low space).
    People thing leaving a system on overnight to run scripts. Okay, don't do it for three months and see what happens or not. Test the theory.
    My personal worst example of system meltdown (I saw a meltdown in 10.5.1 era too caused by pre-mature syncservices gone wild and the system refusing to respond, and did a fresh install finally as I installed 10.5.2, but got by using Disk Warrior which found a number of errors - errors that got there I know not how or why.
    Yesterday I was moving drives to a new case, resized some partitions, it looked okay, ran First Aid, started copying files... and the system just froze. This is a $200 FirmTek dual-drive case.
    Reboot after hitting power. Zilch. Nada. Had to power off the drives I was working on. Nada. Popped one of my 'spare' boot drives into Mac Pro and booted off that. Checked existing drives. Rebooted with the external drives and those checked out, but reformatted anyway just to be safe.
    Disk Utility changed in Leopard. Creating partitions I sometimes have to quit and relaunch Disk Utility. That the resizing/creation of partitions for me still looks like it isn't right. And that a reboot may have been needed.
    Disk Utility even said it "lost communication with a drive" and to relaunch Disk Utility. I think I saw that once back in 10.5.0 or 10.5.1 and was why I felt it was looking more like Final Candidate than ready for prime time. But I thought 10.5.4 was prime time.
    I've zeroed one drive. Have run Speedtools Integrity and Media test, and has the option to map out bad blocks automatically, but I don't think those will find anything, I just thing OS X has gremlins.
    My worst fear was the sound, lack of, when drives go silent when they are always running (and is a RAID which don't spin-down) or mechanical.
    Second fear: heat from the external drive case. Summer. Drive reported 49ºC.
    Third: the entire system stopped responding. Could not force quit and even Activity Monitor was beachballing. I had just quit OmniWeb and it wouldn't. And in the Finder it was doing a copy of disk images to backup which I do a lot, and later redid 300GB copy without issue.
    Fourth: a new ergonomic keyboard caused the system and Finder to freeze and lockup???
    Anyway, I really try to figure out why things happen. This is harder than the old mainframe that didn't have this many variables to worry about!!

  • Screen Sharing freezing and high CPU usage

    Hello all,
    I use screen sharing to remote my mac mini as a media server connected to ma HD TV to play movies, music and surf.
    Since I upgrade to mavericks on my macs (Macbook Pro Retina and my Mac Mini) I have some troubles with the screen sharing feature.
    No problems with the login step, the connexion is fast, all permissions are OK (I saw there were a bug with some RDP release) but sometimes, when I use fullscreen software as VLC, Firefox, etc (not the native apple full screen feature, I just clic on the + at the top of the window), my sreen sharing freeze and I can't do or move anything on the remoted mac mini. I'm unable to close (or reduce) the screen sharing app too, it's totaly busy (But I can see the movie or the website on the 2 computer, there is no deconnection)... I have to kill the process through the monitoring activity.
    During the freezing time, I try to use vnc light from my Iphone and I have no problem, I can move the mouse, reduce le VLC windows... As soon I reduce the VLC windows, the screen sharing works again. I also use the logitech TouchMouse to remote the mouse, everything work fine.
    Here are a screen shot of the monitoring activity of the Mac running the screen sharing app, we can see that there is a very high CPU usage when I use VLC in fullscreen on my mac mini. The first is in normal mode. The second is in freeze mode. Screen Sharing is named "Partage d'écran".
    Can someone help me to fix that, everything works fine with Mountain Lion.

    I have a Macbook Pro 13.5" 2.8 GHz 4 core (2 real, 2 hyperthreaded) i7 machine running with 1920X1200 display, 3 virtual screens and VMWare adding a few virtual screens (full sized).  I have another Macbook Pro 15" with 2.6 GHz Haswell 8 core (4 real, 4 hyperthreaded).  I see the problem using Screen Sharing on the 15 inch (Retina screen) mode simulating 1920 X 1200 pixels using Screen Sharing to the 13.5" Macbook Pro.
    When I get the ScreenSharing problem, I have identified it as related to the VMWare screen on the 13.5" Macbook Pro being shown through Screen Sharing on the Retina Screen.  Before you conclude it is a VMWare problem, the computations are only on the Screen Sharing client side, not on the server side running VMWare.  The mouse gets unusable through Screen Sharing.  If I physically move the mouse on the 13.5" Macbook, no problem.  If I switch virtual screens, the Screen Sharing goes to normal processing.
    I see an appearance of a compute-bound thread on the Screen Sharing client.  It takes 100% CPU on one thread, the machine as a whole is 12.5% busy (the performance monitor considers all 8 threads as equal when in fact, they are not).
    A few more pieces of information.  The VMWare client ends up having a lot of overlapping windows with a lot of changing graphics.  My mouse runs into problems especially when it is overlaying a changing plot (Perfmon running in Windows 7, or updating email client).  It does turn out that VMWare has a "native" VNC server built-in and I tried to connect to the virtual screen using the Screen Sharing Client on the machine with computing problem and voila!, no problem.  I end up having a Screen Sharing Client running native running screen (supposed to be VNC, but I have not verified that) sharing protocol on a virtual screen that is NOT the VMWare virtual screen and a separate session using actual VNC protocol using the VMWare VNC server.  It works perfectly fine.
    If I may hazard a guess, I think I know what the bug is, or at least, what is the nature of the problem that I have.  The rest of you may have a different bug.  When I have difficulty, it is because I am on a window that suppresses the dock, both in remote virtual screen and on the local machine showing the screen.  Two docks are suppressed, one remote, one local.  Throw in overlapping windows with changing graphics in the overlapped windows and toss in a mouse on top of that.  I think that the Screen Sharing is trying to refresh overlapping windows with mouse and going through the suppressed dock calculations and never converging on what the picture should be.  The mouse ends up being the visible cue that shows the time frame for iterating the windows - flickers with a timeframe of greater than a second.  That is far greater than the screen update time.  It is totally compute bound with all the overlapping stuff that it is deconflicting.  At least, that is what I think is going on.
    Meanwhile, the VMWare VNC server appears to send out a single graphics context and causes the Screen Sharing client to converge to a picture.  Note, the mouse appearance is very different when attaching to the VMWare VNC Server rather than the ScreenSharing native server.  I see two mouse renderings, the virtual machine remote and a mouse rendering from my Screen Sharing client side.  They are mostly in sync in position unless I move the mouse very quickly.  If I use Screen Sharing client and server instead, I usually see only one mouse, the client side's mouse rendering.
    I have a solution for my problem.  It is similar to using a different VNC server/client pairing.  I will use a VNC server for the systems giving me trouble that is not Screen Sharing Server exercising a probable bug in the Client (though, it could be a problem in the design of Screen Sharing itself).

Maybe you are looking for