LinHES Forums http://forums.linhes.org/ |
|
Recording download via MythWEB fails - lighttpd-upload http://forums.linhes.org/viewtopic.php?f=21&t=24628 |
Page 1 of 1 |
Author: | nigelpearson [ Tue Feb 21, 2017 2:59 am ] |
Post subject: | Recording download via MythWEB fails - lighttpd-upload |
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? |
Author: | brfransen [ Tue Feb 21, 2017 1:43 pm ] |
Post subject: | Re: Recording download via MythWEB fails - lighttpd-upload |
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/
|
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |