Java CPU usage directly after boot

I noticed this because I was testing my clones on an external hard drive and noticed from the noise and light a continual usage directly after boot.
The only app that I "think" was running was my CrashPlan backup app.
In Activity Monitor it showed high usage by Java, ranging from 16 to over 50% of CPU.
What would cause this?
Thanks for any education on this issue.

Norm Harris wrote:
I noticed this because I was testing my clones on an external hard drive and noticed from the noise and light a continual usage directly after boot.
The only app that I "think" was running was my CrashPlan backup app.
In Activity Monitor it showed high usage by Java, ranging from 16 to over 50% of CPU.
What would cause this?
Well, CrashPlan is based on Java. Ergo...

Similar Messages

  • Measure Java CPU usage

    Hi,
    I'm not sure whether this is the right forum to post this message.
    I have a java application and basically it takes lots of CPU time and memory. What my concern right now is the CPU usage. Basically I reduced the number of CPUs from 8 to 4 (Solaris v1280 box) and the CPU usage got increased from 30% to 90% :(
    My requirement: Is there anyway that I can measure the CPU usage using Java code itself, so that I can insert those "set of APIs" (for measuring CPU usage), between APIs to collect the CPU usage data?
    Thanks,
    Siva

    The comparison would be unfair (by your definition of unfair) in Java, too, since the JVMs for both platforms are different.
    If you are dealing with time, though, 500 milliseconds is 500 milliseconds, no matter what language you write it on or what platform you run it on. If you use VC++ for the Windows stuff, make sure you disable Microsoft extensions so you have some ANSI standard code that will compile with gcc.
    Since you are trying to compare operating systems, make sure both machines are using the same processors (and motherboards with the same PCI bus architecture), too. And have the same amount of memory, which is the same speed and architecture on both. Their hard drives should be roughly the same speed, too. The PCI bus usage could vary with network cards, so having the same network cards will be a plus. What it seems to come down to is that you are going to end up measuring the performance of the socket library implementations on both machines.
    As far as JNI goes, all it is is a way to write native code and use it in your Java application. I don't know much about it, search around for some examples. There's a tutorial, somewhere, too. Some dude on here, tpritchet, seems to know a lot about it.
    Jason

  • Finder High CPU Usage 108% after 5 mins of use

    So this is my issue, something odd is happening, I am trying to see where all the work is happening or if it is a bug. No other software seams to hog any significant space, and I am using Photoshop.
    I've done a sample of the process as I hope someone can understand it and tell me where the issue is?
    Here is the inspect too
    https://dl.dropboxusercontent.com/u/82899493/screenShots/Inspect.txt
    I've tried disabling the creation of the .DS_store files that had no effect.
    also turned of the icon preview in Finder > View > Options but still nothing,
    All I can do is relaunch finder and carry on, which is not the best option.
    Many Thanks
    Matt

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac. 
    These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing. 
    Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects. 
    Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then copy it. The headings “Step 1” and so on are not part of the commands. 
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply. 
    Launch the Terminal application in any of the following ways: 
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) 
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. 
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid. 
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign. 
    Step 1 
    Triple-click the line of text below on this page to select it:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}' | open -ef 
    Copy the selected text to the Clipboard by pressing the key combination command-C. Then click anywhere in the Terminal window and paste (command-V). A TextEdit window will open with the output of the command. If the command produced no output, the window will be empty. Post the contents of the TextEdit window (not the Terminal window), if any — the text, please, not a screenshot. You can then close the TextEdit window. The title of the window doesn't matter, and you don't need to post that. No typing is involved in this step.
    Step 2 
    Repeat with this line:
    { sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|cups|isc|ntp|postf|x)/{print $3}'; echo; sudo defaults read com.apple.loginwindow LoginHook; echo; sudo crontab -l; } 2> /dev/null | open -ef 
    This time you'll be prompted for your login password, which you do have to type. Nothing will be displayed when you type it. Type it carefully and then press return. You may get a one-time warning to be careful. Heed that warning, but don't post it. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. 
    Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step. 
    Step 3
    { launchctl list | sed 1d | awk '!/0x|com\.apple|org\.(x|openbsd)/{print $3}'; echo; crontab -l 2> /dev/null; } | open -ef 
    Step 4
    ls -A /e*/{cr,la,mach}* {,/}Lib*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts .la* 2> /dev/null | open -ef  
    Important: If you formerly synchronized with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting. 
    Step 5
    osascript -e 'tell application "System Events" to get name of login items' | open -ef 
    Remember, steps 1-5 are all copy-and-paste — no typing, except your password. Also remember to post the output. 
    You can then quit Terminal.

  • Satellite R830-1GZ - CPU usage high ( 25%) and fan speed increase after wakeup

    Hello all
    The CPU usage of my laptop shoots up to 25% (and beyond) and the fan speed increases dramatically after waking up, but only when I'm using an external mouse (Microsoft Natural Wireless Laser Mouse 6000) - disconnecting the mouse once this has happened does not solve the problem, so I'm always forced to restart my computer if I have let it go to sleep with the mouse connected.
    I've noticed that when this happens System Interrupts - Deferred Procedure Calls and Interrupt Service Routines appears in the Resource monitor>CPU>Processes, and seems to explain the increase in CPU usage.
    Any ideas on how to fix this would be most appreciated.
    I'm using a Toshiba Satellite R830-1GZ with Windows 7 (64 bit). This problem does not happen when I use the same mouse with another laptop (Dell with Windows XP).
    Thank you very much.
    CM

    Thank you for your reply.
    I was using the mouse without installing the software that came with it (IntelliPoint), which seems to have been necessary to obtain the latest driver. So I've installed the latest driver now, but... I've still come across the same high CPU usage problem after wakeup.
    If your suspicion is correct, should disconnecting the mouse before putting the computer to sleep (hopefully allowing the process that controls the mouse to close properly) stop this problem from occurring when it wakes up?
    Could this problem also occur due to an external keyboard? I'm pretty sure it's the mouse (given my experience of using only the external mouse and only the external keyboard) and my understanding is that keyboards don't require special drivers (at least the A4Tech one I have claims it doesn't)... just trying to exclude all possibilities.
    Thanks again for your help.

  • IMac suddenly slow after boot-up

    Hello!
    I've had my iMac for about two years now (mid 2011 model), never formatted it, re-installed or anything.
    Since about a month, all of a sudden, I've had issues with it, being pretty slow to boot. At first it takes about 30-40 seconds for it to actually boot, which isn't horrible but yet slower than it has been. Nothing strange of course. But then when it is actually booted up, everything runs real slow. Loading up Safari can take about 2-4 minutes depending on my mood (when I'm easily annoyed it usually takes longer time). Getting the mail to sync takes ages. And well, launching just about anything takes a fair amount of time longer than it has before. This eases away with the first 10-15 minutes of usage and goes back to normal by then.
    Looking through the processes and stuff I'm usually running on about 90-98% unallocated processing power. About 9 GB free ram (out of 12 totally).
    I'm running Mac on my job as well, where we use Mac Pros which are about 5 years old, we've never re-installed them or anything, they boot pretty slow, but they doesn't have this slow "directly after boot-up"-feeling as my iMac does.
    To a friend using Windows, I'd suggest this as a non-hardware issue. Since Windows usually does that. But I've never had such sever problems on any mac.
    I'm using Lion (10.7.5) and are planning to get Maverick when it's released, but I sort of want to resolve this first. If it doesn't mean I should actually re-install and start from scratch, which means I could wait for Mavericks before bothering.
    Suggestions?

    Checked to see how much space is available ??
    Click your Apple menu  top left in your screen. From the drop down menu click About This Mac > More Info > Storage
    Make sure there's at least 15% free disk space.Click your Apple menu  top left in your screen. From the drop down menu click About This Mac > More Info > Storage
    Make sure there's at least 15% free disk space. Less can slow your Mac down.
    Checked the startup disk lately? You should do this before upgrading the system regardless.
    Launch Disk Utility located in HD > Applications > Utilities
    Select the startup disk on the left then select the First Aid tab.
    Click:  Verify Disk  (not Verify Disk Permissions)
    If the disk needs repairing, restart your Mac while holding down the Command + R keys. From there you can access the built in utilities in OS X Recovery to repair the startup disk.
    FYI:   OS X Recovery requires a high speed broadband connection.
    Backup all your important files before repairing or restoring OS X just in case.

  • High cpu usage and game lag problem

    i have a hp 15 d103 tx
    windows 8.1 64 bit
    inel i5 4200m 2.5ghz
    anti virus installed avast fee antivirus
    im using nvidia 820m geforce 344.75 version  driver
    ram installed 8gb
    im experiencing  huge amount lag in games  and software (autocad)
    whenever i run a game (for eg batman origins)    it run smooth  till 2 or 3 minutes after it lag horrribly
    for sake first im getting 45 frames per second then suddenly frame drop to 13 or even to 10
    i have to press alt + tab to check task manger it show cpu usage 30%
    after that when again i press alt tab to back to game it runs fine for 20 seconds and again lag
    i dont what the problem high cpu uasge
    system idle process sometime shows around 82%
    with 8gb of ram still expericing lag
    this problem is with  all game that i have played and software like photoshop and auto cad
    my cousin own hp 15 r007tx and having same gpu nvidia 820m  game runs for on his laptop without a lag
    is it window 8 problem or something else??

    wow finally got the solution by updating bios
    just updated the bios  from 2.7 to 2.8
    no lag now
    i guess different cpu load gpu switching on off was problem
    but now everything is running good

  • Simple Java 3D program’s CPU Usage spikes to up to 90 percent!

    Hi, everyone. I’m completely new to Java 3D and I’m toying around with basic program structure right now. My code is based off of that in the first chapter on 3D in Killer Game Programming in Java. I removed most of the scene elements, replacing them with a simple grid, Maya style. (Yes, I’m starting off small, but my ambitions are grand – I intend on creating a polygonal modeling and animation toolset. After all, the Maya PLE is dead – damn you, Autodesk! – and I just plain dislike Blender.) I implement a simple OrbitBehavior as a means for the user to navigate the scene. That part was basically copy and paste from Andrew Davison’s code. The mystery, then, is why the program’s framerate drops below 1 FPS and its CPU Usage spikes to up to 90 percent, according to the Task Manager, when I tumble the scene. I’d appreciate anyone taking the time to look at the code and trying to identify the problem area. (I’ve undoubtedly missed something totally newbish. -.-) Thank you!
    (Also, I had the worst possible time wrestling with the posting process. Is anyone else having trouble editing their posts before submitting them?)
    import java.awt.*;
    import javax.swing.*;
    public class MAFrame
        public static final Dimension SCREEN_SIZE = Toolkit.getDefaultToolkit().getScreenSize();
        public MAFrame ()
            System.out.println("Initializing...");
            try {
                UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
            catch (Exception e) {
                e.printStackTrace();
            JFrame frame = new JFrame ("Modeling and Animation");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            MAViewPanel panel = new MAViewPanel ();
            frame.getContentPane().add(panel);
            frame.pack();       
            frame.setLocation(((int)SCREEN_SIZE.getWidth() / 2) - (frame.getWidth() / 2),
                              ((int)SCREEN_SIZE.getHeight() / 2) - (frame.getHeight() / 2));     
            frame.setVisible(true);
    import com.sun.j3d.utils.behaviors.vp.*;
    import com.sun.j3d.utils.geometry.*;
    import com.sun.j3d.utils.universe.*;
    import java.awt.*;
    import javax.media.j3d.*;
    import javax.swing.*;
    import javax.vecmath.*;
    public class MAViewPanel extends JPanel
        public static final int GRID_SIZE = 12;
        public static final int GRID_SPACING = 4;
        public BoundingSphere bounds;
        public BranchGroup sceneBG;
        public SimpleUniverse su;
        public MAViewPanel ()
            GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration();
            Canvas3D canvas3D = new Canvas3D (config);               
            canvas3D.setSize(600, 600);
            add(canvas3D);
            canvas3D.setFocusable(true);
            canvas3D.requestFocus();
            su = new SimpleUniverse (canvas3D);
            createSceneGraph();
            initUserPosition();
            orbitControls(canvas3D);
            su.addBranchGraph(sceneBG);
        public void createSceneGraph ()
            sceneBG = new BranchGroup ();
            bounds = new BoundingSphere (new Point3d(0, 0, 0), 1000);
            // ambient light
            Color3f white = new Color3f (1.0f, 1.0f, 1.0f);
            AmbientLight ambientLight = new AmbientLight (white);
            ambientLight.setInfluencingBounds(bounds);
            sceneBG.addChild(ambientLight);
            // background
            Background background = new Background ();
            background.setColor(0.17f, 0.65f, 0.92f);
            background.setApplicationBounds(bounds);       
            sceneBG.addChild(background);
            // grid
            createGrid();
            sceneBG.compile();
        public void createGrid ()
            Shape3D grid = new Shape3D();
            LineArray lineArr = new LineArray (GRID_SIZE * 8 + 4, GeometryArray.COORDINATES);
            int offset = GRID_SIZE * GRID_SPACING;
            // both sides of the grid plus the middle, done for both directions at once (each line defined by two points)
            for (int count = 0, index = 0; count < GRID_SIZE * 2 + 1; count++) {
                // vertical, left to right
                lineArr.setCoordinate(index++, new Point3d (-offset + (count * GRID_SPACING), 0, offset));  // starts near
                lineArr.setCoordinate(index++, new Point3d (-offset + (count * GRID_SPACING), 0, -offset)); // ends far
                // horizontal, near to far
                lineArr.setCoordinate(index++, new Point3d (-offset, 0, offset - (count * GRID_SPACING))); // starts left
                lineArr.setCoordinate(index++, new Point3d (offset, 0, offset - (count * GRID_SPACING)));  // ends right
            grid.setGeometry(lineArr);
            sceneBG.addChild(grid);
        public void initUserPosition ()
            ViewingPlatform vp = su.getViewingPlatform();
            TransformGroup tg = vp.getViewPlatformTransform();
            Transform3D t3d = new Transform3D ();
            tg.getTransform(t3d);
            t3d.lookAt(new Point3d (0, 60, 80), new Point3d (0, 0, 0), new Vector3d(0, 1, 0));
            t3d.invert();
            tg.setTransform(t3d);
            su.getViewer().getView().setBackClipDistance(100);
        private void orbitControls (Canvas3D c)
            OrbitBehavior orbit = new OrbitBehavior (c, OrbitBehavior.REVERSE_ALL);
            orbit.setSchedulingBounds(bounds);
            ViewingPlatform vp = su.getViewingPlatform();
            vp.setViewPlatformBehavior(orbit);     
    }

    Huh. A simple call to View.setMinimumFrameCycleTime() fixed the problem. How odd that there effectively is no default maximum framerate. Of course simple programs like these, rendered as many times as possible every second, are going to consume all possible CPU usage...

  • After upgrade, high cpu usage while browsing

    not sure what happened. i performed a system upgrade, as detailed in my log:
    [2010-04-18 20:09] synchronizing package lists
    [2010-04-18 20:10] upgraded pacman (3.3.3-1 -> 3.3.3-5)
    [2010-04-18 20:10] synchronizing package lists
    [2010-04-18 20:10] starting full system upgrade
    [2010-04-18 20:16] upgraded acl (2.2.48-1 -> 2.2.49-1)
    [2010-04-18 20:16] upgraded libdrm (2.4.18-2 -> 2.4.19-2)
    [2010-04-18 20:16] upgraded libgl (7.7.1-0.1 -> 7.7.1-1)
    [2010-04-18 20:16] upgraded ati-dri (7.7.1-0.1 -> 7.7.1-1)
    [2010-04-18 20:16] upgraded bash (4.1.002-2 -> 4.1.005-1)
    [2010-04-18 20:16] upgraded openssl (0.9.8n-1 -> 1.0.0-2)
    [2010-04-18 20:16] Clearing symlinks in /etc/ssl/certs...done.
    [2010-04-18 20:16] Updating certificates in /etc/ssl/certs... 141 added, 0 removed; done.
    [2010-04-18 20:16] Running hooks in /etc/ca-certificates/update.d....done.
    [2010-04-18 20:16] upgraded ca-certificates (20090814-2 -> 20090814-3)
    [2010-04-18 20:16] upgraded curl (7.20.0-1 -> 7.20.1-1)
    [2010-04-18 20:16] upgraded db (4.8.26-1 -> 4.8.26-2)
    [2010-04-18 20:16] upgraded device-mapper (2.02.61-1 -> 2.02.62-1)
    [2010-04-18 20:16] upgraded dhcpcd (5.2.1-1 -> 5.2.2-1)
    [2010-04-18 20:16] upgraded hunspell (1.2.8-2 -> 1.2.9-1)
    [2010-04-18 20:16] upgraded enchant (1.5.0-3 -> 1.6.0-1)
    [2010-04-18 20:16] upgraded x264 (20100312-1 -> 20100410-1)
    [2010-04-18 20:16] upgraded libvorbis (1.2.3-1 -> 1.3.1-1)
    [2010-04-18 20:16] upgraded ffmpeg (22511-1 -> 22837-2)
    [2010-04-18 20:16] upgraded sqlite3 (3.6.23-1 -> 3.6.23.1-1)
    [2010-04-18 20:16] upgraded heimdal (1.3.1-3 -> 1.3.2-1)
    [2010-04-18 20:16] upgraded libcups (1.4.3-1 -> 1.4.3-2)
    [2010-04-18 20:16] upgraded gtk2 (2.20.0-1 -> 2.20.0-2)
    [2010-04-18 20:16] upgraded kbd (1.15.1-1 -> 1.15.2-1)
    [2010-04-18 20:16] warning: /usr/share/config/kdm/kdmrc installed as /usr/share/config/kdm/kdmrc.pacnew
    [2010-04-18 20:17] upgraded kdebase-workspace (4.4.2-2 -> 4.4.2-3)
    [2010-04-18 20:17] upgraded kernel26-firmware (2.6.32.10-1 -> 2.6.33.2-1)
    [2010-04-18 20:17] >>> Updating module dependencies. Please wait ...
    [2010-04-18 20:17] >>> MKINITCPIO SETUP
    [2010-04-18 20:17] >>> ----------------
    [2010-04-18 20:17] >>> If you use LVM2, Encrypted root or software RAID,
    [2010-04-18 20:17] >>> Ensure you enable support in /etc/mkinitcpio.conf .
    [2010-04-18 20:17] >>> More information about mkinitcpio setup can be found here:
    [2010-04-18 20:17] >>> http://wiki.archlinux.org/index.php/Mkinitcpio
    [2010-04-18 20:17]
    [2010-04-18 20:17] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    [2010-04-18 20:17] ==> Building image "default"
    [2010-04-18 20:17] ==> Running command: /sbin/mkinitcpio -k 2.6.33-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
    [2010-04-18 20:17] :: Begin build
    [2010-04-18 20:17] :: Parsing hook [base]
    [2010-04-18 20:17] :: Parsing hook [udev]
    [2010-04-18 20:17] :: Parsing hook [autodetect]
    [2010-04-18 20:17] :: Parsing hook [pata]
    [2010-04-18 20:17] :: Parsing hook [scsi]
    [2010-04-18 20:17] :: Parsing hook [sata]
    [2010-04-18 20:17] :: Parsing hook [filesystems]
    [2010-04-18 20:17] :: Generating module dependencies
    [2010-04-18 20:17] :: Generating image '/boot/kernel26.img'...SUCCESS
    [2010-04-18 20:17] ==> SUCCESS
    [2010-04-18 20:17] ==> Building image "fallback"
    [2010-04-18 20:17] ==> Running command: /sbin/mkinitcpio -k 2.6.33-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
    [2010-04-18 20:17] :: Begin build
    [2010-04-18 20:17] :: Parsing hook [base]
    [2010-04-18 20:17] :: Parsing hook [udev]
    [2010-04-18 20:17] :: Parsing hook [pata]
    [2010-04-18 20:17] :: Parsing hook [scsi]
    [2010-04-18 20:18] :: Parsing hook [sata]
    [2010-04-18 20:18] :: Parsing hook [filesystems]
    [2010-04-18 20:18] :: Generating module dependencies
    [2010-04-18 20:18] :: Generating image '/boot/kernel26-fallback.img'...SUCCESS
    [2010-04-18 20:18] ==> SUCCESS
    [2010-04-18 20:18] upgraded kernel26 (2.6.32.10-1 -> 2.6.33.2-1)
    [2010-04-18 20:18] upgraded kile (2.1b3-2 -> 2.1b4-1)
    [2010-04-18 20:18] upgraded libarchive (2.8.3-1 -> 2.8.3-3)
    [2010-04-18 20:18] upgraded libfetch (2.30-1 -> 2.30-3)
    [2010-04-18 20:18] upgraded libldap (2.4.21-1 -> 2.4.21-2)
    [2010-04-18 20:18] upgraded libpcap (1.0.0-1 -> 1.1.1-1)
    [2010-04-18 20:18] upgraded libssh (0.4.1-1 -> 0.4.1-3)
    [2010-04-18 20:18] upgraded libzip (0.9-1 -> 0.9.3-1)
    [2010-04-18 20:18] upgraded lvm2 (2.02.61-1 -> 2.02.62-1)
    [2010-04-18 20:18] upgraded mdadm (3.1.1-2 -> 3.1.2-2)
    [2010-04-18 20:18] upgraded mesa (7.7.1-0.1 -> 7.7.1-1)
    [2010-04-18 20:18] upgraded mkinitcpio-busybox (1.15.3-5 -> 1.16.1-1)
    [2010-04-18 20:18] upgraded ntfs-3g (2010.1.16-1 -> 2010.3.6-1)
    [2010-04-18 20:18] installed pm-quirks (0.20100316-1)
    [2010-04-18 20:18] upgraded pm-utils (1.2.6.1-4 -> 1.3.0-2)
    [2010-04-18 20:18] upgraded postgresql-libs (8.4.3-1 -> 8.4.3-2)
    [2010-04-18 20:18] upgraded qca-ossl (2.0.0-2 -> 2.0.0-3)
    [2010-04-18 20:18] upgraded psi (0.14-2 -> 0.14-3)
    [2010-04-18 20:18] upgraded python (2.6.5-2 -> 2.6.5-3)
    [2010-04-18 20:18] upgraded qt (4.6.2-2 -> 4.6.2-3)
    [2010-04-18 20:18] upgraded qtcurve-kde4 (1.2.0-1 -> 1.3.1-1)
    [2010-04-18 20:18] upgraded smbclient (3.5.1-1 -> 3.5.2-1)
    [2010-04-18 20:19] upgraded virtuoso (6.1.0-1 -> 6.1.1-1)
    [2010-04-18 20:19] upgraded soprano (2.4.1-1 -> 2.4.2-1)
    [2010-04-18 20:19] upgraded sudo (1.7.2p5-1 -> 1.7.2p6-1)
    [2010-04-18 20:19] upgraded syslog-ng (3.0.4-3 -> 3.1.0-1)
    [2010-04-18 20:19] upgraded taglib (1.6.1-1 -> 1.6.2-1)
    [2010-04-18 20:19] upgraded texlive-bin (2009.5-2 -> 2009.5-3)
    [2010-04-18 20:19] upgraded tzdata (2010g-1 -> 2010h-1)
    [2010-04-18 20:19] upgraded util-linux-ng (2.17.1-1 -> 2.17.2-1)
    [2010-04-18 20:19] upgraded wget (1.12-1 -> 1.12-2)
    [2010-04-18 20:19] upgraded wpa_supplicant (0.6.10-1 -> 0.6.10-2)
    [2010-04-18 20:19] upgraded xf86-video-ati (6.12.4-3 -> 6.12.192-1)
    [2010-04-18 20:19] upgraded xf86-video-vesa (2.2.1-1 -> 2.3.0-1)
    [2010-04-18 20:19] upgraded xorg-server (1.7.5.902-1 -> 1.7.6-3)
    but now, when i use rekonq (also tested arora; same issue), cpu usage for the browser shoots up to nearly 50% and stays there. also, pages don't load unless i move my mouse around. flash is worse as well.
    (note: after my upgrade, i got a black screen on booting up. i had to use the 'nomodeset' option to disable kms. this probably isn't related, but i thought it might be worth mentioning.)
    any ideas?
    Last edited by anti-destin (2010-04-19 16:58:41)

    you're right. i forgot that i made some changes to my igoogle page. the chat function is the culprit. adding it causes the spike. i've reported the problem. thanks for the help!

  • Cpu usage in java program

    i have writen a java program and run on unix, the program will create a connection object which connects to a db, and create a scoket to communicate with another machine.
    However, when i use the "top" command in unix and check cpu usage, it used about 35% at the begining, and after few seconds, it drops around 7-8%. May I ask if this is normal? any tips on writing java program which can save more system resources?
    please advice. Thanks

    Hello friend ,
    I am Narayanan from PSNA ENGG College, Dindigul , TN ... I try to find CPU Usage in java and get success.... I am also try form same VC++ file... Try this following steps
    if u wont get mail me::: [email protected]
    Bye
    Steps:
    1. Create java file with name CPUUti.java
              class CPUUti {
              public native void displayCPUUsage();
              static {
              System.loadLibrary("hello");
              public static void main(String[] args) {
              new CPUUti().displayCPUUsage();
    2.compile the program
                   javac CPUUti.java
                   Result: Get Class file
    3.Create header file
                   javah CPUUti
                   Result: Header file CPUUti.h is created
    4.Open the VC++ with Design wizard
              choose Win32 Dynamic Link Libarary
              Give Projectname, location
    5.copy the source file and Header files which you want
    Source files:
                   CpuUsage.cpp
                   Main.cpp
                   StdAfx.cpp
    Header Files:
                   CpuUsage.h
                   PerfCounters.h
                   StdAfx.h
    6. include the Header file CPUUti.h in header file
    7. create new C++ source file getCPU.cpp in the same project
    8.include getCPU.cpp file to the Sourcefile list in the same project
    9.copy this code in to getCPU.cpp
                   #include "CpuUsage.h"
                   #include "CPUUti.h"
                   #include "PerfCounters.h"
                   #include "StdAfx.h"
                   JNIEXPORT jint JNICALL Java_CPUUti_Display
                   (JNIEnv * s, jobject s1)
                        CCpuUsage usageA;
                        CCpuUsage usageB;
                        while (true)
                             // Display the system-wide cpu usage and the "Explorer" cpu usage
                             int SystemWideCpuUsage = usageA.GetCpuUsage();
                             int ProcessCpuUsage = usageB.GetCpuUsage("explorer");
                             printf("System-wide Cpu Usage: %3d%%, Explorer cpu usage: %3d%%\r",SystemWideCpuUsage, ProcessCpuUsage);
                             Sleep(1000);
                        return 0;
    10. copy the headerfiles which is present in the jdk\include and jdk\include\win 32
    paste to the VC++\include\
    11.Build the VC++ file.
    12.DLL file is created inside the Debug\ folder
    13.copy that DLL file and paste it to the java source file location
    Run the java file and enjoy...................

  • Excesive CPU usage - java process OBI related

    Hola a todos,
    We have installed OBIEE 11.1.1.5 in a virtual machine (a clean one, just DB and OBI) and since a few weeks we've noticed perfomance issues. There is a java.exe process running with 30 - 50% CPU usage and if we stop it, OBIEE stops working as well, so we think it may be related, but we dont have any further clues.
    Has anybody dealt with something liket his before or does anyone know if there's a log where we could check this?
    Thanks in advance.

    Tuning
    Whether its a 64 bit or 32 bit of SUN or Jrocket ,
    Please increase the heap size parameters to Xms & Xmx to atleast2048 (min and max to atleast) 2GB
    Below were the comments from Oracle Support
    Best Practices Guide for Tuning Oracle® Business Intelligence Enterprise Edition
    In JRockit JVM (R28), the heap grows faster than before. The JVM also ensures that the heap size grows up to the maximum Java heap size (-Xmx) before an OutOfMemory error is thrown. In addition, the default value of the -Xmx option is changed from 1 GB to 3 GB on 64-bit OS. Note the JRockit JVM auto shrinks the heap if it is unused or if other applications require more physical memory.
    Note: It is recommended to use the default garbage collection mode i.e. -Xgc:throughput. Also
    large heap reduces the garbage collection frequency and fragmentation, improving the throughput
    of the application; however, a large heap increases the memory footprint of the Java process.
    *Warning: Make sure you have enough physical memory allocated / available on 64bit servers and then use the above settings as a starting point, and after load testing, adjust as needed. For a stable / an even performance over time, you should set the initial heap size (- Xms) to the same value as the maximum heap size (-Xmx).
    Common JRockit JVM issues seen with BI (i.e. bi_server1) managed
    servers:
    Startup Times Take Longer When Using JRockit JVM Versus Sun JVM: The Oracle® JRockit JVM is by default optimized for server use, which means that the startup times can be longer in favor of high performance as soon as the application is up and running. Moreover, as the application runs, the JRockit JVM optimizes frequently called methods, improving the performance further.
    When you run the JRockit JVM on a 64-bit system with a heap size less than 4 GB, if native OutOfMemory errors occurs despite memory being available only then add the parameter -XXcompressedRefs:size=32GB in JVM startup options to enable heap to grow up to 32 GB heap (practical limit of 25 GB). This will fix the issue native OutOfMemory errors. Moreover heap size still be restricted till the limits defined using -Xmx only benefit would be your heap will get the capability to grow beyond 4 GB up to 25 GB due to increase in size of pointer to
    32 bit address.
    On Oracle Solaris SPARC, due to the way classblock memory is reserved,Oracle® JRockit (R28) might occasionally run out of memory when a large number of classes are loaded (in the order of 100000).Workaround: The default value of -XX:MaxClassBlockMemory=50 MB, and a reasonable value is around 75 MB.
    By design Oracle® JRockit will often use more memory than Sun JVM because JRockit compiles everything and is optimized for being a server-side JVM. So if
    your customer have limited resources (i.e. CPU, memory) then it is recommended to experiment with switching to the Sun JVM which should save some system resources, but customer really should consider to do a performance tuning and sizing exercise, and determine if they have sufficient memory / CPU’s to support their requirements.
    It is important to keep Oracle® JRockit R28.1.x up to date with latest fix release because the latest release provide fixes for security vulnerabilities, performance,
    and other improvements of the Oracle® JRockit R28.1.x
    Tuning 64bit Sun JVM
    suggested
    Minimum heap -Xms2048m Maximum heap -Xmx2048m
    Minimum permanent generation heap -XX:PermSize=512m Maximum permanent generation heap -XX:MaxPermSize=512m
    I'm not sure from where I've copied but save the same in text file.
    This may help you.
    Or check this (since you pointed to java.exe) http://docs.oracle.com/cd/E18930_01/html/821-2431/abeic.html
    Edited by: veeravalli on Oct 25, 2012 7:38 AM

  • High CPU usage while running a java program

    Hi All,
    Need some input regarding one issue I am facing.
    I have written a simple JAVA program that lists down all the files and directories under one root directory and then copies/replicates them to another location. I am using java.nio package for copying the files. When I am running the program, everything is working fine. But the process is eating up all the memories and the CPU usage is reaching upto 95-100%. So the whole system is getting slowed down.
    Is there any way I can control the CPU usage? I want this program to run silently without affecting the system or its performance.

    Hi,
    Below is the code snippets I am using,
    For listing down files/directories:
            static void Process(File aFile, File aFile2) {
              spc_count++;
              String spcs = "";
              for (int i = 0; i < spc_count; i++)
              spcs += "-";
              if(aFile.isFile()) {
                   System.out.println(spcs + "[FILE] " + aFile2.toURI().relativize(aFile.toURI()).getPath());
                   String newFile = dest + aFile2.toURI().relativize(aFile.toURI()).getPath();
                   File nf = new File(newFile);
                   try {
                        FileCopy.copyFile(aFile ,nf);
                   } catch (IOException ex) {
                        Logger.getLogger(ContentList.class.getName()).log(Level.SEVERE, null, ex);
              } else if (aFile.isDirectory()) {
                   //System.out.println(spcs + "[DIR] " + aFile2.toURI().relativize(aFile.toURI()).getPath());
                   String newDir = dest + aFile2.toURI().relativize(aFile.toURI()).getPath();
                   File nd = new File(newDir);
                   nd.mkdir();
                   File[] listOfFiles = aFile.listFiles();
                   if(listOfFiles!=null) {
                        for (int i = 0; i < listOfFiles.length; i++)
                             Process(listOfFiles, aFile2);
                   } else {
                        System.out.println(spcs + " [ACCESS DENIED]");
              spc_count--;
    for copying files/directories:public static void copyFile(File in, File out)
    throws IOException {
    FileChannel inChannel = new
    FileInputStream(in).getChannel();
    FileChannel outChannel = new
    FileOutputStream(out).getChannel();
    try {
    inChannel.transferTo(0, inChannel.size(),
    outChannel);
    catch (IOException e) {
    throw e;
    finally {
    if (inChannel != null) inChannel.close();
    if (outChannel != null) outChannel.close();
    Please let me know if any better approach is there. But as I already said, currently it's eating up the whole memory.
    Thanks in advance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Config Manager Agent - after Hardware Inventory High CPU Usage with WMIPRSVE and very fast empty Battery

    Hi there,
    since a few days there is on some machines (40-60) a high cpu usage on one core (quad core cpu machines) with the WMIPRSVE.EXE if the HARDWARE INVENTORY CYCLE started.
    i try out some tests, read some forum articles and troubleshooting the WMI management but a real problem i doesn´t see.
    in some articles i read that hardware inventory runs about minutes up to more hours but some machines runs longer, someone more as 1 day.
    here an example of mine PC:
    at 8:07 i started Hardware Inventory Cycle, in the InventoryAgent.log i can see that some Collection Namespace are captured.
    after a few minutes there stopped and does nothing round about 5.9 hours or better, after 21436.097 Seconds.
    For any hints i am grateful. :)
    Inventory: *********************** Start of message processing. ***********************
    InventoryAgent 18.03.2015 08:09:56
    11088 (0x2B50)
    Inventory: Message type is InventoryAction InventoryAgent
    18.03.2015 08:09:56 11088 (0x2B50)
    Inventory: Temp directory = C:\WINDOWS\CCM\Inventory\Temp\
    InventoryAgent 18.03.2015 08:09:56
    11088 (0x2B50)
    Inventory: Clearing old collected files. InventoryAgent
    18.03.2015 08:09:56 11088 (0x2B50)
    Inventory: Opening store for action {00000000-0000-0000-0000-000000000001} ...
    InventoryAgent 18.03.2015 08:09:56
    11088 (0x2B50)
    CInvState::VerifyInventoryVersionNumber: Mismatch found for '{00000000-0000-0000-0000-000000000001}': 4.2 vs. 0.0
    InventoryAgent 18.03.2015 08:09:56
    11088 (0x2B50)
    Inventory: Version number mismatch; will do a Full report.
    InventoryAgent 18.03.2015 08:09:56
    11088 (0x2B50)
    Inventory: Action=Hardware, ReportType=ReSync, MajorVersion=5, MinorVersion=0
    InventoryAgent 18.03.2015 08:09:56
    11088 (0x2B50)
    Inventory: Initialization completed in 0.141 seconds
    InventoryAgent 18.03.2015 08:09:56
    11088 (0x2B50)
    Collection: Namespace = \\localhost\root\Microsoft\appvirt\client; Query = SELECT __CLASS, __PATH, __RELPATH, CachedLaunchSize, CachedPercentage, CachedSize, LaunchSize, Name, PackageGUID, TotalSize, Version, VersionGUID FROM Package; Timeout = 600 secs.
    InventoryAgent 18.03.2015 08:09:56
    7836 (0x1E9C)
    Failed to get IWbemService Ptr for \\localhost\root\vm\VirtualServer Namespace: 8004100E
    InventoryAgent 18.03.2015 08:10:02
    7836 (0x1E9C)
    Failed to enumerate instances of VirtualMachine: 8004100E
    InventoryAgent 18.03.2015 08:10:02
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, AddressWidth, BrandID, CPUHash, CPUKey, DataWidth, DeviceID, Family, Is64Bit, IsHyperthreadCapable, IsMobile, IsTrustedExecutionCapable, IsVitualizationCapable, Manufacturer,
    MaxClockSpeed, Name, NormSpeed, NumberOfCores, NumberOfLogicalProcessors, PCache, ProcessorId, ProcessorType, Revision, SocketDesignation, Status, SystemName, Version FROM SMS_Processor; Timeout = 600 secs.
    InventoryAgent 18.03.2015 08:10:02
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\CCM\powermanagementagent; Query = SELECT __CLASS, __PATH, __RELPATH, Requester, RequesterInfo, RequesterType, RequestType, Time, UnknownRequester FROM CCM_PwrMgmtLastSuspendError; Timeout = 600 secs.
    InventoryAgent 18.03.2015 08:10:03
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, Availability, Description, DeviceID, Manufacturer, Name, Status FROM Win32_IDEController; Timeout = 600 secs.
    InventoryAgent 18.03.2015 08:10:03
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, BinFileVersion, BinProductVersion, Description, ExecutableName, FilePropertiesHash, FilePropertiesHashEx, FileSize, FileVersion, HasPatchAdded, InstalledFilePath, IsSystemFile,
    IsVitalFile, Language, Product, ProductCode, ProductVersion, Publisher FROM SMS_InstalledExecutable; Timeout = 600 secs.
    InventoryAgent 18.03.2015 08:10:03
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, DefaultIPGateway, DHCPEnabled, DHCPServer, DNSDomain, DNSHostName, Index, IPAddress, IPEnabled, IPSubnet, MACAddress, ServiceName FROM Win32_NetworkAdapterConfiguration; Timeout
    = 600 secs. InventoryAgent
    18.03.2015 14:06:43 7836 (0x1E9C)
    Collection: Namespace = \\.\root\Nap; Query = SELECT __CLASS, __PATH, __RELPATH, description, fixupState, friendlyName, id, infoClsid, isBound, percentage, registrationDate, vendorName, version FROM NAP_SystemHealthAgent; Timeout = 600 secs.
    InventoryAgent 18.03.2015 14:06:43
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, AdditionalProductCodes, CompanyName, ExplorerFileName, FileDescription, FilePropertiesHash, FileSize, FileVersion, FolderPath, LastUsedTime, LastUserName, msiDisplayName,
    msiPublisher, msiVersion, OriginalFileName, ProductCode, ProductLanguage, ProductName, ProductVersion, SoftwarePropertiesHash FROM CCM_RecentlyUsedApps; Timeout = 600 secs.
    InventoryAgent 18.03.2015 14:06:43
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, BankLabel, Capacity, Caption, CreationClassName, DataWidth, Description, DeviceLocator, FormFactor, HotSwappable, InstallDate, InterleaveDataDepth, InterleavePosition, Manufacturer,
    MemoryType, Model, Name, OtherIdentifyingInfo, PartNumber, PositionInRow, PoweredOn, Removable, Replaceable, SerialNumber, SKU, Speed, Status, Tag, TotalWidth, TypeDetail, Version FROM Win32_PhysicalMemory; Timeout = 600 secs.
    InventoryAgent 18.03.2015 14:07:02
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, Availability, Description, DeviceID, InstallDate, Manufacturer, Name, PNPDeviceID, ProductName, Status FROM Win32_SoundDevice; Timeout = 600 secs.
    InventoryAgent 18.03.2015 14:07:02
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, Caption, ClassGuid, ConfigManagerErrorCode, ConfigManagerUserConfig, CreationClassName, Description, DeviceID, Manufacturer, Name, PNPDeviceID, Service, Status, SystemCreationClassName,
    SystemName FROM Win32_USBDevice; Timeout = 600 secs.
    InventoryAgent 18.03.2015 14:07:12
    7836 (0x1E9C)
    Collection: 62/74 inventory data items successfully inventoried.
    InventoryAgent 18.03.2015 14:07:12
    7836 (0x1E9C)
    Inventory: Collection Task completed in 21436.097 seconds
    InventoryAgent 18.03.2015 14:07:12
    7836 (0x1E9C)
    Inventory: 12 Collection Task(s) failed. InventoryAgent
    18.03.2015 14:07:12 7836 (0x1E9C)
    Inventory: Temp report = C:\WINDOWS\CCM\Inventory\Temp\25bf01b2-12fc-4eea-8e97-a51b3c75ba50.xml
    InventoryAgent 18.03.2015 14:07:12
    7836 (0x1E9C)
    Inventory: Starting reporting task. InventoryAgent
    18.03.2015 14:07:12 7552 (0x1D80)
    Reporting: 4381 report entries created. InventoryAgent
    18.03.2015 14:07:13 7552 (0x1D80)
    Inventory: Reporting Task completed in 1.030 seconds
    InventoryAgent 18.03.2015 14:07:13
    7552 (0x1D80)
    Inventory: Successfully sent report. Destination:mp:MP_HinvEndpoint, ID: {5541A94A-BED9-4132-AE54-110CB6896F02}, Timeout: 80640 minutes MsgMode: Signed, Not Encrypted
    InventoryAgent 18.03.2015 14:07:13
    7552 (0x1D80)
    Inventory: Cycle completed in 21453.570 seconds
    InventoryAgent 18.03.2015 14:07:30
    7552 (0x1D80)
    Inventory: Action completed. InventoryAgent
    18.03.2015 14:07:30 7552 (0x1D80)
    Inventory: ************************ End of message processing. ************************
    InventoryAgent 18.03.2015 14:07:30
    7552 (0x1D80)
    Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, Caption, ClassGuid, ConfigManagerErrorCode, ConfigManagerUserConfig, CreationClassName, Description, DeviceID, Manufacturer, Name, PNPDeviceID, Service, Status, SystemCreationClassName,
    SystemName FROM Win32_USBDevice; Timeout = 600 secs.
    InventoryAgent 18.03.2015 14:07:12
    7836 (0x1E9C)
    Collection: 62/74 inventory data items successfully inventoried.
    InventoryAgent 18.03.2015 14:07:12
    7836 (0x1E9C)
    Inventory: Collection Task completed in 21436.097 seconds
    InventoryAgent 18.03.2015 14:07:12
    7836 (0x1E9C)
    Inventory: 12 Collection Task(s) failed. InventoryAgent
    18.03.2015 14:07:12 7836 (0x1E9C)
    Inventory: Temp report = C:\WINDOWS\CCM\Inventory\Temp\25bf01b2-12fc-4eea-8e97-a51b3c75ba50.xml
    InventoryAgent 18.03.2015 14:07:12
    7836 (0x1E9C)
    Inventory: Starting reporting task. InventoryAgent
    18.03.2015 14:07:12 7552 (0x1D80)
    Reporting: 4381 report entries created. InventoryAgent
    18.03.2015 14:07:13 7552 (0x1D80)
    Inventory: Reporting Task completed in 1.030 seconds
    InventoryAgent 18.03.2015 14:07:13
    7552 (0x1D80)
    Inventory: Successfully sent report. Destination:mp:MP_HinvEndpoint, ID: {5541A94A-BED9-4132-AE54-110CB6896F02}, Timeout: 80640 minutes MsgMode: Signed, Not Encrypted
    InventoryAgent 18.03.2015 14:07:13
    7552 (0x1D80)
    Inventory: Cycle completed in 21453.570 seconds
    InventoryAgent 18.03.2015 14:07:30
    7552 (0x1D80)
    Inventory: Action completed. InventoryAgent
    18.03.2015 14:07:30 7552 (0x1D80)
    Inventory: ************************ End of message processing. ************************
    InventoryAgent 18.03.2015 14:07:30
    7552 (0x1D80)

    InventoryAgent 18.03.2015 08:10:03
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, DefaultIPGateway, DHCPEnabled, DHCPServer, DNSDomain, DNSHostName, Index, IPAddress, IPEnabled, IPSubnet, MACAddress, ServiceName FROM Win32_NetworkAdapterConfiguration; Timeout
    = 600 secs. InventoryAgent
    18.03.2015 14:06:43 7836 (0x1E9C)
    Collection: Namespace = \\.\root\Nap; Query = SELECT __CLASS, __PATH, __RELPATH, description, fixupState, friendlyName, id, infoClsid, isBound, percentage, registrationDate, vendorName, version FROM NAP_SystemHealthAgent; Timeout = 600 secs.
    InventoryAgent 18.03.2015 14:06:43
    7836 (0x1E9C)
    Looks like something in one or both of those wmi queries.  it goes from 8:10:03 to 14:06:43 right around there.  6 hours to do that... 
    try running those queries from wbemtest manually; and see which one just never finishes.
    Standardize. Simplify. Automate.

  • After updating to latest Firefox - when I click on google taskbar my CPU usage goes to 100% and stays there... and computer is really slow. No other search engine show the 100% usage like Google. There was NOT a problem with older versions of Firefox...?

    My computer got really slow after updating to latest version of Firefox. I checked all processes and I was testing the system. THe CPU usage goes between 2 and 70 percent staying around 25% on average, when I check my e-mail. As soon as I click on Google taskbar (without even typing in anything) the CPU usage jumps to 100% and STAYS at 100 %, and computer extremely slow.

    My computer got really slow after updating to latest version of Firefox. I checked all processes and I was testing the system. THe CPU usage goes between 2 and 70 percent staying around 25% on average, when I check my e-mail. As soon as I click on Google taskbar (without even typing in anything) the CPU usage jumps to 100% and STAYS at 100 %, and computer extremely slow.

  • High cpu usage after a while

    Sometimes, after a while, firefox (36.0.4) uses up 1 core of my CPU (is a quad core due to hypertreading). The way it happens is really strange. Many tabs without a problem until suddenly ff decides to floor it. This is alway in the run, not on startup or close. All add-ons need to ask my permissions to be activated, this includes flash.
    On close, I ordered ff to clear all history and cookies.
    Notes that could be important (The behavior encountered while using it. This varies from time to time):
    opening new tabs (a lot or a few) => "heavy" load during site loading, then idling
    ==> The above makes sense
    - same as above but load continues to be heavy. => could be some badly written javascript on the site, however, sometimes this occurs with sites I know have no stressful javascript
    ==> The above seems odd
    - Browser is idle in the background (not actively using it). Then all of the sudden "lets floor it until closed".
    ==> The above seems pretty odd
    - When confronted with high CPU usage, closing ff doesn't close it (the ff process remains active. Not a ff process, THE ff process). => High CPU usage remains
    ==> The above looks like that there is definitely something wrong here
    This last one has some other things to keep in mind
    - When it happens and I close ff, upon restarting it it will ALWAYS ask to close ff. After confirming to close it, it will start and behave normally.
    - When killing ff via the task-manager, or other means like powershell commands, restarting it will result in an idle ff even after every tab is loaded again.
    I hope this isn't a heisenbug and there is a solution to this, a reboot ff button would be a nice workaround though. I personally think that it must be some routine in the code that decides to go nuts for no reason.
    If you need further details, feel free to ask.
    Thanks in advance

    Tried those before and tried them again. Unfortunately, the problem keeps repeating itself at random times. As said, sometimes it doesn't occur and sometimes suddenly it does. Keep the following things in mind about this, what seems like a heisenbug, behavior.
    - opening new tabs (a lot or a few) => "heavy" load during site loading, then idling
    ==> The above makes sense
    - same as above but load continues to be heavy. => could be some badly written javascript on the site, however, sometimes this occurs with sites I know have no stressful javascript
    ==> The above seems odd
    - Browser is idle in the background (not actively using it). Then all of the sudden "lets floor it until closed".
    ==> The above seems pretty odd
    - When confronted with high CPU usage, closing ff doesn't close it (the ff process remains active. Not a ff process, THE ff process). => High CPU usage remains
    ==> The above looks like that there is definitely something wrong here
    As stated, a reboot ff button would be a nice workaround. I personally think that something like a tread must get stuck in some sort of infinite loop. Browsing in ff works just fine though. I just don't like the fact that I turns into a "gasoline guzzler".
    Again, thanks in advance

  • High CPU usage after closing a program.

    Okay, this is annoying. Doesn't happen on all programs, but too many.
    When I close an application, in normal way, alt+f4/press x/file->quit the program quits, BUT, "ghost" application starts, which raises to 100% CPU usage. Then I have to close it via sigterm/sigkill. This has happened (atleast) with mplayer, nvidia-settings (which doesn't even start, but cpu usage raises to 100% anyway, and ghost application starts) and WoW thru Wine. Now, I have absolutely no idea what is going on, and I've found nothing on google.
    I think it became after I upgraded to 2.6.29 kernel, it's 2.6.30 now and still the same.
    A little help please

    The nvidia-settings starts, as it shows on system monitor (htop, etc) but I am not getting the window, and cpu usage raises to 100% instantly. Terminal output:
    dfizzle@ohai ~$ nvidia-settings
    The valid values for 'XVideoTextureContrast' are in the range -1000 - 1000
    (inclusive).
    'XVideoTextureContrast' can use the following target types: X Screen.
    The valid values for 'XVideoTextureSaturation' are in the range -1000 -
    1000 (inclusive).
    'XVideoTextureSaturation' can use the following target types: X Screen.

Maybe you are looking for

  • Signatures at multiple positions in the PDF

    Signatures at multiple positions in the PDF. This is mainly a Verification & Validation document, where signatures will be applied for each Test case present in the document(4 to 5 signatures in a single page). We have observed that applying a signat

  • [SOLVED!] Conky won't run undecorated, please assist.

    Greetings, As suggested in my other thread, I have been working on customizing a conky script that simply shows the time, date, calendar, current weather, and forecast, and I have completed it. However I have ran into a problem. Up until I basically

  • How to set todays date in message date input field in uix

    Hello everybody, Im using jdeveloper 9015+adf+uix I am having an input form and in that i want to set the date input field with the current date(default value). Does anybody of you know how I should do this. Any help is appreciated, Thanks in advance

  • Problems with event KeyPressed?

    Hi, I want to know when a user is typing, some text, but the keyPressed event is only used, in canvas, and i m not using, canvas, i m only using simple GUI controls... is there any way to know when a user is typing text, or to know when there is noth

  • Flash templates for iweb

    are there any templates where we can insert flash into an existing iweb site?