 |
|
It is currently Sat May 25, 2013 4:47 pm
|
View unanswered posts | View active topics
| Welcome |
| |
Welcome to antiX-forum.
You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!
|
| Author |
Message |
|
tanian
|
Post subject: antiX - strange slowdown Posted: Sat Dec 10, 2011 11:21 pm |
|
Joined: Sat Dec 10, 2011 10:07 pm Posts: 24
|
|
Hello: I want to know how to know which startup services are needed. I feel my lappy is becoming laggy, and it's not the disk space. And I don't know if it had to do with the latest update or something else I don't realize. I'm using latest antiX [antiX-M11-686 Jayaben Desai] System is: P4 2.4 GHz IBM, 1.2 GiB of ram, 9 GiB system, rest is /home and such. Regards. Tan.
|
|
| Top |
|
 |
|
|
|
|
|
|
 |
|
anticapitalista
|
Post subject: Re: antiX - strange slowdown Posted: Sat Dec 10, 2011 11:48 pm |
|
 |
| Site Admin |
 |
Joined: Tue Sep 11, 2007 4:55 pm Posts: 4217 Location: Greece
|
Check upgrade went ok by typing # apt-get -f install If there are issues, see this thread: upgrading-antix-m11-t3473.htmlIf myspell-el-gr is still an issue, delete the /var/lib/dpkg/info/myspell-el-gr.postrm file then do apt-get -f install
_________________ Philosophers have interpreted the world in many ways; the point is to change it.
|
|
| Top |
|
 |
|
tanian
|
Post subject: Re: antiX - strange slowdown Posted: Sun Dec 11, 2011 12:11 am |
|
Joined: Sat Dec 10, 2011 10:07 pm Posts: 24
|
Hello, and thank you for the answer. Code: root@tan2:/home/tan2# apt-get -f install Leyendo lista de paquetes... Hecho Creando árbol de dependencias Leyendo la información de estado... Hecho Los paquetes indicados a continuación se instalaron de forma automática y ya no son necesarios. libxfcegui4-4 xmp-common unmo3 libmtp8 libadplug-2.2.1-0 libxcb-render-util0 libboost-regex1.42.0 xulrunner-1.9.1 libxine1-x libgoffice-0.8-8-common chromium-inspector libutempter0 libicu44 libx264-116 libtorrent13 libqmmp0 anthy-common libqmmpui0 libots0 app-install-data libglew1.5 libburn4 libibus2 libboost-program-options1.42.0 libxine1-misc-plugins libaiksaurusgtk-1.2-0c2a smbfs xulrunner-5.0 libaiksaurus-1.2-0c2a xulrunner-7.0 xulrunner-8.0 libtotem-plparser17 libxine1-bin libdirectfb-extra libboost-thread1.42.0 libgpod4 libavformat52 libfame-0.9-1 opencubicplayer libloudmouth1-0 libgoffice-0.8-8 link-grammar-dictionaries-en libexempi3 libhunspell-1.2-0 libaiksaurus-1.2-data libwv-1.2-3 libqmmp-misc libgdome2-0 libgmime-2.4-2 opencubicplayer-doc libpython2.6 libimobiledevice1 libsdl-pango1 libboost-iostreams1.42.0 python-pysqlite2 libxine1-gnome libgpod-common tcl8.4 libmozjs2d libmozjs5d libmozjs7d xmp libgdome2-cpp-smart0c2a schism libnl1 libanthy0 liblink-grammar4 libgtkmathview0c2a libtracker-sparql-0.10-0 libjte1 libboost-filesystem1.42.0 libisofs6 libsplashy1 milkytracker libboost-system1.42.0 libgsf-1-114 libxine1-console libmusicbrainz3-6 libavdevice52 libxine1 Utilice «apt-get autoremove» para eliminarlos. 0 actualizados, 0 se instalarán, 0 para eliminar y 0 no actualizados.
Once in a while, that always happens, so then I remove them, as suggested. Nothing about "myspell-el-gr". And, ontopic, how can I tell which antiX process or service is needed or not ?? Maybe there is a process unbeknown to me lying under the screen (or under my nose), that is using CPU (apart from listening audio music). Also, what means "Regenerating hal fdi cache ... " ?? Thank you again.
|
|
| Top |
|
 |
|
anticapitalista
|
Post subject: Re: antiX - strange slowdown Posted: Sun Dec 11, 2011 12:49 am |
|
 |
| Site Admin |
 |
Joined: Tue Sep 11, 2007 4:55 pm Posts: 4217 Location: Greece
|
|
htop may help with what is causing lagginess.
In Documents folder, there is a file called startup that may help in which services to remove.
_________________ Philosophers have interpreted the world in many ways; the point is to change it.
|
|
| Top |
|
 |
|
tanian
|
Post subject: Re: antiX - strange slowdown Posted: Sun Dec 11, 2011 1:55 am |
|
Joined: Sat Dec 10, 2011 10:07 pm Posts: 24
|
Hello, and thank you again. Code: root@tan2:/home/tan2# man -k sysv-rc-conf sysv-rc-conf (8) - Run-level configuration for SysV like init script links root@tan2:/home/tan2# sysv-rc-conf --list acpi-fakekey 2:on 3:on 4:on 5:on acpi-support 1:off 2:on 3:on 4:on 5:on acpid 2:on 3:on 4:on 5:on alsa-utils 0:off 6:off S:on bootlogd S:on bootlogs 1:on 2:on 3:on 4:on 5:on cherokee 0:off 1:off 2:off 3:off 4:off 5:off 6:off console-setu S:on cpufrequtils 2:on 3:on 4:on 5:on cron 0:off 1:off 2:on 3:on 4:on 5:on 6:off cups 1:off 2:on 3:on 4:on 5:on dbus 2:on 3:on 4:on 5:on decnet 0:off 1:off 2:on 3:on 4:off 5:on 6:off dns-clean S:on eeepc-acpi-s S:on exim4 0:off 1:off 2:on 3:on 4:on 5:on 6:off fuse 0:off 6:off S:on gpm 0:off 1:off 2:on 3:on 4:on 5:on 6:off halt 0:off hdparm S:on ifplugd 0:off 1:off 2:on 3:on 4:on 5:on 6:off ifupdown S:on ifupdown-cle S:on irda-utils 0:off 5:off 6:off irqbalance 0:off 1:off 2:on 3:on 4:on 5:on 6:off kbd 4:on S:on keyboard-set S:on killprocs 1:on loadcpufreq 2:on 3:on 4:on 5:on module-init- S:on mountoverflo S:on networking 0:off 6:off S:on pppd-dns S:on procps S:on rc.local 2:on 3:on 4:on 5:on reboot 6:off rmnologin 2:on 3:on 4:on 5:on rsync 2:off 3:off 4:on 5:off rsyslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off saned 0:off 1:off 2:off 3:off 4:off 5:off 6:off screen-clean S:on sendsigs 0:off 6:off single 1:on slim 0:off 1:off 2:on 5:on 6:off ssh 2:off 3:off 4:off 5:off stop-bootlog 2:on 3:on 4:on 5:on stop-bootlog S:on sudo 2:on 3:on 4:on 5:on svgalib-bin S:on timidity 0:off 1:off 2:on 3:on 4:on 5:on 6:off transmission 0:off 1:off 2:off 3:off 4:on 5:off 6:off udev S:on udev-mtab S:on ufw 1:off S:on umountfs 0:off 6:off umountroot 0:off 6:off urandom 0:off 6:off S:on wicd 0:off 1:off 2:on 3:on 4:on 5:on 6:off winbind 0:off 1:off 2:on 3:on 4:on 5:on 6:off x11-common 4:on S:on root@tan2:/home/tan2#
A long list, and I barely understand both this list and startup.txt on Documents folder. Htop "tops" at 33%, because of chrome in suppose. But after opening / closing sysv-rc-conf, it tops at 100%, and I feel the slowdown. Another thing: Roxterm always makes me wait 5 seconds before I can type commands. So is this caused by a program that I executed unbewillingly ?? Code: tan2@tan2:~$ pstree init─┬─acpi_fakekeyd ├─acpid ├─chrome─┬─5*[chrome───3*[{chrome}]] │ └─nacl_helper_boo ├─console-kit-dae───64*[{console-kit-da}] ├─cron ├─cupsd ├─2*[dbus-daemon] ├─dconf-service───{dconf-service} ├─dhclient ├─dpid───file.dpi ├─evince───3*[{evince}] ├─evinced───{evinced} ├─6*[getty] ├─gnome-keyring-d───4*[{gnome-keyring-}] ├─gpm ├─gvfs-afc-volume───{gvfs-afc-volum} ├─gvfs-gdu-volume ├─gvfs-gphoto2-vo ├─gvfsd ├─gvfsd-metadata ├─gvfsd-trash ├─2*[leafpad] ├─mount.ntfs-3g ├─museekd ├─rox─┬─audacious2───7*[{audacious2}] │ └─chrome─┬─chrome │ ├─chrome───2*[{chrome}] │ └─19*[{chrome}] ├─rsyslogd───3*[{rsyslogd}] ├─slim─┬─Xorg │ └─ck-launch-sessi───icewm-session─┬─icewm─┬─roxterm─┬─bash───pstree │ │ │ ├─roxterm │ │ │ └─{roxterm} │ │ ├─thunar───2*[{thunar}] │ │ └─2*[thunar───{thunar}] │ ├─icewmbg │ └─icewmtray ├─startup───volumeicon ├─su───bash───sysv-rc-conf ├─su───sysv-rc-conf ├─timidity ├─udevd───udevd ├─udisks-daemon─┬─udisks-daemon │ └─2*[{udisks-daemon}] ├─wicd───wicd-monitor ├─winbindd───winbindd └─xfconfd tan2@tan2:~$
How do I know which process can I kill, without killing the system ?? I mostly use web and office apps. Regards. Tan.
|
|
| Top |
|
 |
|
BitJam
|
Post subject: Re: antiX - strange slowdown Posted: Sun Dec 11, 2011 2:21 am |
|
Joined: Tue Sep 01, 2009 12:48 am Posts: 301
|
Please post the output of the top command. Run: Code: $ top -n 1 > top.out Then copy and post the contents of the file into a post here. Please put the output between "code" and "/code" tags where the quotation marks are replaced with [ and ]. This will make it easier for us to read. Also, as other have suggested, run the htop command. Choose to SortBy CPU% if that is not already set. This should give you a good idea of which process or processes are hogging the cpu.
|
|
| Top |
|
 |
|
tanian
|
Post subject: Re: antiX - strange slowdown Posted: Sun Dec 11, 2011 3:12 am |
|
Joined: Sat Dec 10, 2011 10:07 pm Posts: 24
|
Hello again. I have the "top.out" file, but I can't access its contents (at least, with leafpad). A bunch of un-readable symbols there (and some readable). The readable ones look like this: Code: [H[2J(B[mtop - 20:02:52 up 2 days, 12:06, 0 users, load average: 2.82, 3.38, 3.40(B[m[39;49m[K Tasks:(B[m[39;49m(B[m 114 (B[m[39;49mtotal,(B[m[39;49m(B[m 4 (B[m[39;49mrunning,(B[m[39;49m(B[m 109 (B[m[39;49msleeping,(B[m[39;49m(B[m 0 (B[m[39;49mstopped,(B[m[39;49m(B[m 1 (B[m[39;49mzombie(B[m[39;49m[K Cpu(s):(B[m[39;49m(B[m 29.1%(B[m[39;49mus,(B[m[39;49m(B[m 37.2%(B[m[39;49msy,(B[m[39;49m(B[m 0.1%(B[m[39;49mni,(B[m[39;49m(B[m 33.2%(B[m[39;49mid,(B[m[39;49m(B[m 0.2%(B[m[39;49mwa,(B[m[39;49m(B[m 0.0%(B[m[39;49mhi,(B[m[39;49m(B[m 0.2%(B[m[39;49msi,(B[m[39;49m(B[m 0.0%(B[m[39;49mst(B[m[39;49m[K Mem: (B[m[39;49m(B[m 1283928k (B[m[39;49mtotal,(B[m[39;49m(B[m 1098452k (B[m[39;49mused,(B[m[39;49m(B[m 185476k (B[m[39;49mfree,(B[m[39;49m(B[m 247320k (B[m[39;49mbuffers(B[m[39;49m[K Swap:(B[m[39;49m(B[m 1049596k (B[m[39;49mtotal,(B[m[39;49m(B[m 21152k (B[m[39;49mused,(B[m[39;49m(B[m 1028444k (B[m[39;49mfree,(B[m[39;49m(B[m 510716k (B[m[39;49mcached(B[m[39;49m[K [6;1H [7m PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND (B[m[39;49m[K (B[m 9647 root 20 0 17096 11m 2408 S 13.9 0.9 16:08.24 sysv-rc-conf (B[m[39;49m (B[m26056 root 20 0 17356 11m 2132 S 13.9 0.9 646:38.57 sysv-rc-conf (B[m[39;49m (B[m 1859 tan2 20 0 298m 27m 12m S 6.9 2.2 114:54.38 audacious2 (B[m[39;49m (B[m(B[m 1335 root 20 0 52092 19m 11m R 3.5 1.6 104:03.36 Xorg (B[m[39;49m (B[m19696 tan2 20 0 192m 52m 23m S 3.5 4.2 4:06.21 chrome (B[m[39;49m (B[m24873 tan2 20 0 118m 15m 12m S 3.5 1.3 0:09.23 thunar (B[m[39;49m (B[m 2997 tan2 20 0 176m 15m 11m S 1.7 1.3 5:43.28 thunar (B[m[39;49m (B[m 7957 tan2 20 0 176m 16m 12m S 1.7 1.3 3:36.00 thunar (B[m[39;49m (B[m20002 tan2 20 0 406m 85m 28m S 1.7 6.8 15:39.00 chrome (B[m[39;49m (B[m 1 root 20 0 2228 572 484 S 0.0 0.0 0:04.64 init (B[m[39;49m (B[m 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd (B[m[39;49m (B[m 3 root 20 0 0 0 0 S 0.0 0.0 0:13.95 ksoftirqd/0 (B[m[39;49m (B[m 6 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0 (B[m[39;49m (B[m 7 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cpuset (B[m[39;49m (B[m 8 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper (B[m[39;49m (B[m 9 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns (B[m[39;49m (B[m 10 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 pm (B[m[39;49m[6;1H[K[25;1H[?12l[?25h
The only program that tops 100% now, is the sysv-rc-conf. Only seconded by chrome. The strange slowdown was compared with the antiX system I had before: fast, light, and just now it has become to behave like the Windows OS: the more I use it, the more slow it becomes (now referring to AntiX). I don't understand this. And I have alwas used chrome since the start, this is the only process that tops cpu use (chrome tops at 20% max), with it and all system, near 33%. Maybe an update with a bug, don't know which. Thank you. I hope I did't bother you.
|
|
| Top |
|
 |
|
BitJam
|
Post subject: Re: antiX - strange slowdown Posted: Sun Dec 11, 2011 5:20 am |
|
Joined: Tue Sep 01, 2009 12:48 am Posts: 301
|
I gave you the wrong instructions for capturing the top output. One way to get the output is to just run top then use "q" to quit and then copy-and-paste from the terminal window. Or cat the file that you capture and copy-and-paste from the screen. Your load average looks high for a single core machine: http://blog.scoutapp.com/articles/2009/ ... d-averagesIt looks like you might have two copies of sysv-rc-conf running. You want to close those and then try looking at top and htop again. If you can't simply close them then, as root, try: Code: # killall sysv-rc-conf If they survive that then nuke them with: Code: # killall -9 sysv-rc-conf You want your load average to be well below the number of cpu cores when not much is happening on your system. I'm doing a bunch of compiling now on a dual core system. Both cores are pegged at 100% and the load average is a little over 3. The machine is still very responsive. If I can read between the ansi correctly it looks you used: Code: 1.1G out of 1.2G RAM 21 Meg out of 1 Gig Swap that memory usage looks high for antiX. Maybe one of your apps is using a lot. Having to swap will really slow things down and could cause the symptoms you are experiencing. Others may know more about this than I do but I would try shutting down museek(d) and/or the gvfs stuff. You could even try turning off the Rox pinboard which will disable desktop icons. One approach would be to shutdown X-windows (exit --> logout, the ctrl-alt-f2, login as root and run /etc/init.d/slim stop). Then run top and htop from the virtual console. This would tell you if the problem is related to something in X-windows or not. This would cut the places to search for the problem in half. You should be able to start X-windows again by running /etc/init.d/slim start.
|
|
| Top |
|
 |
|
rokytnji
|
Post subject: Re: antiX - strange slowdown Posted: Sun Dec 11, 2011 5:59 am |
|
Joined: Fri Feb 20, 2009 3:44 am Posts: 1992 Location: Pecos, Texas
|
I quit using Opera Bitjam because it would lock up the desktop and spike out CPU to 100% depending on what web pages I visited. I forget what process opera ran that I had to killall -9 even after I closed opera. @tanian, here is my screenshot while running Iceape while responding to this thread on a P3 IBM a22m. maybe if you post yours when it is running chromium we can see what is sucking you down. Attachment:
snapshot-2011-12-10-1.jpg [ 60.35 KiB | Viewed 619 times ]
_________________ Linux Registered User # 475019 Takes a Lot of MONEY to create poverty. Linux at Home courses
|
|
| Top |
|
 |
|
tanian
|
Post subject: Re: antiX - strange slowdown Posted: Sun Dec 11, 2011 6:11 am |
|
Joined: Sat Dec 10, 2011 10:07 pm Posts: 24
|
Hello, and thankyou for help. Quote: I gave you the wrong instructions for capturing the top output. One way to get the output is to just run top then use "q" to quit and then copy-and-paste from the terminal window. Or cat the file that you capture and copy-and-paste from the screen. Thanks to this, I could do this ! : Code: tan2@tan2:~$ cat /home/tan2/top.out
top - 19:59:52 up 2 days, 12:03, 0 users, load average: 2.79, 3.77, 3.50 Tasks: 112 total, 1 running, 110 sleeping, 0 stopped, 1 zombie Cpu(s): 29.1%us, 37.1%sy, 0.1%ni, 33.2%id, 0.2%wa, 0.0%hi, 0.2%si, 0.0%st Mem: 1283928k total, 1085780k used, 198148k free, 247072k buffers Swap: 1049596k total, 21152k used, 1028444k free, 502636k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 9647 root 20 0 17096 11m 2408 S 19.3 0.9 15:39.70 sysv-rc-conf 26056 root 20 0 17356 11m 2132 S 17.6 0.9 646:13.90 sysv-rc-conf 1859 tan2 20 0 298m 27m 12m S 5.3 2.2 114:42.96 audacious2 1335 root 20 0 48352 16m 8624 S 3.5 1.3 103:53.62 Xorg 2997 tan2 20 0 176m 15m 11m S 3.5 1.3 5:37.03 thunar 551 root 20 0 0 0 0 S 1.8 0.0 0:00.43 kworker/0:2 23250 tan2 20 0 2664 1088 828 R 1.8 0.1 0:00.02 top 1 root 20 0 2228 572 484 S 0.0 0.0 0:04.64 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd 3 root 20 0 0 0 0 S 0.0 0.0 0:13.94 ksoftirqd/0 6 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0 7 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cpuset 8 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper 9 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns 10 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 pm 11 root 20 0 0 0 0 S 0.0 0.0 0:25.18 sync_supers 12 root 20 0 0 0 0 S 0.0 0.0 0:00.02 bdi-default tan2@tan2:~$ tan2@tan2:~$ top -n 1
top - 22:40:06 up 2 days, 14:43, 0 users, load average: 2.74, 3.13, 4.18 Tasks: 110 total, 1 running, 108 sleeping, 0 stopped, 1 zombie Cpu(s): 29.4%us, 38.2%sy, 0.1%ni, 31.8%id, 0.2%wa, 0.0%hi, 0.2%si, 0.0%st Mem: 1283928k total, 1121140k used, 162788k free, 271648k buffers Swap: 1049596k total, 21224k used, 1028372k free, 496660k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 9647 root 20 0 17096 11m 2408 S 18.5 0.9 43:48.22 sysv-rc-conf 26056 root 20 0 17356 11m 2132 S 15.2 0.9 671:09.07 sysv-rc-conf 1859 tan2 20 0 296m 25m 12m S 5.1 2.0 126:07.29 audacious2 1839 tan2 20 0 100m 14m 10m S 3.4 1.2 0:03.22 thunar 7957 tan2 20 0 176m 16m 12m S 3.4 1.3 8:48.29 thunar 2997 tan2 20 0 184m 16m 12m S 1.7 1.3 11:20.63 thunar 12603 tan2 20 0 2664 1092 828 R 1.7 0.1 0:00.02 top 1 root 20 0 2228 572 484 S 0.0 0.0 0:04.83 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd 3 root 20 0 0 0 0 S 0.0 0.0 0:15.22 ksoftirqd/0 6 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0 7 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cpuset 8 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper 9 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns 10 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 pm 11 root 20 0 0 0 0 S 0.0 0.0 0:26.23 sync_supers 12 root 20 0 0 0 0 S 0.0 0.0 0:00.03 bdi-default tan2@tan2:~$
From now on, the link is on my favorites. Great learning from that. Quote: It looks like you might have two copies of sysv-rc-conf running. (...) I guess I myself explained wrong the situation. The issue of this topic, the reason I OPed, was NOT related to sysv-rc-conf ion the first place. While I do the homework (any WORK that you do at home instead of your real workplace) I let that process occupy more and more memory, and now the lag is greater than before my first post. SO next I did was this: Code: 12 root 20 0 0 0 0 S 0.0 0.0 0:00.03 bdi-default tan2@tan2:~$ killall -9 sysv-rc-conf sysv-rc-conf(9647): Operación no permitida sysv-rc-conf(26056): Operación no permitida sysv-rc-conf: no process found tan2@tan2:~$ su Contraseña: root@tan2:/home/tan2# killall -9 sysv-rc-conf root@tan2:/home/tan2# top -n 1
top - 22:48:45 up 2 days, 14:52, 0 users, load average: 2.16, 2.92, 3.68 Tasks: 107 total, 1 running, 105 sleeping, 0 stopped, 1 zombie Cpu(s): 29.4%us, 38.3%sy, 0.1%ni, 31.7%id, 0.2%wa, 0.0%hi, 0.2%si, 0.0%st Mem: 1283928k total, 1095168k used, 188760k free, 272184k buffers Swap: 1049596k total, 21224k used, 1028372k free, 489124k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1859 tan2 20 0 296m 25m 12m S 5.6 2.0 126:39.76 audacious2 1335 root 20 0 54532 16m 8608 S 3.7 1.3 109:45.04 Xorg 16802 root 20 0 2660 1084 828 R 1.9 0.1 0:00.02 top 1 root 20 0 2228 572 484 S 0.0 0.0 0:04.84 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd 3 root 20 0 0 0 0 S 0.0 0.0 0:15.23 ksoftirqd/0 6 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0 7 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cpuset 8 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper 9 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns 10 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 pm 11 root 20 0 0 0 0 S 0.0 0.0 0:26.29 sync_supers 12 root 20 0 0 0 0 S 0.0 0.0 0:00.03 bdi-default 13 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kintegrityd 14 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kblockd 15 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kacpid 16 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kacpi_notify root@tan2:/home/tan2# top -n 1
top - 22:49:10 up 2 days, 14:52, 0 users, load average: 1.42, 2.69, 3.58 Tasks: 107 total, 1 running, 105 sleeping, 0 stopped, 1 zombie Cpu(s): 29.4%us, 38.3%sy, 0.1%ni, 31.8%id, 0.2%wa, 0.0%hi, 0.2%si, 0.0%st Mem: 1283928k total, 1095168k used, 188760k free, 272184k buffers Swap: 1049596k total, 21224k used, 1028372k free, 489120k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1335 root 20 0 54516 16m 8608 S 5.7 1.3 109:45.67 Xorg 1859 tan2 20 0 296m 25m 12m S 5.7 2.0 126:41.24 audacious2 26974 tan2 20 0 99.5m 12m 9760 S 1.9 1.0 0:03.39 roxterm 1 root 20 0 2228 572 484 S 0.0 0.0 0:04.84 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd 3 root 20 0 0 0 0 S 0.0 0.0 0:15.23 ksoftirqd/0 6 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0 7 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cpuset 8 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper 9 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns 10 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 pm 11 root 20 0 0 0 0 S 0.0 0.0 0:26.29 sync_supers 12 root 20 0 0 0 0 S 0.0 0.0 0:00.03 bdi-default 13 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kintegrityd 14 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kblockd 15 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kacpid 16 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kacpi_notify root@tan2:/home/tan2# top -n 1
top - 22:49:26 up 2 days, 14:52, 0 users, load average: 1.11, 2.56, 3.53 Tasks: 107 total, 1 running, 105 sleeping, 0 stopped, 1 zombie Cpu(s): 29.4%us, 38.3%sy, 0.1%ni, 31.8%id, 0.2%wa, 0.0%hi, 0.2%si, 0.0%st Mem: 1283928k total, 1095044k used, 188884k free, 272184k buffers Swap: 1049596k total, 21224k used, 1028372k free, 489144k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1859 tan2 20 0 296m 25m 12m S 5.7 2.0 126:42.18 audacious2 1335 root 20 0 54516 16m 8608 S 3.8 1.3 109:46.51 Xorg 16812 root 20 0 2660 1088 828 R 1.9 0.1 0:00.01 top 1 root 20 0 2228 572 484 S 0.0 0.0 0:04.84 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd 3 root 20 0 0 0 0 S 0.0 0.0 0:15.24 ksoftirqd/0 6 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0 7 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cpuset 8 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper 9 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns 10 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 pm 11 root 20 0 0 0 0 S 0.0 0.0 0:26.29 sync_supers 12 root 20 0 0 0 0 S 0.0 0.0 0:00.03 bdi-default 13 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kintegrityd 14 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kblockd 15 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kacpid 16 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kacpi_notify root@tan2:/home/tan2#
Quote: You want your load average to be well below the number of cpu cores when not much is happening on your system. I'm doing a bunch of compiling now on a dual core system. Both cores are pegged at 100% and the load average is a little over 3. The machine is still very responsive. Thanks again; I think we owe this to the linux architecture. After I read the link, I couldn't believe that I still could use the browser for replies. (Well, with a little lag, of course) For now, system seems normal. However, I'm intrigued that this might be X-related - the chrome browser is the major CPU eater; I though changing inter-tabs / reloading tabs should'nt be any issue. Quote: that memory usage looks high for antiX. Maybe one of your apps is using a lot. Having to swap will really slow things down and could cause the symptoms you are experiencing. Others may know more about this than I do but I would try shutting down museek(d) and/or the gvfs stuff. You could even try turning off the Rox pinboard which will disable desktop icons. The ram usage is high at moments, that is also part of my query. The museek daemon is still not closed?? Htop confirmed nothing about museekd. That, also want to kill any service, but not manually. I remember having configured the client in order to do that. Interestng. On the gvfs stuff, I am actively using my USB stick to interchange files; I hope THAT is not the cause of the slowdown. ROX pinboard: I have and use some desktop icons, besides that doesn't cause any lag. To diagnose the X-window, I will have to logout; so if double-post is permitted, I will do it and post the results in the next post. ! And pardon me for the loong reply.
|
|
| Top |
|
 |
|
tanian
|
Post subject: Re: antiX - strange slowdown Posted: Sun Dec 11, 2011 7:10 am |
|
Joined: Sat Dec 10, 2011 10:07 pm Posts: 24
|
Hello again !! This is what I recovered from out of X-window. Code: tan2@tan2:~$ cat /home/tan2/proc.out
(window blanks, and then, the code...) Code: top - 23:19:34 up 2 days, 15:22, 2 users, load average: 0.00, 0.07, 0.59 Tasks: 82 total, 1 running, 81 sleeping, 0 stopped, 0 zombie Cpu(s): 29.3%us, 38.0%sy, 0.1%ni, 32.1%id, 0.2%wa, 0.0%hi, 0.2%si, 0.0%st Mem: 1283928k total, 813644k used, 470284k free, 272432k buffers Swap: 1049596k total, 10308k used, 1039288k free, 445520k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1 root 20 0 2228 572 484 S 0.0 0.0 0:04.87 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd 3 root 20 0 0 0 0 S 0.0 0.0 0:15.39 ksoftirqd/0 6 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0 7 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cpuset 8 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper 9 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns 10 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 pm 11 root 20 0 0 0 0 S 0.0 0.0 0:26.48 sync_supers 12 root 20 0 0 0 0 S 0.0 0.0 0:00.03 bdi-default 13 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kintegrityd 14 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kblockd 15 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kacpid 16 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kacpi_notify 17 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kacpi_hotplug 18 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 ata_sff 19 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khubd 20 root 20 0 0 0 0 S 0.0 0.0 0:00.05 kseriod 21 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kondemand 22 root 20 0 0 0 0 S 0.0 0.0 0:07.10 kswapd0 23 root 25 5 0 0 0 S 0.0 0.0 0:00.00 ksmd 24 root 20 0 0 0 0 S 0.0 0.0 0:00.01 fsnotify_mark 25 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 aio 26 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 crypto 30 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0 31 root 20 0 0 0 0 S 0.0 0.0 0:57.83 scsi_eh_1 119 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_2 127 root 20 0 0 0 0 S 0.0 0.0 0:34.76 usb-storage 232 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 reiserfs 289 root 20 0 2768 1296 736 S 0.0 0.1 0:00.60 udevd 445 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kpsmoused 474 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 ktpacpid 477 root 20 0 0 0 0 S 0.0 0.0 1:23.62 ktpacpi_nvramd 486 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 i915 490 root 20 0 0 0 0 S 0.0 0.0 0:00.10 pccardd 662 root 20 0 6560 1316 712 S 0.0 0.1 2:37.47 mount.ntfs-3g 891 root 20 0 0 0 0 S 0.0 0.0 0:08.38 kjournald 1167 root 20 0 0 0 0 S 0.0 0.0 0:06.44 flush-8:0 1278 root 20 0 27880 1004 828 S 0.0 0.1 0:26.71 rsyslogd 1296 root 20 0 1660 0 0 S 0.0 0.0 0:00.00 acpi_fakekeyd 1338 root 20 0 2104 856 516 S 0.0 0.1 0:03.70 acpid
Then, with htop: Code: tan2@tan2:~$ cat /home/tan2/htop.log and the answer is (with colors and all): Code: CPU[||||||||||||||||||||||||||||||||| 57.9%] Tasks: 42, 75 thMem[|||||||||||||||||||||||||||||||||||| 93/1253MB] Load average: 0. Swp[| 10/1024MB] Uptime: 2 days, 15:27:02 PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 17389 root 20 0 6360 1828 1132 R 26.0 0.1 0:00.14 htop -d 10 1 root 20 0 2228 572 484 S 0.0 0.0 0:04.87 init [5] 289 root 20 0 2768 1296 736 S 0.0 0.1 0:00.59 udevd --daemon 662 root 20 0 6560 1316 712 S 0.0 0.1 2:37.46 /sbin/mount.ntfs- 31284 rootb1 /med20 0 27880 1004 828 S 0.0 0.1 0:24.50 /usr/sbin/rsyslog 1286 root 20 0 27880 1004 828 S 0.0 0.1 0:00.05 /usr/sbin/rsyslog 1287 root 20 0 27880 1004 828 S 0.0 0.1 0:02.16 /usr/sbin/rsyslog 1278 root 20 0 27880 1004 828 S 0.0 0.1 0:26.75 /usr/sbin/rsyslog 1296 root 20 0 1660 0 0 S 0.0 0.0 0:00.00 /usr/sbin/acpi_fa 1338 root 20 0 2104 856 516 S 0.0 0.1 0:03.72 /usr/sbin/acpid 1365 root 20 0 5460 712 656 S 0.0 0.1 0:00.46 /usr/sbin/cron 1401 root 20 0 2520 652 552 S 0.0 0.1 0:00.01 dhclient -v -pf / v1427 rootclient.20 0 7608 2156 1764 S 0.0 0.2 0:00.11 /usr/sbin/cupsd - 1452 messagebu 20 0 3128 1328 920 S 0.0 0.1 3:01.22 /usr/bin/dbus-dae 1463 rootem 20 0 2044 304 276 S 0.0 0.0 0:13.16 /usr/sbin/gpm -m 1553 root/mice -20 0 15056 824 704 S 0.0 0.1 0:00.34 /usr/sbin/winbind 1561 root 20 0 15056 316 212 S 0.0 0.0 0:00.13 /usr/sbin/winbind 1563 r|||| 36 S 0.0 0.4 5.7.59 /usr/bin/python - 1585 rootre/wicd20 0 14360 3716 2852 S 0.0 0.4 3:05.15 /usr/bin/python 8 0.059rootre/wicd20 0 1836 436 432 S 0.0 0.0 0:00.00 /sbin/getty 38408 01591 root 20 0 1836 436 432 S 0.0 0.0 0:00.00 /sbin/getty 38400 1592 root 20 0 1836 436 432 S 0.0 0.0 0:00.00 /sbin/getty 38400 1593 root 20 0 1836 916 1212 R 6.0 0.0 0:01.05 /sbin/getty 38400 1599 root 20 0 29136 2904 2672 S 0.0 0.2 0:00.00 /usr/sbin/console 1602 rootn --no-20 0 29136 2904 2672 S 0.0 0.2 0:00.00 /usr/sbin/console 1603 rootn --no-20 0 29136 2904 2672 S 0.0 0.2 0:00.00 /usr/sbin/console 1604 rootn --no-20 0 29136 2904 2672 S 0.0 0.2 0:00.00 /usr/sbin/console 1605 rootn --no-20 0 29136 2904 2672 S 0.0 0.2 0:00.00 /usr/sbin/console 1606 rootn --no-20 0 29136 2904 2672 S 0.0 0.2 0:00.00 /usr/sbin/console 1607 rootn --no-20 0 29136 2904 2672 S 0.0 0.2 0:00.00 /usr/sbin/console 1608 rootn --no-20 0 29136 2904 2672 S 0.0 0.2 0:00.00 /usr/sbin/console 1609 rootn --no-20 0 29136 2904 2672 S 0.0 0.2 0:00.00 /usr/sbin/console 1610 rootn --no-20 0 29136 2904 2672 S 0.0 0.2 0:00.00 /usr/sbin/console 1611 rootn --no-20 0 29136 2904 2672 S 0.0 0.2 0:00.00 /usr/sbin/console 1612 rootn --no-20 0 29136 2904 2672 S 0.0 0.2 0:00.00 /usr/sbin/console 1613 rootn --no-20 0 29136 2904 2672 S 0.0 0.2 0:00.04 /usr/sbin/console 1614 rootn --no-20 0 29136 2904 2672 S 0.0 0.2 0:00.00 /usr/sbin/console 1615 rootn --no-20 0 29136 2904 2672 S 0.0 0.2 0:00.00 /usr/sbin/console 1616 rootn --no-20 0 29136 2904 2672 S 0.0 0.2 0:00.00 /usr/sbin/console tan2@tan2:~$
(aproximately adjusted to margin, so nas to be legible) And the CPU is ok (supposing because I was out of X-window). ... Still, I want to know IF I have not-needed programs/services: I want chrome to fly on my old P4, with 20 tabs open!! rokytnji wrote: I quit using Opera Bitjam because it would lock up the desktop and spike out CPU to 100% depending on what web pages I visited. I forget what process opera ran that I had to killall -9 even after I closed opera. @tanian, here is my screenshot while running Iceape while responding to this thread on a P3 IBM a22m. maybe if you post yours when it is running chromium we can see what is sucking you down. Attachment: The attachment snapshot-2011-12-10-1.jpg is no longer available The first browser I used when installed AntiX, 6 months ago, was the default Iceape, slow, then Opera, also slow and buggy sometimes, so in this very laggy lappy I celebrate 5 months using Chrome (altough I use Firefox on the other PC). Almost the same motives as you. I don't think thats of help by now, as I have just restarted the X system, following suggestions, and as you can see my cats of this post. But as you helped, I attach the capture on Htop. For now, I'm just running chrome and Roxterm and audacius and thunar. Are there any process/service not needed ?? How do I know that, without affecting the system ??
| Attachments: |

screenshot.jpg [ 97.97 KiB | Viewed 614 times ]
|
|
|
| Top |
|
 |
|
BitJam
|
Post subject: Re: antiX - strange slowdown Posted: Sun Dec 11, 2011 8:28 am |
|
Joined: Tue Sep 01, 2009 12:48 am Posts: 301
|
|
This looks good now. Whatever was causing your problem got killed when you exited X-windows. This means you really don't have to concern yourself with cutting back on services. Looking back at your pstree I didn't see any unneeded services but I did see chrome running directly under init which seemed a little strange because it was also running under Rox. It could be benign. Maybe where it ends up depends on how it was opened.
Instead of looking for services to kill, I suggest you keep an eye on your load average and when it gets up over 1 (or over 2) when you're not doing much with the system then try killing off processes that are running under X while running top or htop. Remember, there will be a slight time delay (about 1 minute) for the left-most load average to go down after killing a process.
My wild guess is there is a problem with nacl_helper (native client helper) in Chrome. I don't know what it does but it seems to have been causing other problems. If that's the culprit then you may have to periodically shut down Chrome when your system gets sluggish until you can get an updated version of Chrome. Again, this is just a guess.
|
|
| Top |
|
 |
|
tanian
|
Post subject: Re: antiX - strange slowdown Posted: Sun Dec 11, 2011 9:09 am |
|
Joined: Sat Dec 10, 2011 10:07 pm Posts: 24
|
BitJam wrote: This looks good now. Whatever was causing your problem got killed when you exited X-windows. This means you really don't have to concern yourself with cutting back on services. Looking back at your pstree I didn't see any unneeded services but I did see chrome running directly under init which seemed a little strange because it was also running under Rox. It could be benign. Maybe where it ends up depends on how it was opened. Instead of looking for services to kill, I suggest you keep an eye on your load average and when it gets up over 1 (or over 2) when you're not doing much with the system then try killing off processes that are running under X while running top or htop. Remember, there will be a slight time delay (about 1 minute) for the left-most load average to go down after killing a process. My wild guess is there is a problem with nacl_helper (native client helper) in Chrome. I don't know what it does but it seems to have been causing other problems. If that's the culprit then you may have to periodically shut down Chrome when your system gets sluggish until you can get an updated version of Chrome. Again, this is just a guess. Well, I guess you're right. I created a link to open chrome under Rox. And, sometimes Chrome becomes slow after opening more than 10 tabs; just sometimes (very few indeed), than I had to call Htop to kill it manually. Maybe some "zombie" processes just don't want to die after being killed  But I cannot tell for sure, as I'm not a linux expert. So, if you're telling me that there aren't any unneeded services, then I may rest relieved of knowing my system is in good state. If I have the time, I'll consider opening chrome from console script /bash instead of from Rox, to prevent extending a possible issue with it. The processes that are running under X, are those with runlevel 5, am I right ?? Regards from my part, and thank you for your time. Tan.
|
|
| Top |
|
 |
|
anticapitalista
|
Post subject: Re: antiX - strange slowdown Posted: Sun Dec 11, 2011 3:00 pm |
|
 |
| Site Admin |
 |
Joined: Tue Sep 11, 2007 4:55 pm Posts: 4217 Location: Greece
|
|
Just to see if chrome is the culprit, run iceape browser for a while instaed with lots od tabs open and see if the same happens. It might also be a flash issue if one of the tabs goes to a flash movie site.
_________________ Philosophers have interpreted the world in many ways; the point is to change it.
|
|
| Top |
|
 |
|
dark-D
|
Post subject: Re: antiX - strange slowdown Posted: Sun Dec 11, 2011 5:42 pm |
|
Joined: Mon Jun 02, 2008 4:31 pm Posts: 554 Location: shadows
|
sometimes if you use a cli app in the terminal and close the terminal from the x button, it stays open in the background peaking at 100% cpu usage, you either need to kill it for good or reboot your system. also sometimes when the browser freezes and you kill it, it remains open in the background peaking at 100% CPU, i get this about once a week with with firefox/iceweasel and you have to kill it from htop. screenshot  
_________________ the man in black
|
|
| Top |
|
 |
Who is online |
Users browsing this forum: No registered users and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|
 |