[mythtv-users] mythbackend crashes every 6-7 hours
Rob Verduijn
rob.verduijn at gmail.com
Tue Nov 2 05:49:23 UTC 2010
Oh btw
Defragging didn't do much good
xfs_db -c frag -r /dev/system/data2
actual 100214, ideal 1163, fragmentation factor 98.84%
xfs_db -c freesp -r /dev/system/data2
from to extents blocks pct
1 1 70 70 0.00
2 3 22 52 0.00
4 7 41 240 0.00
8 15 110 1256 0.01
16 31 1372 22422 0.22
32 63 979 36749 0.35
64 127 769 67759 0.65
128 255 5468 909456 8.75
256 511 47 14417 0.14
512 1023 6 5174 0.05
1024 2047 1 1171 0.01
2048 4095 1 3535 0.03
4096 8191 2 10872 0.10
16384 32767 4 98051 0.94
32768 65535 5 226895 2.18
65536 131071 6 492906 4.74
131072 262143 8 1593529 15.34
262144 524287 5 2106212 20.27
524288 1048575 5 3630188 34.94
1048576 2097151 1 1168264 11.24
Rob Verduijn
2010/11/2 Rob Verduijn <rob.verduijn at gmail.com>
> 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/ca3cf3b5/attachment.htm>
More information about the mythtv-users
mailing list