View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 2 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Feb 21, 2017 2:59 am 
Offline
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 743
Location: Sydney, Australia
8.4.2 install, after using it for a while, any download of recordings from MythWeb pages fails with big recordings (I think it dies at around 1.5GB).

Logs say:

Code:
# tail -n 12 /var/log/`date -I`/*_lighttpd.log | head -4
Feb 21 19:40:24 mythtv-server lighttpd[1469]: 127.0.0.1 localhost - [21/Feb/2017:19:40:24 +1100] "GET / HTTP/1.1" 200 607 "-" "Xymon xymonnet/4.3.28"
Feb 21 19:40:25 mythtv-server lighttpd[1469]: (chunk.c.581) write() temp-file /var/tmp/lighttpd-upload-WoLfJ1 failed:
Feb 21 19:40:25 mythtv-server lighttpd[1469]: (mod_cgi.c.786) demuxer failed: 
Feb 21 19:40:26 mythtv-server lighttpd[1469]: 127.0.0.1 localhost - [21/Feb/2017:19:40:26 +1100] "GET /xymon/hobbit-cgi/ghostlist.sh?SORT=name&MAXAGE=300&TEXT HTTP/1.1" 200 0 "-" "Python-urllib/2.7"


Root doesn't have a huge amount of space:

Code:
# df /var/tmp
Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/sda1        4674688 2950608   1479960  67% /


but I assume all installs will have similar layout.


Real question is, why does HTTPd need to copy the recording?

_________________
| Nigel Pearson, nigel@ind.tansu.com.au
| Telstra BID, Sydney, Australia
|
|"Things you own end up owning you" - Tyler, Fight Club


Top
 Profile  
 
PostPosted: Tue Feb 21, 2017 1:43 pm 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1017
Location: SC
Seeing the same thing here but it failed at about 900MB for me. Looks like it fails when / runs out of space and for you that was 1.5GB.

I don't see a way to disable lighttpd from creating the temp files. We can add another tmp location to /etc/lighttpd/lighttpd.conf:
Code:
server.upload-dirs = ( "/var/tmp/", "/data/storage/disk0/media/tmp/" )
And adjust the permissions:
Code:
chmod 1777 /data/storage/disk0/media/tmp/


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: Yahoo [Bot] and 7 guests


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 post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu