Debian :: 'top' Shows That Programs Are Not Using High CPU
Feb 8, 2011
my server normally has low load of 0.80 now it is 4.0 'top' shows that programs are not using high cpu, but %wa is very high (80-90%). it has been like this for hours now.how can i find out which program has caused this?
I have recently upgraded from Kubuntu 9.10 to 10.04. I am having trouble with CPU usage by the X server. When running KDE programs (for example Kontact and Amarok) my computer is becoming very sluggish. This seems to be because X is using 90-100% of the CPU constantly when there are any changes to the application (any sort of redraw, even the mouse moving across the screen). I don't experience this with other applications (I am currently writing this from Chromium with no issues at all). Below is all the relevant information I can think to include.
INSTALL PROCESS: Fresh install from Ubuntu 10.04 LiveCD. My /home direrctory is on a separate partition so that has remained unchanged from 9.10. After installing Ubuntu, I installed the kubuntu-desktop package to install kdm and the KDE desktop.
The only real change from my last install is that /var is now also a separate partition (in a bid to save my MySQL data should I have to reinstall again) but it is on the same hard drive as my root partition and so shouldn't be causing any performance issues.
MY X SETUP: Three screen setup using onboard and PCI graphics cards. This worked perfectly before and, after reconfiguring X using nvidia-xconfig works almost as well again. Except that one of my monitors autodetects at 1280x1024 where before it was a higher (and widescreen) resolution.
The issue only presents itself when KDE application screens are visible and disappears when they are hidden (either minimised or closed) As far as Ican tell it could be an X, Qt or KDE issue. But I am not sure what versions of these will have been changed in the upgrade.
I'm a Linux noob. I'm using Karmic on a laptop with 1.5GB RAM and same as swap partition. Generally I'm happy with the mem usage. I have MySQL, SVN, Apache/PHP/xdebug, firefox w/ dev addons, Eclipse PDT and, of course, my music :) running at the same time, generally ok. I have the System Monitor's mem display on the top bar (dunno proper name) and can watch usage increase. Also the swap file's often only 100 - 300 megs.
However... from time to time I notice that as the programs' mem use gets close to 100% in the little sys monitor display the HD thrashes for 5 - 10 mins, after which some progs have silently crashed. AFAIR it always involves Eclipse (so maybe I should post on their boards), but not only. This last time I lost VLC and therefore my music. Obviously losing your music's far more important than losing some coding, so that's why I'm trying to resolve it now:)
I'm running Munin on my system (tho not because of this issue) and took a look at mem usage immediately before it happened. Here's the pic - you can see the sudden drop as the two progs (only AFAIK) closed on the very right side of the image. I'm not a guru here and am not sure if there's much to infer. I know some recommend 2xRAM for swap, but max committed was only 2.29 compared to potential 3, so that shouldn't be a problem? In fact the swap file never got large at all AFAICT. (Btw swappiness = default = 60.)
When I first installed ubuntu, there was a bar at the bottom of the screen that showed all the programs that were open, at least I think there was. Now it is gone. How do I add it?
I have a debian system with the following version you can se bellow. My problem is that one one single core of 4 it's running 100% all the time and i cant seem to find out why. The load is also high(load average: 0.91, 0.75, 0.40) because of this. This keeps happening even after reboots. The system if freshly installed twice and the same problem occours as soon as it boots. Something called kworker is running and causing the load / CPU load, is that normal for a fresh install??
root@Cyberdyne:/# lsb_release -da No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 8.2 (jessie) Release: 8.2 Codename: jessie
I've installed my debian sid about one month ago (first xfce, next gnome) but noticed that it's kind of really slow. The upgrades take ages, launching (and using) firefox takes so much time,... In comparaison to my ubuntu, archlinux (on the same computer) or previous installation of debian there is clearly a problem somewhere.Today I tried to do a "top" sorted by mem usage : 3.5% xulrunner-stub, 2.1% dropbox, 1.4% aptitude (doing upgrade), 1.4% clementine,... nothing terriblebut still I've 2.7Gb or RAM used (more than 50%)
$ free -m total used free shared buffers cached Mem: 3967 26851282 0 79 1938
I try to open an application, and it's painfully slow, and i think "this is weird i've had it open just 10 seconds ago and it should be in the cache". the disk is constantly working, so maybe i ran out of ram and it's swapping, so i check: according to 'free -m', about 200m of 2g ram is used (without buffers/cache), but still also 200m of swap is used, although swappiness is set to 1 (low tendency to swap). so this is not normal.also, kswapd0 is eating pretty much cpu (but not 100%). switching to tty1, logging in, and starting iotop takes about a minute. according to iotop, about 8 random processes (could be a browser, could be some daemon) have 99% IO activity (i'm not sure what that means, how can 8 processes take 99% each?).after the first 3 times, i disabled swap by adding swapoff -a to rc.local, but it's still the same, and kswapd is still among the cpu-eaters.
Some searches seemed to indicate that it's been awhile since there's been a build thread, so I thought I'd start one. I'm looking to replace a six-year old machine (Athlon XP 3200+ processor (introduced in 2003), integrated graphics with no dedicated graphics card). I'm rocking Windows XP Home Edition (32 bit).
I'm not a "computer hobbyist," far from it. I use my machine mainly for browsing, word processing, and business (QuickBooks and Turbo Tax). It is a tool. I don't really enjoy fiddling around with computers. My current machine is now barely able to support a good research session on the 'Net anymore, the little processor seemingly gagging on the heavy flash content you see everywhere nowadays, the 2GB (the most she'll take) of RAM easily filled.
I'm planning some rough travel international motorcycle trips (see my motorcycle build thread here (don't worry about registering on this motorcycle forum.....they are good folks and I've never gotten any spam from them) and purchased, a while back, an Asus eee PC 901 with the OEM Xandros (a bastardized offshoot of Etch) loaded to use with those trips. From learning that OS, I saw for myself the benefits of Linux (vs. Windows). Of all the distros, Debian is the most attractive to me (even though I'm currently rocking Puppeee (new version) on the 901.....it makes that little machine zoooooom!) as I really like the package management system, the logic, and the stability. I also like the feeling of personal responsibility that comes with Debian.
So, back to the build. I'm currently planning on it being a pure Debian machine. I'm ready to move on from Windows, for reasons I don't have to explain here. I stated that I don't particularly care to "play" with computers, but I'm willing to put in some front end labor in order to enjoy a long-term, low-maintenance relationship with my new machine. With that philosophy in mind, I'm looking to build a machine that will serve my simple needs for ten years(!) So, since the costs will be spread out so far, I'm ready to drop some serious (for me) coin on this project in order to avoid having to go through what is, for me, a rather painful process of research again any time soon.
Debian 8.2 is installed to my Toshiba notebook. There is a performance issue about high resolution mp4 and mkv files. They are not played well on VLC or default media player.I don't see this issue on Windows. This computer has Intel HD Graphics 5500 and i7-5500U CPU.
I have a relative fresh install of jessie in which I face a high cpu usage of java (top shows about 165% CPU and 12% MEM). The problem occurs right after booting the computer. These values stay constantly high for days if I leave the box running. This happens even if the computer is just sitting there without doing anything.
I have to kill java to go back to normal. So, when I do a Code: Select allkillall -KILL java the problem goes away. After that it doesn't reappear and I can use all apps installed without a problem.
Currently I am based on openjdk Code: Select allupdate-alternatives --display java java - auto mode  link currently points to /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java - priority 1071  slave java.1.gz: /usr/lib/jvm/java-7-openjdk-amd64/jre/man/man1/java.1.gz Current 'best' version is '/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java'.
But I have also tried the SUN version with the same result.
Where to look to find more information on what exactly java app is using so much resources and how I can solve it? I guess I could just put somewhere in rc.d a kill java command and forget about it but I would really like to find out whats going on...
My sid running fine for months until recently. It is now freezed more frequently. Brief looking at process I found kswapd0 constantly consume 50% cpu right after booting in, even when swap usage is only 3%.
Code: Select all$top top - 12:00:30 up 47 min, 2 users, load average: 2.11, 2.36, 2.40 Tasks: 155 total,  3 running, 152 sleeping,  0 stopped,  0 zombie %Cpu(s): 17.0 us, 59.1 sy, 1.2 ni, 20.4 id, 2.3 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem : 1868396 total,  695024 free,  656048 used,  517324 buff/cache KiB Swap: 4095992 total, 3972288 free,  123704 used. 1096476 avail Mem
[Code] ....
My current release is
Code: Select all$ uname -a Linux GlobeTravelers 4.4.0-1-amd64 #1 SMP Debian 4.4.6-1 (2016-03-17) x86_64 GNU/Linux $lsb_release -a No LSB modules are available. Distributor ID:Â Â Debian Description:Â Â Debian GNU/Linux testing-updates (sid) Release:Â Â testing-updates Codename:Â Â sid
Gnome-shell uses high percent of CPU (more than 90%) on Xorg. I have debian jessie on a Asus N53 ( Core i7 and Nvidia GT550 with nvidia optimus). I also installed bumblebee but nothing changed.
I am noticing some rather high CPU temps while using Debian 7.8 KDE on a Lenovo X200 laptop.
Even when its not doing anything its getting as high as 70C sometimes. I opened it up and went in with a can of compressed air, it went down a little to 36C now its back to 70c the day after.
Then I realised the fan was hardly spinning is there any way I can control how much (or little) the fan spins at certain temps?
My guesses are it could be done with a bash / shell script in the kernal loaded at booting up. But am unsure.
I work for a data center where we use a whole lot of VMware's "Fault Tolerant" Solution. As a personal project, I want to piece together an alternative solution out of open source software.
Here's my punchlist:
*Configure Debian (or build from scratch) to be as slimmed down as possible so that I may call it "Just Enough OS" or "baremetal" *Install and configure Xen with XenMotion *Prove that both the physical and virtual fail-overs work as intended *Prove the automatic repair of failed virtual machines.
Yesterday I've installed Debian 8.1.0 on my desktop pc. I'm using Nvidia GT 730. After booting, the GPU fan runs at very high speed and really gets overheated. I didn't install any drivers etc.
Is there a solution for this or do i have to switch to Intel/ATI to use Linux? I said Linux, because every distros i've installed makes Nvidia chipset overheated and the fan runs at max. speed.
I have two pc's that I've recently converted to Lenny boxes, and I've noticed that whenever there's a lot of disk IO, one of my cores (both pc's have dual core cpu's) jump to 100%. Is this normal? They're both amd64, and I think both of them should be using the AHCI SATA driver.
If you need any more information about my setup, let me know.
I've a high resolution monitor(2560x1440) on my laptop running Debian testing and would like to change the font size in X. I manage to change most of the fonts to a readable size through the openbox configuration manager. But the font in my login window and for example in apps like vlc is still very tiny. How this could be changed ....
On my lenovo g560 i have Intel core i3-330m, i have both debian squeeze and windows 7 installed on my laptop.Today i noticed that while playing music (amarok) and playing a flash game (google chrome, game - tetris, lol (: ) the processor core temperature was around 70-71deg celsius.I restarted and booted windows 7, doing the same thing (music and tetris) the processor temperature is aournd 54-55deg celsius.Can anyone explain why the high temperature when running debian?
I want to use 1920x1080 in the virtual consoles, with:
Debian Squeeze; proprierary ATI drivers.
Switching back to the open source drivers, it works automatically, but I got no clue with these ones. Someone say I should use uvesafb by modifing initramfs accordingly.
I recently switched from jessie to stretch on both i encountered a jerky ui in gnome 3. after a longer research i noticed xorg consumes over 80% of my first cpu-core while moving a window. for testing purposes i switched back to the nouveau driver and there is no high cpu usage while moving a window, also the ui is smooth.
i tried 3 different nvidia driver: the one from the debian repository, the current stable and beta driver from the nvidia site. i noticed on all 3 the same problem.
Code: Select alldaniel@Daniel-PC:~$ glxinfo | grep rendering direct rendering: Yes   GL_NV_path_rendering, GL_NV_pixel_data_range, GL_NV_point_sprite,   GL_NV_path_rendering, GL_NV_pixel_data_range, GL_NV_point_sprite,   GL_NV_path_rendering, GL_NV_pixel_buffer_object, GL_NV_polygon_mode,
With the upgrade to Squeeze and the 2.6.32-5-686 kernel, my Dell GX260's 82845 video chip suffers from the documented intel driver bug (freezes within a few minutes). I tried to fall back to the vesa driver, but am only able to get 640x480 resolution. The monitor is an LG L1720P.
I turned off kernel mode setting (via /etc/modprobe.d/i915-kms.conf), and modified xorg.conf -- added Modeline entries (from gtf) and additional Mode lines to try to force resolution. Relevant portions of xorg.conf, dmesg and Xorg.0.log are shown below.
xorg.conf:
Code:
Section "Device" Identifier "Generic Video Card" Driver "vesa"
How to best manage partitioning when install programs not from debian repositories?I just discovered that Debian installs applications not from repositories to /opt and /lib. Both directories or folders reside in root (/) partition.Having made my root (/) partition (which is only around 500MB) -- more than sufficient for holding a couple of linux images but NOT good for holding application.What is the best solution for resolving this? It's annoying and worrying that my system always reminds of a close to full capacity root partition.
I'm encountering a strange problem. I need to open and forward all UDP and TCP ports related to VoIPtelephony (5000:32000) in the Suse 11.1 server that's acting as router/firewall in our setup. The ports must redirect to a Asterisk server in the local network. (This server has the IP adress 192.168.0.3)I've opened ports in Yast (Firewall>Ports>Advanced) and putted in some masquerading rulesirewall>Masquerading):0/0,192.168.0.3,tcp,5000:31000,5000:310000/0,192.168.0.3,udp,5000:31000,5000:31000when I do a nmap localhost I get:Starting Nmap 4.75 at 2010-01-08 16:52 CETInteresting ports on localhost (127.0.0.1):
Not shown: 991 closed ports PORT STATE SERVICE 21/tcp open ftp
I'm having some issues with audio crackling/buzzing when turning up the volume, or on songs that have overclipped / overdriven parts, which doesn't happen on Windows (on it those sections are just "dampened"). Is there some certain settings in ALSA that are used to deal with this? Or is it something specific to the driver for the hardware? Speaking of which I'm using some integrated audio which goes by the name of Intel ICH7, and the chip itself is Analog Devices AD1981B.
I'm only using ALSA, without PulseAudio, and I've made sure the volumes both in the media players and under alsamixer aren't turned too high (PCM is at 47% and "Headphones" -- what is "Master" on Windows and on other soundcards under Linux -- is on 22%), so it isn't an issue with the software mixer being turned up too high. Also I'm using a pair of quality headphones (Sony MDRV55) so it's not an issue with the analog audio output either. I've also tried multiple other headphones and the result is the same.
After upgrading our vmware template server from debian wheezy to debian jessie the output of the df command seems broken with regards to the root and /usr mount.We are using LVM on this machine.I've been searching for quite some time for a solution, but lack of linux knowledge is bothering me to get it fixed. The system seems to run fine without issues.
I can temporarily resolve the issue (untill next boot) by doing a lazy umount and a new mount of for example the /usr.I found a thread that something has changed in the way df presents the devices, however it is not consistent in our case (it shows a mix of both) and it seems to go wrong at an earlier stage during boot.Either show all dm devices or mapper devices is fine with me although I have a slight preference for the mapper names as it makes it more obvious LVM is being used.
Code: Select alldf -h                                                                                              11:12 Filesystem      Size Used Avail Use% Mounted on /dev/dm-0      922M 391M 467M 46% / udev         10M   0  10M  0% /dev tmpfs        403M 5.7M 397M  2% /run