Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157457 - media-tv/mythtv-0.20_p11626 - mythbackend takes a lot of cpu
Summary: media-tv/mythtv-0.20_p11626 - mythbackend takes a lot of cpu
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Low normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-07 12:21 UTC by Bas Nedermeijer
Modified: 2006-12-17 18:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bas Nedermeijer 2006-12-07 12:21:19 UTC
My mythbackend runs fine when i just start the program. After a while (can be an hour, can be a day) the usage rises to 99% cpu-power. When i restart the program it is fine again (for a while). I have the same problem with different kernels.
The problem can occur before any recording took place. Same problem with different versions of mythtv, i tried all of the 0.20 branch (up until 0.20_p11626). I have 'repaired' the mythtv database (mythconverg) but that didnt seem to do the trick. I was unable to find any related problem on the mythtv-mailing list.

The logfile of mythtv doesnt show anything strange, at least not to me.


portage 2.1.2_rc2-r5 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r2-skas3-v9-pre9 i686)
=================================================================
System uname: 2.6.18-gentoo-r2-skas3-v9-pre9 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.6
Last Sync: Thu, 07 Dec 2006 18:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -msse2 -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/glftpd/etc /opt/glftpd/ftp-data /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -msse2 -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.easynet.nl/mirror/gentoo/"
LDFLAGS="-Wl,-z,now"
LINGUAS="en en_US en_GB nl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/java-experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib alsa alsa_cards_cs46xx alsa_cards_intel8x0 apache2 arts automount bash-completion berkdb bitmap-fonts bluetooth branding bzip2 cairo caps cdb cdr cli cracklib crypt cups curl curlwrappers dbus dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode esd examples fam fbcon ffmpeg firefox flac font-server fortran gd gdbm gif glitz gmp gnokii gnome gpm graphviz gstreamer gtk gtk2 hal iconv input_devices_keyboard input_devices_mouse ipv6 isdnlog jack java jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux ldap libcaca libg++ linguas_en linguas_en_GB linguas_en_US linguas_nl lirc lirc_devices_none lua mad matroska mhash mikmod mjpeg mmx mp3 mpeg mysql mythtv ncurses netboot nls nptl nptlonly nsplugin nvidia ogg openexr opengl oss pam pcre pdf perl pic png ppds pppd python qt3 qt4 quicktime readline real reflection rtc samba sdl session spell spl sqlite sse sse2 ssl svg svga tcl tcltk tcpd theora threads transcode truetype truetype-fonts type1-fonts udev unicode usb userland_GNU utempter v4l v4l2 video_cards_nvidia vorbis win32codecs x264 xcomposite xine xml xorg xprint xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2006-12-07 19:48:07 UTC
It's most likely a UPnP issue. Try disabling UPnP, add --noupnp to the init script's start up.
Comment 2 Bas Nedermeijer 2006-12-14 09:25:46 UTC
(In reply to comment #1)
> It's most likely a UPnP issue. Try disabling UPnP, add --noupnp to the init
> script's start up.
> 

Thanks! I am running it now for a couple of days, and the processor usage hasn't gone up since. Maybe this kind of info is worth mentioning after emerging mythtv  :)
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2006-12-17 18:56:29 UTC
Fixed in mythtv-0.20_p12172 as well.