[mythtv-users] mythbackend crashes every 6-7 hours

Rob Verduijn rob.verduijn at gmail.com
Tue Nov 2 05:46:55 UTC 2010


Hello,

You could be on to something here.

There are indeed symlinks in the video storage directory that are circular
I created them because mythweb kept complaining about them.

I removed them now and now mythweb is complaining again when I click the
video link.

Error:Could not create a symlink to /data2/video/Movies/, the local
MythVideo directory for this hostname (vimes). Please create a symlink to
your MythVideo directory at data/video in order to use the video portions of
MythWeb.

And in the video storage folder mythweb has created a symbolic link to
itself
ie mythweb did : ln -s /data2/video/Movies /data2/video/Movies

Not good either

That's why I created the circular links, to keep mythweb from creating
faulty links.

Ok the circular links are gone and now there is a faulty link in the video
storage directory.
Mythweb no longer functions properly when clicking the video link.
Mythbackend is running again, let's wait and see if it crashes out again.

Rob Verduijn

2010/11/2 Gavin Hurlbut <gjhurlbu at gmail.com>

> ==23546== 1,063,660,288 bytes in 1,038,841 blocks are possibly lost in
> loss record 4,125 of 4,125
> ==23546==    at 0x402760A: malloc (in
> /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
> ==23546==    by 0x5E29F1A: qMalloc(unsigned int) (in
> /usr/lib/libQtCore.so.4.6.3)
> ==23546==    by 0x5E7DEAE: QString::realloc(int) (in
> /usr/lib/libQtCore.so.4.6.3)
> ==23546==    by 0x5E7EB65: QString::resize(int) (in
> /usr/lib/libQtCore.so.4.6.3)
> ==23546==    by 0x5E81CB2: QString::expand(int) (in
> /usr/lib/libQtCore.so.4.6.3)
> ==23546==    by 0x5E81E02: QString::insert(int, QChar const*, int) (in
> /usr/lib/libQtCore.so.4.6.3)
> ==23546==    by 0x5EA52C2:
> QAbstractFileEngineIterator::currentFilePath() const (in
> /usr/lib/libQtCore.so.4.6.3)
> ==23546==    by 0x5EA5371:
> QAbstractFileEngineIterator::currentFileInfo() const (in
> /usr/lib/libQtCore.so.4.6.3)
> ==23546==    by 0x5EFB4F9: ??? (in /usr/lib/libQtCore.so.4.6.3)
> ==23546==    by 0x5EB3906: ??? (in /usr/lib/libQtCore.so.4.6.3)
> ==23546==    by 0x5EB3AAC: QDirIterator::next() (in
> /usr/lib/libQtCore.so.4.6.3)
> ==23546==    by 0x5EAFC36: QDir::entryInfoList(QStringList const&,
> QFlags<QDir::Filter>, QFlags<QDir::SortFlag>) const (in
> /usr/lib/libQtCore.so.4.6.3)
> ==23546==
>
> OK.  I have a question.
>
> Your video directory (as configured non-storage group)...  does it
> have any symlinks in it that would possibly cause a cycle...  or do
> you have many many files?   It seems you are in an infinite loop
> filling memory.
>
> This is not normal :)
>
> If you are not sure what I mean...  then do:
>
> find /data2 -type l > /tmp/data2.txt
>
> And then check each of the reported links.  If any of them are -> . or
> -> .. or the like, that could be a serious issue.

_______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20101102/e42043ac/attachment.htm>


More information about the mythtv-users mailing list