[mythtv-users] 64 Bit and memory

Mitch Gore mitchell.gore at gmail.com
Fri Jan 11 14:54:55 UTC 2008


> Where are they all coming from?
>
> Dean.
>
> _______________________________________________
>

So last night i believe i figured out the problem.  It has to do with a
Media monitor patch that was put in earlier for me.

The issue first started when I upgraded to fedora 8 on my old hardware.  It
was only 32bit but same case and pci cards.  At this time i was running SVN
self compiled.  i was seeing this spewed to the console when running
mythfrontend.

007-12-08 21:53:20.795 MythMediaDevice, Error:  readlink() failed for
devpts:
                        eno: No such file or directory (2)
2007-12-08 21:53:20.795 MythMediaDevice, Error:  readlink() failed for
tmpfs:
                        eno: No such file or directory (2)
2007-12-08 21:53: 20.795 MythMediaDevice, Error:  readlink() failed for
/dev/sdb1:
                        eno: Invalid argument (22)
2007-12-08 21:53:20.795 MythMediaDevice, Error:  readlink() failed for
/dev/sdc3:
                        eno: Invalid argument (22)
2007-12-08 21:53:20.795 MythMediaDevice, Error:  readlink() failed for none:
                        eno: No such file or directory (2)
2007-12-08 21:53:20.796 MythMediaDevice, Error:  readlink() failed for
sunrpc:
                        eno: No such file or directory (2)
2007-12-08 21:53:20.796 MythMediaDevice, Error:  readlink() failed for
/etc/auto.misc:
                        eno: Invalid argument (22)
2007-12-08 21:53: 20.796 MythMediaDevice, Error:  readlink() failed for
-hosts:
                        eno: No such file or directory (2)
2007-12-08 21:53:20.796 MythMediaDevice, Error:  readlink() failed for
rootfs:
                        eno: No such file or directory (2)
2007-12-08 21:53:20.796 MythMediaDevice, Error:  readlink() failed for
/dev/root:
                        eno: Invalid argument (22)
2007-12-08 21:53:20.796 MythMediaDevice, Error:  readlink() failed for /dev:
                        eno: Invalid argument (22)


 <http://www.nabble.com/user/UserProfile.jtp?user=825111>David George
responded back with *hack* fix to make it stop.  This was then implemented
in ticket 4284.  For then all was fine.

I saw this after the fix:
2007-12-09 14:05:07.247 MythMusic adding CD-Writer: 1,0,0 -- DVD+RW ND-1100A
2007-12-09 14:05:07.292 MonitorRegisterExtensions(0x40, ogg,mp3,aac,flac)
SIP listening on IP Address 192.168.0.202:5060 NAT address 192.168.0.202
SIP: Cannot register; proxy, username or password not set
2007-12-09 14:05:07.371 Starting media monitor.
2007-12-09 14:05:07.387 MythThemedMenuPrivate: Unknown tag image in
background
2007-12-09 14:05:07.389 Failed to mount /dev/sdd.
2007-12-09 14:05:07.391 Media status changed... (MEDIATYPE_DATA,
MEDIASTAT_UNPLUGGED -> MEDIASTAT_NOTMOUNTED)
2007-12-09 14:05:07.425 Failed to mount /dev/sde.
2007-12-09 14:05:07.428 Media status changed... (MEDIATYPE_DATA,
MEDIASTAT_UNPLUGGED -> MEDIASTAT_NOTMOUNTED)
2007-12-09 14:05:07.454 Failed to mount /dev/sdf.
2007-12-09 14:05:07.456 Media status changed... (MEDIATYPE_DATA,
MEDIASTAT_UNPLUGGED -> MEDIASTAT_NOTMOUNTED)
2007-12-09 14:05:07.480 Failed to mount /dev/sdg.
2007-12-09 14:05:07.483 Media status changed... (MEDIATYPE_DATA,
MEDIASTAT_UNPLUGGED -> MEDIASTAT_NOTMOUNTED)
2007-12-09 14:05:23.286 XMLParse::LoadTheme using
/usr/local/share/mythtv/themes/blootube-wide/ui.xml
2007-12-09 14:05:23.585 Connecting to backend server:
192.168.0.202:6543(try 1 of 5)
2007-12-09 14:05:23.586 Using protocol version 36

here is the thread:
http://www.nabble.com/F8-errors-when-running-SVN-console-td14235447s15552.html

Then i upgraded my motherboard, CPU, and RAM.  I reinstalled F8 64 bit and
compiled SVN.  I had some issue compiling, when this happened I thought
maybe it was my compile.  So i installed ATrpms bleeding packages.  Still
not fixed.

Last night when i was looking the cmd line of the FE i was wondering what
the heck is /dev/sde-f?  Looking at hardware the only thing different in the
box from my other was it had 2 hard drives and a pvr-150 and the case an SD
reader on the front which plugged into USB headers.

I unplugged the SD card ports and those messages went away!  I just ran
mythfrontend all last night and the comp only used 600 of the 950mb of RAM
and no SWAP.

So my conclusion is Media Monitor must have been spawning new threads of
Media Monitor and not closing them properly, they just kept making new ones
and eating memory.  I'm going to put this in the ticket as well to see if we
can come up with a real fix.

I don't use the SD reader at all but some may for mythpictures, etc.

Mitchell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080111/1ee685e9/attachment.htm 


More information about the mythtv-users mailing list