Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Screen using a lot CPU time, huge amount.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
dalek
Veteran
Veteran


Joined: 19 Sep 2003
Posts: 1353
Location: Mississippi USA

PostPosted: Tue Nov 08, 2005 4:05 pm    Post subject: Screen using a lot CPU time, huge amount. Reply with quote

I run folding on my rigs and use the screen program so I can detach and not have to stop it. I have three rigs currently. On my main rig, AMD 2500+ with 1Gb of ram, screen is using a huge amount of CPU time. This is what top was showning:

Code:
top - 06:27:32 up 19:34,  4 users,  load average: 2.08, 0.76, 0.26
Tasks: 103 total,   3 running, 100 sleeping,   0 stopped,   0 zombie
Cpu(s): 25.2% us, 72.4% sy,  2.3% ni,  0.0% id,  0.0% wa,  0.0% hi, 0.0% si
Mem:   1034548k total,   937264k used,    97284k free,   257980k buffers
Swap:   488336k total,      188k used,   488148k free,   287116k cached
PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
1781 root      25   0 59760 1196  568 R 49.2  0.1   0:44.51 FAH502-Linux.ex
1713 root      16   0  2676 1232  892 S 44.6  0.1   0:39.55 screen
8649 root      15   0  191m  60m 4644 S  3.3  6.0  32:26.83 X
1800 root      35  19 43728  32m  472 R  2.0  3.3   0:00.11 FahCore_78.exe
1 root      16   0  1464  492  428 S  0.0  0.0   0:00.20 init
2 root      34  19     0    0    0 S  0.0  0.0   0:00.04 ksoftirqd/0
3 root      10  -5     0    0    0 S  0.0  0.0   0:00.06 events/0
4 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 khelper
5 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 kthread


I do update each night but my other rigs are doing fine. Screen uses only a 1 or 2% like it should. My other two rigs are a AMD 800MHz and a Compaq Quad 200MHz CPU rig. They all have the same version of screen.

I also copied the config file from one of the others machines to my main rig and it still does the same thing. I guess it is not the config file either. Just for good measure, here is my emerge info:

Code:
root@smoker / # emerge info
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.13
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-z,now"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X acl acpi alsa amd apm arts artsd artswrappersuid audiofile avi berkdb bitmap-fonts bonobo bzip2 cdr chroot clanJavaScript crypt cups curl dbus doc eds emboss encode esd ethereal exif expat f-prot fam fdftk ffmpeg flac foomaticdb fortran gaim gcj gd gdbm gif gimpprint gkrellm glut gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal hbci hpijs idn imagemagick imlib innodb ipv6 java javascript jbig jpeg junit justify kde lcms libg++ libwww mad mikmod mmx mng motif mozdomi mozilla mp3 mpeg mysql ncurses nls nsplugin offensive ofx ogg oggvorbis opengl openoffice pam parse-clocks pcre pdflib perl png ppds pysol python qt quicktime readline scanner scribus sdl slang spell ssl svga tcltk tcpd tetex tiff tkinter truetype truetype-fonts tuxracer type1-fonts udev usb vorbis xine xml xml2 xmms xprint xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, PORTDIR_OVERLAY

root@smoker / #


This just started in that last day or so. If you need more info, let me know, I'll post it.

Oh, how do I find out what was the last stable version of screen? I would like to back up a version and see if that helps. May even remove/rename the config and start out fresh.

Thanks much for the help. I need to get my folding back running.

:D :D :D :D
_________________
My rig: Gigabyte GA-970A-UD3P mobo, AMD FX-8350 Eight-Core CPU, ZALMAN CNPS10X Performa CPU cooler,
G.SKILL 32GB DDR3 PC3 12800 Memory Nvidia GTX-650 video card LG W2253 Monitor
60TBs of hard drive space using LVM
Cooler Master HAF-932 Case
Back to top
View user's profile Send private message
dalek
Veteran
Veteran


Joined: 19 Sep 2003
Posts: 1353
Location: Mississippi USA

PostPosted: Sat Nov 12, 2005 5:42 pm    Post subject: Reply with quote

OK. This was not a screen problem, I didn't think it was either since it worked with everything else. It did appear to be a folding problem. I used finstall to install folding and I basically deleted the foldingathome directory and reinstalled folding. Now it works.

I did have it to do it one more time after the new install. I stopped folding and restarted it and it has not done it since. I scratched my head too.

Later

:D :D :D :D

I'm typing this in a fresh install. KDE is a LOT faster to load now. 8O
_________________
My rig: Gigabyte GA-970A-UD3P mobo, AMD FX-8350 Eight-Core CPU, ZALMAN CNPS10X Performa CPU cooler,
G.SKILL 32GB DDR3 PC3 12800 Memory Nvidia GTX-650 video card LG W2253 Monitor
60TBs of hard drive space using LVM
Cooler Master HAF-932 Case
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum