twg

Members
  • Posts

    126
  • Joined

  • Last visited

Everything posted by twg

  1. so I'm taking a closer look at what's causing the freezes. Here's my setup: AMD Athlon II x3 2.9GHz 4gig ram unRaid 4.7 running rock solid for months Here are the packages I've installed: root@Tower:/boot/packages# ls -alt |grep auto_install -rwxrwxrwx 1 root root 11137 Jun 23 08:58 AirVideoServerLinux.jar.auto_install* -rwxrwxrwx 1 root root 119 Jun 22 08:52 jre-6u11-i586-1.tgz.auto_install* -rwxrwxrwx 1 root root 13063 Jun 20 23:56 minidlna-1.0.19-i486-2.tgz.auto_install* -rwxrwxrwx 1 root root 1504 Jun 20 22:50 unraid-swapfile.auto_install* -rwxrwxrwx 1 root root 98 Apr 17 10:46 infozip-5.52-i486-2.tgz.auto_install* -rwxrwxrwx 1 root root 633 Apr 11 22:17 monthly_parity_check.auto_install* -rwxrwxrwx 1 root root 662 Apr 1 08:21 php-5.2.8-i486-1.tgz.auto_install* -rwxrwxrwx 1 root root 501 Mar 26 19:27 powerdown-1.02-noarch-unRAID.tgz.auto_install* -rwxrwxrwx 1 root root 2081 Mar 26 19:26 apcupsd-3.14.3-i486-1kjz.tgz.auto_install* -rwxrwxrwx 1 root root 110 Mar 26 19:17 unrar-3.7.8-i486-1stc_slack12.1.tgz.auto_install* -rwxrwxrwx 1 root root 97 Mar 26 19:14 rsync-3.0.4-i486-1.tgz.auto_install* -rwxrwxrwx 1 root root 101 Mar 26 19:12 pciutils-2.2.10-i486-2.tgz.auto_install* -rwxrwxrwx 1 root root 4892 Mar 26 19:06 unraid-status-email.auto_install* -rwxrwxrwx 1 root root 120 Mar 26 19:02 hdparm-9.27-i486-1.txz.auto_install* -rwxrwxrwx 1 root root 98 Mar 26 19:01 bwm-ng-0.6-i486-2bj.tgz.auto_install* -rwxrwxrwx 1 root root 2344 Mar 20 18:45 ssmtp_2.62.orig.tar.gz.auto_install* -rwxrwxrwx 1 root root 135 Mar 20 18:41 screen-4.0.3-i486-1.tgz.auto_install* and here's my go script: #!/bin/bash # Start the Management Utility #create another temp ramdisk to store log to to avoid log explosion /boot/scripts/syslog_tmpfs ulimit -n 16404;/usr/local/sbin/emhttp & /boot/unmenu/uu ifconfig eth0 mtu 6000 #turn on SMART on all HD for i in /dev/sd? do smartctl -a -s on $i done /boot/scripts/cache_dirs -w cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | xargs -n1 sh -c /boot/config/snap/snap.sh -b #mount DNS-323 mkdir -p /mnt/dns323 mount //dns323/Volume_1 /mnt/dns323 -o passwords= #drop Pictures/Personal data script into cron cp /boot/scripts/dns323_sync /etc/cron.daily/ results of free: root@Tower:/boot# free total used free shared buffers cached Mem: 4115664 3987444 128220 0 71544 3553976 -/+ buffers/cache: 361924 3753740 Swap: 10485752 0 10485752 I temporarily removed the ramdrive for the log explosion fix, and also removed cache_dirs. I also removed the swapfile and minidlna. I also am starting up uuMenu regularly instead of calling ulimit... free now reports: root@Tower:~# free total used free shared buffers cached Mem: 4115664 772724 3342940 0 7392 637076 -/+ buffers/cache: 128256 3987408 Swap: 0 0 0 I ran AirVideo, it played a 720p mkv for about 5min and then froze again... at this point I'm stumped... not sure what else to do ? Does AirVideo have some kind of debugging I can turn on ? or logging I can save and hopefully capture before the system freezes ?
  2. i'm not sure what's going on, I'm experiencing the same server crashes with the new 2.4.5 as I did with 2.2.5 It plays sometimes for a few minutes, then it would crash. I'll have to go back and see if there's a conflict with something else.
  3. actualy, I might have spoken too soon, playing videos last night, the unRaid server would crash pretty often, happened twice and then I decided to call it a night. I'm going to delete all of the old and new files and directories, then use the new conf to download everything from scratch and recompile... Note that the first time I tried to upgrade, I did not use my PC to download and only used the conf file, I'm not sure how the 2.2.5 file ended up with a newer datestamp than 2.4.5...
  4. ok so I downloaded and put ffmpeg-for-2.2.5.tar.bz2 back in the /boot/packages folder. For the record, they are: root@Tower:/boot/packages# ls -alt |grep ffmpeg -rwxrwxrwx 1 root root 3169620 2011-06-22 21:10 ffmpeg-for-2.2.5.tar.bz2* drwxrwxrwx 14 root root 8192 2011-06-22 09:25 ffmpeg/ -rwxrwxrwx 1 root root 4322989 2011-05-09 17:00 ffmpeg-for-2.4.5-beta6.tar.bz2* You'll notice right away that the date for ffmpeg-for-2.4.5 is actually earlier than 2.2.5. This could be because I downloaded via a PC browser and copied it to the linux box, instead of downloading it via the old conf file. not sure if downloading via the old conf file results in the same behaviour or not. I have everything working, so the result of the above is: root@Tower:/boot/packages# /boot/packages/ffmpeg/ffmpeg -version 2>&1 | awk 'NF==2' | awk '{ field = $NF}; END{ print field }' ffmpeg-for-2.4.5-beta6.tar.bz2 and root@Tower:/boot/packages# ls -lrt /boot/packages/ | grep ffmpeg-for- | awk 'END{print $NF}' ffmpeg-for-2.2.5.tar.bz2* So of course in this case, it pulled up 2.2.5. I deleted ffmpeg-for-2.2.5, then I copied over the old conf file, then via the unMenu clicked on download AirVideo, I see the following: root@Tower:/boot/packages# ls -alt |grep ffmpeg drwxrwxrwx 14 root root 8192 2011-06-22 09:25 ffmpeg/ -rwxrwxrwx 1 root root 4322989 2011-05-09 17:00 ffmpeg-for-2.4.5-beta6.tar.bz2* -rwxrwxrwx 1 root root 3169620 2010-02-07 15:06 ffmpeg-for-2.2.5.tar.bz2* The result of the above two commands are: root@Tower:/boot/packages# /boot/packages/ffmpeg/ffmpeg -version 2>&1 | awk 'NF==2' | awk '{ field = $NF}; END{ print field }' ffmpeg-for-2.4.5-beta6.tar.bz2 root@Tower:/boot/packages# ls -lrt /boot/packages/ | grep ffmpeg-for- | awk 'END{print $NF}' ffmpeg-for-2.4.5-beta6.tar.bz2* which is the correct behaviour. I installed ffmpeg-2.2.5, then deleted 2.4.5, copied over the new conf file, then clicked download AirVideo via unMenu, and I get: root@Tower:/boot/packages# ls -alt |grep ffmpeg drwxrwxrwx 14 root root 8192 2011-06-22 09:25 ffmpeg/ -rwxrwxrwx 1 root root 4322989 2011-05-09 17:00 ffmpeg-for-2.4.5-beta6.tar.bz2* -rwxrwxrwx 1 root root 3169620 2010-02-07 15:06 ffmpeg-for-2.2.5.tar.bz2* root@Tower:/boot/packages# /boot/packages/ffmpeg/ffmpeg -version 2>&1 | awk 'NF==2' | awk '{ field = $NF}; END{ print field }' ffmpeg-for-2.4.5-beta6.tar.bz2 root@Tower:/boot/packages# ls -lrt /boot/packages/ | grep ffmpeg-for- | awk 'END{print $NF}' ffmpeg-for-2.4.5-beta6.tar.bz2* so the results are as expected. I then clicked install and then check again: root@Tower:/boot/packages# /boot/packages/ffmpeg/ffmpeg -version 2>&1 | awk 'NF==2' | awk '{ field = $NF}; END{ print field }' ffmpeg-for-2.4.5-beta6.tar.bz2 root@Tower:/boot/packages# ls -lrt /boot/packages/ | grep ffmpeg-for- | awk 'END{print $NF}' ffmpeg-for-2.4.5-beta6.tar.bz2* I went back and realized that I didn't check one thing, which was after 2.2.5 was installed to check the version of ffmpeg, so I did just that, copied the old conf file over and installed AirVideo, then checked using ffmpeg -version, guess what: root@Tower:/boot/packages/ffmpeg# ffmpeg -version ffmpeg version ffmpeg-for-2.4.5-beta6.tar.bz2, Copyright © 2000-2011 the FFmpeg developers built on Jun 22 2011 09:24:33 with gcc 4.2.4 configuration: --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-x11grab --disable-shared --enable-static libavutil 51. 2. 1 / 51. 2. 1 libavcodec 53. 3. 0 / 53. 3. 0 libavformat 53. 0. 3 / 53. 0. 3 libavdevice 53. 0. 0 / 53. 0. 0 libavfilter 2. 4. 0 / 2. 4. 0 libswscale 0. 14. 0 / 0. 14. 0 libpostproc 51. 2. 0 / 51. 2. 0 ffmpeg ffmpeg-for-2.4.5-beta6.tar.bz2 libavutil 51. 2. 1 / 51. 2. 1 libavcodec 53. 3. 0 / 53. 3. 0 libavformat 53. 0. 3 / 53. 0. 3 libavdevice 53. 0. 0 / 53. 0. 0 libavfilter 2. 4. 0 / 2. 4. 0 libswscale 0. 14. 0 / 0. 14. 0 libpostproc 51. 2. 0 / 51. 2. 0 It's still the NEW version of ffmpeg... I'm not sure what the hell is going on, clearly, the new and the old conf files have some issues that doesn't cover all the cases of removing and re-installing the correct version of ffmpeg. I blew away the ffmpeg directory, edited the config file, then clicked on Re-install Now... root@Tower:/boot/packages# ls -lrt /boot/packages/ | grep ffmpeg-for- | awk 'END{print $NF}' ffmpeg-for-2.4.5-beta6.tar.bz2* root@Tower:/boot/packages# /boot/packages/ffmpeg/ffmpeg -version 2>&1 | awk 'NF==2' | awk '{ field = $NF}; END{ print field }' UNKNOWN WTH?!?!? Sorry, not sure if this helps you or not. Perhaps you can ask the other user to check the datestamp on his files since I seem to be having a hard time replicating my original problem. I've reinstalled 2.4.5 and everything seems to work.
  5. Opps... I'm not sure if it's relevant now, because I blew away ffmpeg-for-2.2.5... but I have the answer to your question, I realized that this line in the conf file: PACKAGE_INSTALLATION LATEST_DOWNLOADED_VERSION=`ls -lrt ${PACKAGE_DIRECTORY} | grep ffmpeg-for- | awk 'END{print $NF}'` was grabbing the old version. Even after I renamed it to a .bak extension... so I have deleted the old version and now in the process of "reinstalling" the AirVideo package which should in theory compile the newest version of ffmpeg now. It's now re-installed, confirmed that ffmpeg 2.4.5 is instealld and working! btw: Do I need the Java JRE to enable on reboot for AirVideo to work ?
  6. root@Tower:/boot/packages# cat test.properties path.ffmpeg = /boot/packages/ffmpeg/ffmpeg path.mp4creator = /usr/bin/mp4creator path.faac = /usr/bin/faac password = 12345 subtitles.encoding = windows-1250 subtitles.font = Verdana folders = Movies:/mnt/user/Videos/movies,TV:/mnt/user/Videos/tv root@Tower:/boot/packages# cat AirVideoServerLinux.jar.manual_install PACKAGE_DIRECTORY=/boot/packages SCRIPT_DIRECTORY=/boot/unmenu MyHost=Tower MyPort=8080 vPassword="12345" vFolders="Movies:/mnt/user/Videos/movies,TV:/mnt/user/Videos/tv" vTMPDIR="/var/tmp" installpkg "${PACKAGE_DIRECTORY}"/x264-20110510-i486-1alien.tgz installpkg "${PACKAGE_DIRECTORY}"/faac-1.26-i486-1gds.tgz installpkg "${PACKAGE_DIRECTORY}"/faad2-2.6.1-i486-2gds.tgz installpkg "${PACKAGE_DIRECTORY}"/xvidcore-1.2.1-i486-1sl.tgz installpkg "${PACKAGE_DIRECTORY}"/jam-2.5-i486-2gal.tgz installpkg "${PACKAGE_DIRECTORY}"/lame-3.98.2-i486-1gds.tgz installpkg "${PACKAGE_DIRECTORY}"/mpeg4ip-1.5.0.1-i486-1ahl.tgz installpkg "${PACKAGE_DIRECTORY}"/yasm-0.7.2-i486-1sl.tgz installpkg "${PACKAGE_DIRECTORY}"/libX11-1.1.5-i486-1.tgz installpkg "${PACKAGE_DIRECTORY}"/libxcb-1.0-i486-1ced.tgz installpkg "${PACKAGE_DIRECTORY}"/libXau-1.0.4-i486-1.tgz installpkg "${PACKAGE_DIRECTORY}"/pkg-config-0.23-i486-2.txz installpkg "${PACKAGE_DIRECTORY}"/git-1.7.1-i486-1.txz if [[ ! -z $(ps -ef | grep AirVideoServerLinux.jar | grep -v grep | awk '{print$2}') ]]; then sleep 5 for i in $(ps -ef | grep AirVideoServerLinux.jar | grep -v grep | awk '{print$2}') do if [[ $(ps -fp $i | awk 'NR>1' | awk '{print $10}') = "${PACKAGE_DIRECTORY}/AirVideoServerLinux.jar" ]]; then kill $i echo "<font color=\"red\"><b>Killed \"$i\"</b></font>" fi sleep 5 done fi sleep 5 MEM="$(free -m | grep Mem: | awk '{print$2}')" ulimit -v 250000 if [ "${MEM}" -lt 768 ]; then echo "Warning: You may not have enough memory ( $MEM ) to compile ffmpeg, but we'll try and see how far we can get." fi INSTALLED_FFMPEG_VERSION=`${PACKAGE_DIRECTORY}/ffmpeg/ffmpeg -version 2>&1 | awk 'NF==2' | awk '{ field = $NF}; END{ print field }'` LATEST_DOWNLOADED_VERSION=`ls -lrt ${PACKAGE_DIRECTORY} | grep ffmpeg-for- | awk 'END{print $NF}'` CACHE_PRESSURE=`sysctl vm.vfs_cache_pressure| awk '{print $3}'` if [[ ! -x "${PACKAGE_DIRECTORY}/ffmpeg/ffmpeg" || "${INSTALLED_FFMPEG_VERSION}" != "${LATEST_DOWNLOADED_VERSION}" ]]; then test ! -f /usr/bin/bzip2 && echo "An untar program was not detected. Please install the Parallel bzip package." test ! -f /usr/bin/bzip2 && exit test ! -f /usr/bin/cc && echo "The C compiler has not been installed. ffmpeg compile not possible" test ! -f /usr/bin/cc && exit rm -rf "${PACKAGE_DIRECTORY}"/ffmpeg/ sync echo 3 > /proc/sys/vm/drop_caches sysctl -w vm.vfs_cache_pressure=200 cd "${PACKAGE_DIRECTORY}"; if [ -f /usr/bin/bzip2 ]; then tar --no-same-owner -xf "${LATEST_DOWNLOADED_VERSION}"; else tar --use-compress-prog=pbzip2 --no-same-owner -xf "${LATEST_DOWNLOADED_VERSION}"; fi mkdir -p "${vTMPDIR-/var/tmp}" TMPDIR="${vTMPDIR-/var/tmp}"; export TMPDIR echo TMPDIR set to $TMPDIR cd "${PACKAGE_DIRECTORY}/ffmpeg"; mv "${PACKAGE_DIRECTORY}"/ffmpeg/version.sh "${PACKAGE_DIRECTORY}"/ffmpeg/version.sh.old echo '#!/bin/sh' > "${PACKAGE_DIRECTORY}"/ffmpeg/version.sh echo "" >> "${PACKAGE_DIRECTORY}"/ffmpeg/version.sh echo "# no revision number found" >> "${PACKAGE_DIRECTORY}"/ffmpeg/version.sh echo "test \"\$revision\" || revision=UNKNOWN" >> "${PACKAGE_DIRECTORY}"/ffmpeg/version.sh echo "" >> "${PACKAGE_DIRECTORY}"/ffmpeg/version.sh echo "# releases extract the version number from the VERSION file" >> "${PACKAGE_DIRECTORY}"/ffmpeg/version.sh echo "test \"\$version\" || version=\$revision" >> "${PACKAGE_DIRECTORY}"/ffmpeg/version.sh echo "" >> "${PACKAGE_DIRECTORY}"/ffmpeg/version.sh echo "NEW_REVISION=\"#define FFMPEG_VERSION \\\"\$version\\\"\"" >> "${PACKAGE_DIRECTORY}"/ffmpeg/version.sh echo "OLD_REVISION=\$(cat version.h 2> /dev/null)" >> "${PACKAGE_DIRECTORY}"/ffmpeg/version.sh echo "" >> "${PACKAGE_DIRECTORY}"/ffmpeg/version.sh echo "# Update version.h only on revision changes to avoid spurious rebuilds" >> "${PACKAGE_DIRECTORY}"/ffmpeg/version.sh echo "if test \"\$NEW_REVISION\" != \"\$OLD_REVISION\"; then" >> "${PACKAGE_DIRECTORY}"/ffmpeg/version.sh echo " echo \"\$NEW_REVISION\" > \"\$2\"" >> "${PACKAGE_DIRECTORY}"/ffmpeg/version.sh echo "fi" >> "${PACKAGE_DIRECTORY}"/ffmpeg/version.sh sed -i "s@UNKNOWN@${LATEST_DOWNLOADED_VERSION}@ " "${PACKAGE_DIRECTORY}"/ffmpeg/version.sh ./configure.orig.fixed --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads \ --enable-libmp3lame --enable-libx264 \ --enable-libxvid --enable-x11grab --disable-shared --enable-static; make fi sysctl -w vm.vfs_cache_pressure=$CACHE_PRESSURE test ! -f "${PACKAGE_DIRECTORY}/ffmpeg/ffmpeg" && echo "ffmpeg compile failed. install aborted" test ! -f "${PACKAGE_DIRECTORY}/ffmpeg/ffmpeg" && exit test ! -f /usr/lib/java/bin/java && installpkg "${PACKAGE_DIRECTORY}"/jre-6u11-i586-1.tgz [ ! -d /etc/rc.d/unraid.d ] && mkdir /etc/rc.d/unraid.d if [ ! -f /etc/rc.d/unraid.d/rc.unraid_airvideo ]; then echo 'case $1 in' >/etc/rc.d/unraid.d/rc.unraid_airvideo echo "start)" >>/etc/rc.d/unraid.d/rc.unraid_airvideo echo "cd ${PACKAGE_DIRECTORY}" >>/etc/rc.d/unraid.d/rc.unraid_airvideo echo "air-video-server.sh test.properties" >>/etc/rc.d/unraid.d/rc.unraid_airvideo echo ";;" >>/etc/rc.d/unraid.d/rc.unraid_airvideo echo "stop)" >>/etc/rc.d/unraid.d/rc.unraid_airvideo echo "while [[ \$(ps -ef | grep AirVideoServerLinux.jar | grep -v grep | awk '{print\$10}' | awk '{ field = \$NF}; END{ print field }') != \"\" ]]" >>/etc/rc.d/unraid.d/rc.unraid_airvideo echo "do" >>/etc/rc.d/unraid.d/rc.unraid_airvideo echo " if [[ \$(ps -ef | grep AirVideoServerLinux.jar | grep -v grep | awk '{print\$10}' | awk '{ field = \$NF}; END{ print field }') == \"\${PACKAGE_DIRECTORY}/AirVideoServerLinux.jar\" ]]; then" >>/etc/rc.d/unraid.d/rc.unraid_airvideo echo " kill \$(ps -ef | grep AirVideoServerLinux.jar | grep -v grep | awk '{print\$2}' | awk '{ field = \$NF}; END{ print field }');" >>/etc/rc.d/unraid.d/rc.unraid_airvideo echo " sleep 5" >>/etc/rc.d/unraid.d/rc.unraid_airvideo echo " fi" >>/etc/rc.d/unraid.d/rc.unraid_airvideo echo "done" >>/etc/rc.d/unraid.d/rc.unraid_airvideo echo ";;" >>/etc/rc.d/unraid.d/rc.unraid_airvideo echo "esac" >>/etc/rc.d/unraid.d/rc.unraid_airvideo chmod +x /etc/rc.d/unraid.d/rc.unraid_airvideo fi echo "#UNMENU_RELEASE \$Revision: 75 \$ \$Date: 2010-04-25 22:20:22 -0400 (Sun, 25 Apr 2010) \$" > "${SCRIPT_DIRECTORY}/41-unmenu_user_script_start_airvideo" echo "#define USER_SCRIPT_LABEL Start AirVideo" >> "${SCRIPT_DIRECTORY}/41-unmenu_user_script_start_airvideo" echo "#define USER_SCRIPT_DESCR This will start the AirVideo service so you can stream and live convert files" >> "${SCRIPT_DIRECTORY}/41-unmenu_user_script_start_airvideo" echo "#define USER_SCRIPT_TEST test -e /boot/packages/AirVideoServerLinux.jar && echo \"Start AirVideo\"" >> "${SCRIPT_DIRECTORY}/41-unmenu_user_script_start_airvideo" echo "echo \"<pre>\"" >> "${SCRIPT_DIRECTORY}/41-unmenu_user_script_start_airvideo" echo "set -xv" >> "${SCRIPT_DIRECTORY}/41-unmenu_user_script_start_airvideo" echo "cd ${PACKAGE_DIRECTORY}" >> "${SCRIPT_DIRECTORY}/41-unmenu_user_script_start_airvideo" echo "echo \"air-video-server.sh test.properties &\" | at now + 1 minute" >> "${SCRIPT_DIRECTORY}/41-unmenu_user_script_start_airvideo" echo >> "${SCRIPT_DIRECTORY}/41-unmenu_user_script_start_airvideo" echo "#UNMENU_RELEASE \$Revision: 75 \$ \$Date: 2010-04-25 22:20:22 -0400 (Sun, 25 Apr 2010) \$" > "${SCRIPT_DIRECTORY}/41-unmenu_user_script_stop_airvideo" echo "#define USER_SCRIPT_LABEL Stop AirVideo" >> "${SCRIPT_DIRECTORY}/41-unmenu_user_script_stop_airvideo" echo "#define USER_SCRIPT_DESCR This will stop the AirVideo service from running so that the array can be stopped cleanly" >> "${SCRIPT_DIRECTORY}/41-unmenu_user_script_stop_airvideo" echo "#define USER_SCRIPT_TEST test -x /boot/packages/AirVideoServerLinux.jar && echo \"Stop AirVideo\"" >> "${SCRIPT_DIRECTORY}/41-unmenu_user_script_stop_airvideo" echo "echo \"<pre>\"" >> "${SCRIPT_DIRECTORY}/41-unmenu_user_script_stop_airvideo" echo "set -xv" >> "${SCRIPT_DIRECTORY}/41-unmenu_user_script_stop_airvideo" echo "if [[ ! -z \$(ps -ef | grep AirVideoServerLinux.jar | grep -v grep | awk '{print\$2}') ]]; then" >> "${SCRIPT_DIRECTORY}/41-unmenu_user_script_stop_airvideo" echo "sleep 5" >> "${SCRIPT_DIRECTORY}/41-unmenu_user_script_stop_airvideo" echo " for i in \$(ps -ef | grep AirVideoServerLinux.jar | grep -v grep | awk '{print\$2}')" >> "${SCRIPT_DIRECTORY}/41-unmenu_user_script_stop_airvideo" echo " do" >> "${SCRIPT_DIRECTORY}/41-unmenu_user_script_stop_airvideo" echo " if [[ \$(ps -fp \$i | awk 'NR>1' | awk '{print \$10}') = \"\${PACKAGE_DIRECTORY}/AirVideoServerLinux.jar\" ]]; then" >> "${SCRIPT_DIRECTORY}/41-unmenu_user_script_stop_airvideo" echo " kill \$i" >> "${SCRIPT_DIRECTORY}/41-unmenu_user_script_stop_airvideo" echo " echo \"<font color=\"red\"><b>Killed \"\$i\"</b></font>\"" >> "${SCRIPT_DIRECTORY}/41-unmenu_user_script_stop_airvideo" echo " fi" >> "${SCRIPT_DIRECTORY}/41-unmenu_user_script_stop_airvideo" echo " sleep 5" >> "${SCRIPT_DIRECTORY}/41-unmenu_user_script_stop_airvideo" echo " done" >> "${SCRIPT_DIRECTORY}/41-unmenu_user_script_stop_airvideo" echo "fi" >> "${SCRIPT_DIRECTORY}/41-unmenu_user_script_stop_airvideo" echo >> "${SCRIPT_DIRECTORY}/41-unmenu_user_script_stop_airvideo" rm -f "${PACKAGE_DIRECTORY}"/test.properties touch "${PACKAGE_DIRECTORY}"/test.properties echo "path.ffmpeg = ${PACKAGE_DIRECTORY}/ffmpeg/ffmpeg" >> "${PACKAGE_DIRECTORY}"/test.properties echo "path.mp4creator = /usr/bin/mp4creator" >> "${PACKAGE_DIRECTORY}"/test.properties echo "path.faac = /usr/bin/faac" >> "${PACKAGE_DIRECTORY}"/test.properties echo "password = passwordPlaceHolder" >> "${PACKAGE_DIRECTORY}"/test.properties echo "subtitles.encoding = windows-1250" >> "${PACKAGE_DIRECTORY}"/test.properties echo "subtitles.font = Verdana" >> "${PACKAGE_DIRECTORY}"/test.properties echo "folders = folderPlaceHolder" >> "${PACKAGE_DIRECTORY}"/test.properties sed -i s@passwordPlaceHolder@"${vPassword}"@ "${PACKAGE_DIRECTORY}"/test.properties sed -i s@folderPlaceHolder@"${vFolders}"@ "${PACKAGE_DIRECTORY}"/test.properties rm -f "${PACKAGE_DIRECTORY}"/air-video-server.sh touch "${PACKAGE_DIRECTORY}"/air-video-server.sh echo "#!/bin/bash" >> "${PACKAGE_DIRECTORY}"/air-video-server.sh echo "" >> "${PACKAGE_DIRECTORY}"/air-video-server.sh echo "PROPFILE='/etc/conf.d/air-video-server'" >> "${PACKAGE_DIRECTORY}"/air-video-server.sh echo "LOCALPROP=\`echo ~/.air-video-server/air-video-server.properties\`" >> "${PACKAGE_DIRECTORY}"/air-video-server.sh echo "if [ -a \"\$1\" ]; then" >> "${PACKAGE_DIRECTORY}"/air-video-server.sh echo " PROPFILE=\"\$1\"" >> "${PACKAGE_DIRECTORY}"/air-video-server.sh echo "else" >> "${PACKAGE_DIRECTORY}"/air-video-server.sh echo " [ -a \"\$LOCALPROP\" ] && PROPFILE=\"\$LOCALPROP\"" >> "${PACKAGE_DIRECTORY}"/air-video-server.sh echo "fi" >> "${PACKAGE_DIRECTORY}"/air-video-server.sh echo "exec /usr/lib/jre1.6.0_11/bin/java -jar "${PACKAGE_DIRECTORY}"/AirVideoServerLinux.jar \"\$PROPFILE\"" >> "${PACKAGE_DIRECTORY}"/air-video-server.sh chmod +x "${PACKAGE_DIRECTORY}"/air-video-server.sh echo "Version: 2.4.5-beta6" > /var/log/airvideo cd "${PACKAGE_DIRECTORY}" echo "bash air-video-server.sh test.properties" | at now + 1 minute root@Tower:/boot/packages/ffmpeg# ls COPYING.GPLv2* LICENSE* _resample.c* cmdutils.o* configure.orig.fixed* ffplay.c* libavdevice/ tools/ COPYING.GPLv3* MAINTAINERS* _segmenter.c* cmdutils_common_opts.h* configure.rej* ffpresets/ libavfilter/ version.h* COPYING.LGPLv2.1* Makefile* _snapshot* common.mak* doc/ ffserver* libavformat/ version.sh* COPYING.LGPLv3* README* _unicode.c* config.err* ffmpeg* ffserver.c* libavutil/ version.sh.old* CREDITS* _configure* _unicode.h* config.h* ffmpeg-mingw32.diff* ffserver.d* libpostproc/ Changelog* _configure.mingw* cmdutils.c* config.mak* ffmpeg.c* ffserver.h* libswscale/ Doxyfile* _make* cmdutils.d* configure* ffmpeg.d* ffserver_g* subdir.mak* INSTALL* _overlay.c* cmdutils.h* configure.orig* ffmpeg_g* libavcodec/ tests/ Note that in your original post, you had "ps -ef |grep Airvideo" which results in nothing because the "V" needs to be capitalized... root@Tower:/boot/packages/ffmpeg# ps -ef |grep AirVideo root 7735 7734 1 08:52 ? 00:00:04 /usr/lib/jre1.6.0_11/bin/java -jar /boot/packages/AirVideoServerLinux.jar test.properties root 11713 10776 0 08:55 pts/0 00:00:00 grep AirVideo root@Tower:/boot/packages/ffmpeg# ffmpeg -version FFmpeg version ffmpeg-for-2.2.5.tar.bz2, Copyright (c) 2000-2010 Fabrice Bellard, et al. built on Jun 20 2011 22:44:38 with gcc 4.2.4 configuration: --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-x11grab --disable-shared --enable-static libavutil 50. 8. 0 / 50. 8. 0 libavcodec 52.52. 0 / 52.52. 0 libavformat 52.50. 0 / 52.50. 0 libavdevice 52. 2. 0 / 52. 2. 0 libswscale 0.10. 0 / 0.10. 0 libpostproc 51. 2. 0 / 51. 2. 0 FFmpeg ffmpeg-for-2.2.5.tar.bz2 libavutil 50. 8. 0 / 50. 8. 0 libavcodec 52.52. 0 / 52.52. 0 libavformat 52.50. 0 / 52.50. 0 libavdevice 52. 2. 0 / 52. 2. 0 libswscale 0.10. 0 / 0.10. 0 libpostproc 51. 2. 0 / 51. 2. 0 The last one is what is probably causing the issue... I know I have downloaded 2.4.5 It's listed on the AirVideo packages in the unMenu item.
  7. nothing really except the basics like unMenu... i don't have any of the stuff that the other folks do. I even created a swapfile just in case... I have 4 gigs of ram and 10 gigs of swap space. I'm trying to play on an iPad 1 as well, latest ver of AirVideo from iTunes. so it was weird, it seemed like I was running all the new binaries except the actual AirVideo binary, I redownloaded and had to fiddle around to get it to recompile all the new stuff... now I am experiencing the same problem as the other poster here, Queball... doesn't seem to be video file dependent, happens to all video files... when I downgrade to the old version of AirVideo server, it seems to work... for about 5 min after which the unRaid server freezes.
  8. it's weird, whenever i try to run AirVideo, after a few minutes, the server will crash. Nothing in the logs (I had a tail -f /var/tmp/log) and here's the result of the "top" command that was running at the time: top - 23:21:03 up 31 min, 3 users, load average: 3.20, 2.31, 1.71 Tasks: 138 total, 3 running, 135 sleeping, 0 stopped, 0 zombie Cpu(s): 0.1%us, 11.0%sy, 47.1%ni, 36.5%id, 2.2%wa, 0.9%hi, 2.2%si, 0.0%st Mem: 4115664k total, 3988244k used, 127420k free, 25260k buffers Swap: 0k total, 0k used, 0k free, 3616676k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 12692 root 22 2 210m 111m 2780 R 146 2.8 1:57.54 ffmpeg 1693 root 20 0 0 0 0 R 23 0.0 7:08.03 unraidd 1624 root 20 0 0 0 0 D 7 0.0 2:15.96 mdrecoveryd 1531 root 20 0 1656 232 156 S 1 0.0 0:10.23 dhcpcd 1501 root 20 0 1660 468 392 S 0 0.0 0:00.17 ifplugd 1835 root 20 0 2324 688 488 S 0 0.0 0:00.12 cache_dirs 8590 root 22 2 1174m 114m 6584 S 0 2.9 0:05.06 java 11160 root 20 0 102m 3012 696 S 0 0.1 0:06.16 shfs 13017 root 20 0 1852 756 620 S 0 0.0 0:00.01 in.telnetd 14012 root 20 0 1620 416 356 S 0 0.0 0:00.01 sleep 1 root 20 0 704 308 264 S 0 0.0 0:01.75 init 2 root 20 0 0 0 0 S 0 0.0 0:00.00 kthreadd 3 root RT 0 0 0 0 S 0 0.0 0:00.05 migration/0 4 root 20 0 0 0 0 S 0 0.0 0:00.01 ksoftirqd/0 5 root RT 0 0 0 0 S 0 0.0 0:00.06 migration/1 6 root 20 0 0 0 0 S 0 0.0 0:00.01 ksoftirqd/1 I have an AMD Athlon II x3 2.9GHz cpu which should be plenty of power to transcode... so not sure what's happening... I am also getting these emails too, not sure what they mean: sender-time Sent at 11:13 PM (GMT-04:00). Current time there: 11:26 PM. ? to root date Sun, Jun 19, 2011 at 11:13 PM subject Output from your job 4 mailed-by gmail.com hide details 11:13 PM (12 minutes ago) DEBUG: SnapshotCache: Initializing Thumbnail Cache; Java Version: 1.6.0_11 DEBUG: SnapshotCache: Created new Snapshot Index BTree2011-06-19 23:08:00.415::INFO: Logging to STDERR via org.mortbay.log.StdErrLog 2011-06-19 23:08:00.436::INFO: jetty-6.1.x 2011-06-19 23:08:00.463::INFO: Started [email protected]:45631 DEBUG: PortMapperAction: Scheduling task PortMapperAction$2 (23668144) DEBUG: StatusReportAction: Scheduling task StatusReportAction$2 (7461949)
  9. I have the iStars... the ones with the coloured aluminum handles... these have vents behind the aluminum handles so air circulation is not a problem. It also has a switch on the unit that allows you to run the fans in high or low mode... I set it to high since my server is in the basement and noise isn't a issue, but imagine that if noise was an issue and heat wasn't, you can set it to low...
  10. bumping up a older topic... I think I've seemed to hit this problem too but the above solution doesn't seem to fix it. I have a single torrent that consists of about 3600 files. Whenever this torrent starts, after a few seconds, uTorrent that's running on the PC will show "disk overload 100%". Seems like the unRaid server can't handle that many open files at once. There are no entries in syslog, but when I type "lsof -u root | wc -l" right when I start the torrent, I can see the number increase from about 1052 (i have some other torrents running) to about 1370 or so, which is when uTorrent will give me the disk overload error. If I don't start this torrent, all my other torrents are fine. I've applied the above, but when I open a telnet session via putty and type in "ulimit -n" it reports 1024 (but i think this is normal since this is spawning another session?). Is there anyway to hardcode the new value somewhere ?
  11. need more info... was this a drive that was previously part of the array ? how did you remove this drive from the array ? was the array degraded when you were preclearing the drive ?
  12. what kind of videos are you streaming ? streaming videos off wireless is hit and miss... really depends on how strong your wireless signal is. What is your client ? A PC ? Try copying the video file first off the unRaid server and post how fast it goes
  13. so I was preclearing a WD15EADs 1.5TB WD HD, it precleared fine. I attempted to stop the array so I could add the drive to the array. I clicked on stop array and noticed the following in the log that I had in a telnet window: Apr 15 17:32:43 Tower preclear_disk-diff[14460]: === START OF READ SMART DATA SECTION === Apr 15 17:32:43 Tower preclear_disk-diff[14460]: SMART overall-health self-assessment test result: PASSED Apr 15 17:32:43 Tower preclear_disk-diff[14460]: Apr 15 17:32:43 Tower preclear_disk-diff[14460]: General SMART Values: Apr 15 17:32:43 Tower preclear_disk-diff[14460]: Offline data collection status: (0x80)^IOffline data collection activity Apr 15 17:32:43 Tower preclear_disk-diff[14460]: ^I^I^I^I^Iwas never started. Apr 15 17:32:43 Tower preclear_disk-diff[14460]: ^I^I^I^I^IAuto Offline Data Collection: Enabled. Apr 15 17:32:43 Tower preclear_disk-diff[14460]: Self-test execution status: ( 0)^IThe previous self-test routine completed Apr 15 17:32:43 Tower preclear_disk-diff[14460]: ^I^I^I^I^Iwithout error or no self-test has ever Apr 15 17:32:43 Tower preclear_disk-diff[14460]: ^I^I^I^I^Ibeen run. Apr 15 17:32:43 Tower preclear_disk-diff[14460]: Total time to complete Offline Apr 15 17:32:43 Tower preclear_disk-diff[14460]: data collection: ^I^I (34080) seconds. Apr 15 17:32:43 Tower preclear_disk-diff[14460]: Offline data collection Apr 15 17:32:43 Tower preclear_disk-diff[14460]: capabilities: ^I^I^I (0x7b) SMART execute Offline immediate. Apr 15 17:32:43 Tower preclear_disk-diff[14460]: ^I^I^I^I^IAuto Offline data collection on/off support. Apr 15 17:32:43 Tower preclear_disk-diff[14460]: ^I^I^I^I^ISuspend Offline collection upon new Apr 15 17:32:43 Tower preclear_disk-diff[14460]: ^I^I^I^I^Icommand. Apr 15 17:32:43 Tower preclear_disk-diff[14460]: ^I^I^I^I^IOffline surface scan supported. Apr 15 17:32:43 Tower preclear_disk-diff[14460]: ^I^I^I^I^ISelf-test supported. Apr 15 17:32:43 Tower preclear_disk-diff[14460]: ^I^I^I^I^IConveyance Self-test supported. Apr 15 17:32:43 Tower preclear_disk-diff[14460]: ^I^I^I^I^ISelective Self-test supported. Apr 15 17:32:43 Tower preclear_disk-diff[14460]: SMART capabilities: (0x0003)^ISaves SMART data before entering Apr 15 17:32:43 Tower preclear_disk-diff[14460]: ^I^I^I^I^Ipower-saving mode. Apr 15 17:32:43 Tower preclear_disk-diff[14460]: ^I^I^I^I^ISupports SMART auto save timer. Apr 15 17:32:43 Tower preclear_disk-diff[14460]: Error logging capability: (0x01)^IError logging supported. Apr 15 17:32:43 Tower preclear_disk-diff[14460]: ^I^I^I^I^IGeneral Purpose Logging supported. Apr 15 17:32:43 Tower preclear_disk-diff[14460]: Short self-test routine Apr 15 17:32:43 Tower preclear_disk-diff[14460]: recommended polling time: ^I ( 2) minutes. Apr 15 17:32:43 Tower preclear_disk-diff[14460]: Extended self-test routine Apr 15 17:32:43 Tower preclear_disk-diff[14460]: recommended polling time: ^I ( 255) minutes. Apr 15 17:32:43 Tower preclear_disk-diff[14460]: Conveyance self-test routine Apr 15 17:32:43 Tower preclear_disk-diff[14460]: recommended polling time: ^I ( 5) minutes. Apr 15 17:32:43 Tower preclear_disk-diff[14460]: SCT capabilities: ^I (0x303f)^ISCT Status supported. Apr 15 17:32:43 Tower preclear_disk-diff[14460]: ^I^I^I^I^ISCT Feature Control supported. Apr 15 17:32:43 Tower preclear_disk-diff[14460]: ^I^I^I^I^ISCT Data Table supported. Apr 15 17:32:43 Tower preclear_disk-diff[14460]: Apr 15 17:32:43 Tower preclear_disk-diff[14460]: SMART Attributes Data Structure revision number: 16 Apr 15 17:32:43 Tower preclear_disk-diff[14460]: Vendor Specific SMART Attributes with Thresholds: Apr 15 17:32:43 Tower preclear_disk-diff[14460]: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE Apr 15 17:32:43 Tower preclear_disk-diff[14460]: 1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 0 Apr 15 17:32:43 Tower preclear_disk-diff[14460]: 3 Spin_Up_Time 0x0027 100 253 021 Pre-fail Always - 0 Apr 15 17:32:43 Tower preclear_disk-diff[14460]: 4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 4 Apr 15 17:32:43 Tower preclear_disk-diff[14460]: 5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0 Apr 15 17:32:43 Tower preclear_disk-diff[14460]: 7 Seek_Error_Rate 0x002e 100 253 000 Old_age Always - 0 Apr 15 17:32:43 Tower preclear_disk-diff[14460]: 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 18 Apr 15 17:32:43 Tower preclear_disk-diff[14460]: 10 Spin_Retry_Count 0x0032 100 253 000 Old_age Always - 0 Apr 15 17:32:43 Tower preclear_disk-diff[14460]: 11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always - 0 Apr 15 17:32:43 Tower preclear_disk-diff[14460]: 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 3 Apr 15 17:32:43 Tower preclear_disk-diff[14460]: 192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 2 Apr 15 17:32:43 Tower preclear_disk-diff[14460]: 193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 10 Apr 15 17:32:43 Tower preclear_disk-diff[14460]: 194 Temperature_Celsius 0x0022 119 117 000 Old_age Always - 31 Apr 15 17:32:43 Tower preclear_disk-diff[14460]: 196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0 Apr 15 17:32:43 Tower preclear_disk-diff[14460]: 197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 0 Apr 15 17:32:43 Tower preclear_disk-diff[14460]: 198 Offline_Uncorrectable 0x0030 100 253 000 Old_age Offline - 0 Apr 15 17:32:43 Tower preclear_disk-diff[14460]: 199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0 Apr 15 17:32:43 Tower preclear_disk-diff[14460]: 200 Multi_Zone_Error_Rate 0x0008 100 253 000 Old_age Offline - 0 Apr 15 17:32:43 Tower preclear_disk-diff[14460]: Apr 15 17:32:43 Tower preclear_disk-diff[14460]: SMART Error Log Version: 1 Apr 15 17:32:43 Tower preclear_disk-diff[14460]: No Errors Logged Apr 15 17:32:43 Tower preclear_disk-diff[14460]: Apr 15 17:32:43 Tower preclear_disk-diff[14460]: SMART Self-test log structure revision number 1 Apr 15 17:32:43 Tower preclear_disk-diff[14460]: No self-tests have been logged. [To run self-tests, use: smartctl -t] Apr 15 17:32:43 Tower preclear_disk-diff[14460]: Apr 15 17:32:43 Tower preclear_disk-diff[14460]: Apr 15 17:32:43 Tower preclear_disk-diff[14460]: SMART Selective self-test log data structure revision number 1 Apr 15 17:32:43 Tower preclear_disk-diff[14460]: SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS Apr 15 17:32:43 Tower preclear_disk-diff[14460]: 1 0 0 Not_testing Apr 15 17:32:43 Tower preclear_disk-diff[14460]: 2 0 0 Not_testing Apr 15 17:32:43 Tower preclear_disk-diff[14460]: 3 0 0 Not_testing Apr 15 17:32:43 Tower preclear_disk-diff[14460]: 4 0 0 Not_testing Apr 15 17:32:43 Tower preclear_disk-diff[14460]: 5 0 0 Not_testing Apr 15 17:32:43 Tower preclear_disk-diff[14460]: Selective self-test flags (0x0): Apr 15 17:32:43 Tower preclear_disk-diff[14460]: After scanning selected spans, do NOT read-scan remainder of disk. Apr 15 17:32:43 Tower preclear_disk-diff[14460]: If Selective self-test is pending on power-up, resume after 0 minute delay. Apr 15 17:32:43 Tower preclear_disk-diff[14460]: == Apr 15 17:32:43 Tower preclear_disk-diff[14460]: ============================================================================ Apr 15 17:32:43 Tower preclear_disk-diff[14460]: Apr 15 17:36:59 Tower emhttp: shcmd (45): /etc/rc.d/rc.samba stop | logger Apr 15 17:36:59 Tower emhttp: shcmd (46): /etc/rc.d/rc.nfsd stop | logger Apr 15 17:37:00 Tower emhttp: Spinning up all drives... Apr 15 17:37:00 Tower emhttp: shcmd (47): /usr/sbin/hdparm -S0 /dev/sdb >/dev/null Apr 15 17:37:07 Tower emhttp: shcmd (48): sync Apr 15 17:37:13 Tower emhttp: shcmd (49): umount /mnt/user >/dev/null 2>&1 Apr 15 17:37:14 Tower emhttp: shcmd (50): rmdir /mnt/user >/dev/null 2>&1 Apr 15 17:37:14 Tower emhttp: shcmd (51): umount /mnt/user0 >/dev/null 2>&1 Apr 15 17:37:14 Tower emhttp: shcmd (52): rmdir /mnt/user0 >/dev/null 2>&1 Apr 15 17:37:14 Tower emhttp: shcmd (53): umount /mnt/disk1 >/dev/null 2>&1 Apr 15 17:37:14 Tower emhttp: _shcmd: shcmd (53): exit status: 1 Apr 15 17:37:14 Tower emhttp: shcmd (54): rmdir /mnt/disk1 >/dev/null 2>&1 Apr 15 17:37:14 Tower emhttp: _shcmd: shcmd (54): exit status: 1 Apr 15 17:37:14 Tower emhttp: shcmd (55): umount /mnt/disk2 >/dev/null 2>&1 Apr 15 17:37:14 Tower emhttp: _shcmd: shcmd (55): exit status: 1 Apr 15 17:37:14 Tower emhttp: shcmd (56): rmdir /mnt/disk2 >/dev/null 2>&1 Apr 15 17:37:14 Tower emhttp: _shcmd: shcmd (56): exit status: 1 Apr 15 17:37:14 Tower emhttp: shcmd (57): umount /mnt/disk3 >/dev/null 2>&1 Apr 15 17:37:14 Tower emhttp: _shcmd: shcmd (57): exit status: 1 Apr 15 17:37:14 Tower emhttp: shcmd (58): rmdir /mnt/disk3 >/dev/null 2>&1 Apr 15 17:37:14 Tower emhttp: _shcmd: shcmd (58): exit status: 1 Apr 15 17:37:14 Tower emhttp: shcmd (59): umount /mnt/disk4 >/dev/null 2>&1 Apr 15 17:37:14 Tower emhttp: _shcmd: shcmd (59): exit status: 1 Apr 15 17:37:14 Tower emhttp: shcmd (60): rmdir /mnt/disk4 >/dev/null 2>&1 Apr 15 17:37:14 Tower emhttp: _shcmd: shcmd (60): exit status: 1 Apr 15 17:37:14 Tower emhttp: shcmd (61): umount /mnt/disk5 >/dev/null 2>&1 Apr 15 17:37:14 Tower emhttp: _shcmd: shcmd (61): exit status: 1 Apr 15 17:37:14 Tower emhttp: shcmd (62): rmdir /mnt/disk5 >/dev/null 2>&1 Apr 15 17:37:14 Tower emhttp: _shcmd: shcmd (62): exit status: 1 Apr 15 17:37:14 Tower emhttp: shcmd (63): umount /mnt/disk6 >/dev/null 2>&1 Apr 15 17:37:14 Tower emhttp: _shcmd: shcmd (63): exit status: 1 Apr 15 17:37:14 Tower emhttp: shcmd (64): rmdir /mnt/disk6 >/dev/null 2>&1 Apr 15 17:37:14 Tower emhttp: _shcmd: shcmd (64): exit status: 1 Apr 15 17:37:14 Tower emhttp: shcmd (65): umount /mnt/disk7 >/dev/null 2>&1 Apr 15 17:37:14 Tower emhttp: _shcmd: shcmd (65): exit status: 1 Apr 15 17:37:14 Tower emhttp: shcmd (66): rmdir /mnt/disk7 >/dev/null 2>&1 Apr 15 17:37:14 Tower emhttp: _shcmd: shcmd (66): exit status: 1 Apr 15 17:37:14 Tower emhttp: shcmd (67): umount /mnt/cache >/dev/null 2>&1 Apr 15 17:37:14 Tower emhttp: _shcmd: shcmd (67): exit status: 1 Apr 15 17:37:14 Tower emhttp: shcmd (68): rmdir /mnt/cache >/dev/null 2>&1 Apr 15 17:37:14 Tower emhttp: _shcmd: shcmd (68): exit status: 1 Apr 15 17:37:14 Tower emhttp: Retry unmounting disk share(s)... Apr 15 17:37:18 Tower cache_dirs: Suspending cache_dirs for 120 seconds to allow for clean shutdown of array Apr 15 17:37:18 Tower cache_dirs: While suspended, pressing "Stop" on the unRAID management web-interface will shutdown the array Apr 15 17:37:19 Tower emhttp: shcmd (69): umount /mnt/disk1 >/dev/null 2>&1 Apr 15 17:37:19 Tower emhttp: _shcmd: shcmd (69): exit status: 1 Apr 15 17:37:19 Tower emhttp: shcmd (70): rmdir /mnt/disk1 >/dev/null 2>&1 Apr 15 17:37:19 Tower emhttp: _shcmd: shcmd (70): exit status: 1 Apr 15 17:37:19 Tower emhttp: shcmd (71): umount /mnt/disk2 >/dev/null 2>&1 Apr 15 17:37:19 Tower emhttp: _shcmd: shcmd (71): exit status: 1 Apr 15 17:37:19 Tower emhttp: shcmd (72): rmdir /mnt/disk2 >/dev/null 2>&1 Apr 15 17:37:19 Tower emhttp: _shcmd: shcmd (72): exit status: 1 Apr 15 17:37:19 Tower emhttp: shcmd (73): umount /mnt/disk3 >/dev/null 2>&1 Apr 15 17:37:19 Tower emhttp: _shcmd: shcmd (73): exit status: 1 Apr 15 17:37:19 Tower emhttp: shcmd (74): rmdir /mnt/disk3 >/dev/null 2>&1 Apr 15 17:37:19 Tower emhttp: _shcmd: shcmd (74): exit status: 1 Apr 15 17:37:19 Tower emhttp: shcmd (75): umount /mnt/disk4 >/dev/null 2>&1 Apr 15 17:37:19 Tower emhttp: _shcmd: shcmd (75): exit status: 1 Apr 15 17:37:19 Tower emhttp: shcmd (76): rmdir /mnt/disk4 >/dev/null 2>&1 Apr 15 17:37:19 Tower emhttp: _shcmd: shcmd (76): exit status: 1 Apr 15 17:37:19 Tower emhttp: shcmd (77): umount /mnt/disk5 >/dev/null 2>&1 Apr 15 17:37:19 Tower emhttp: _shcmd: shcmd (77): exit status: 1 Apr 15 17:37:19 Tower emhttp: shcmd (78): rmdir /mnt/disk5 >/dev/null 2>&1 Apr 15 17:37:19 Tower emhttp: _shcmd: shcmd (78): exit status: 1 Apr 15 17:37:19 Tower emhttp: shcmd (79): umount /mnt/disk6 >/dev/null 2>&1 Apr 15 17:37:19 Tower emhttp: shcmd (80): rmdir /mnt/disk6 >/dev/null 2>&1 Apr 15 17:37:19 Tower emhttp: shcmd (81): umount /mnt/disk7 >/dev/null 2>&1 Apr 15 17:37:19 Tower emhttp: _shcmd: shcmd (81): exit status: 1 Apr 15 17:37:19 Tower emhttp: shcmd (82): rmdir /mnt/disk7 >/dev/null 2>&1 Apr 15 17:37:19 Tower emhttp: _shcmd: shcmd (82): exit status: 1 Apr 15 17:37:19 Tower emhttp: shcmd (83): umount /mnt/cache >/dev/null 2>&1 Apr 15 17:37:19 Tower emhttp: _shcmd: shcmd (83): exit status: 1 Apr 15 17:37:19 Tower emhttp: shcmd (84): rmdir /mnt/cache >/dev/null 2>&1 Apr 15 17:37:19 Tower emhttp: _shcmd: shcmd (84): exit status: 1 Apr 15 17:37:19 Tower emhttp: Retry unmounting disk share(s)... Apr 15 17:37:24 Tower emhttp: shcmd (85): umount /mnt/disk1 >/dev/null 2>&1 Apr 15 17:37:24 Tower emhttp: shcmd (86): rmdir /mnt/disk1 >/dev/null 2>&1 Apr 15 17:37:24 Tower emhttp: shcmd (87): umount /mnt/disk2 >/dev/null 2>&1 Apr 15 17:37:25 Tower emhttp: shcmd (88): rmdir /mnt/disk2 >/dev/null 2>&1 Apr 15 17:37:25 Tower emhttp: shcmd (89): umount /mnt/disk3 >/dev/null 2>&1 Apr 15 17:37:25 Tower emhttp: shcmd (90): rmdir /mnt/disk3 >/dev/null 2>&1 Apr 15 17:37:25 Tower emhttp: shcmd (91): umount /mnt/disk4 >/dev/null 2>&1 Apr 15 17:37:25 Tower emhttp: shcmd (92): rmdir /mnt/disk4 >/dev/null 2>&1 Apr 15 17:37:25 Tower emhttp: shcmd (93): umount /mnt/disk5 >/dev/null 2>&1 Apr 15 17:37:26 Tower emhttp: shcmd (94): rmdir /mnt/disk5 >/dev/null 2>&1 Apr 15 17:37:26 Tower emhttp: shcmd (95): umount /mnt/disk7 >/dev/null 2>&1 Apr 15 17:37:26 Tower emhttp: shcmd (96): rmdir /mnt/disk7 >/dev/null 2>&1 Apr 15 17:37:26 Tower emhttp: shcmd (97): umount /mnt/cache >/dev/null 2>&1 Apr 15 17:37:26 Tower emhttp: shcmd (98): rmdir /mnt/cache >/dev/null 2>&1 Apr 15 17:37:26 Tower emhttp: disk_temperature: ioctl (smart_enable): Input/output error Apr 15 17:37:27 Tower emhttp: shcmd (99): rm /etc/samba/smb-shares.conf >/dev/null 2>&1 Apr 15 17:37:27 Tower emhttp: shcmd (100): cp /etc/exports- /etc/exports Apr 15 17:37:27 Tower emhttp: shcmd (101): /etc/rc.d/rc.samba start | logger Apr 15 17:37:27 Tower logger: Starting Samba: /usr/sbin/nmbd -D Apr 15 17:37:27 Tower logger: /usr/sbin/smbd -D Apr 15 17:37:27 Tower emhttp: shcmd (102): /etc/rc.d/rc.nfsd start | logger Apr 15 17:37:44 Tower emhttp: disk_temperature: ioctl (smart_enable): Input/output error I then lost all connection to the server. I checked the monitor attached to the server and it looked like a kernel dump: Up until now, the server has been fairly stable but also fairly new, a month or so old... any ideas ?
  14. Is there an extra "r" flag ? I see it listed twice... or is the second "r" used for something ?
  15. this does sound pretty weird... i'm wondering if there is a SAFE way to start pulling drives to try to isolate whether it's being caused by the HDs or not... it almost does sound like a heat/component issue rather than a drive issue...
  16. Does it seem to only happen when copying this file? What about another file? Can you try copying files from another drive? See if its related to the drive you're copying from... Or related to the HD controller you're copying from. I'd open up the case and reseat all the controllers/connections.
  17. Here are the results after the long smart test... seemed like it passed fine. Aside from that one time above, i can't seem to be able to replicate the problem. I'm running another preclear in the same slot that i experienced the issue. root@Tower:/boot# smartctl -a /dev/sdh smartctl 5.39.1 2010-01-28 r3054 [i486-slackware-linux-gnu] (local build) Copyright © 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Model Family: Western Digital Caviar Green family Device Model: WDC WD15EADS-00S2B0 Serial Number: WD-WCAVY3345713 Firmware Version: 01.00A01 User Capacity: 1,500,301,910,016 bytes Device is: In smartctl database [for details use: -P show] ATA Version is: 8 ATA Standard is: Exact ATA specification draft version not indicated Local Time is: Sat Apr 9 07:44:17 2011 EDT SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x84) Offline data collection activity was suspended by an interrupting command from host. Auto Offline Data Collection: Enabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: (32100) seconds. Offline data collection capabilities: (0x7b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. Conveyance Self-test supported. Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 2) minutes. Extended self-test routine recommended polling time: ( 255) minutes. Conveyance self-test routine recommended polling time: ( 5) minutes. SCT capabilities: (0x303f) SCT Status supported. SCT Feature Control supported. SCT Data Table supported. SMART Attributes Data Structure revision number: 16 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 0 3 Spin_Up_Time 0x0027 174 152 021 Pre-fail Always - 8283 4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 204 5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0 7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0 9 Power_On_Hours 0x0032 094 094 000 Old_age Always - 4733 10 Spin_Retry_Count 0x0032 100 100 000 Old_age Always - 0 11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 14 192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 8 193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 1056 194 Temperature_Celsius 0x0022 122 098 000 Old_age Always - 30 196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0 197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0030 200 200 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0 200 Multi_Zone_Error_Rate 0x0008 200 200 000 Old_age Offline - 0 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offline Completed without error 00% 4668 - # 2 Extended offline Completed without error 00% 4411 - # 3 Extended offline Completed without error 00% 4244 - # 4 Extended offline Completed without error 00% 4076 - # 5 Extended offline Completed without error 00% 3909 - # 6 Extended offline Completed without error 00% 3741 - # 7 Extended offline Completed without error 00% 3573 - # 8 Extended offline Completed without error 00% 3406 - # 9 Extended offline Completed without error 00% 3238 - #10 Extended offline Completed without error 00% 3071 - #11 Extended offline Completed without error 00% 2904 - #12 Extended offline Completed without error 00% 2736 - #13 Extended offline Completed without error 00% 2568 - #14 Extended offline Completed without error 00% 2401 - #15 Extended offline Completed without error 00% 2233 - #16 Extended offline Completed without error 00% 2065 - #17 Extended offline Completed without error 00% 1897 - #18 Extended offline Completed without error 00% 1730 - #19 Extended offline Completed without error 00% 1562 - #20 Extended offline Completed without error 00% 1394 - #21 Extended offline Completed without error 00% 1226 - SMART Selective self-test log data structure revision number 1 SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 0 0 Not_testing 2 0 0 Not_testing 3 0 0 Not_testing 4 0 0 Not_testing 5 0 0 Not_testing Selective self-test flags (0x0): After scanning selected spans, do NOT read-scan remainder of disk. If Selective self-test is pending on power-up, resume after 0 minute delay.
  18. I had to RMA a new 5k3000 Hitachi that would cause lots of errors on my server. They don't have advanced RMA like WD so you have to ship them your drive first. They seem pretty particular about packing the drive, and once they received it, it took another 4-5 days before they emailed me saying they had received the drive and was sending out a repacement. It then took another 4-5 days for it to arrive at my house. They used the local UPS logistics center so my shipping cost wasn't very high. All around turnaround was 2 weeks. With WD I've always used the advance RMA option as I then have a box that I can use to send back the old drive in. Typically its about a week to receive the new drive once I fill out the online RMA req forms. This does req you to provide a CC though and a hold for the cost of the new drive is applied until they receive your old drive.
  19. Ya, that's what I'll be doing next. I even started a long SMART test which passed. Very weird... Does preclear only write zeros to the drive? I'd actually like to see an option in preclear to write random or patterns to drive to further stress drives instead of just zeros. I know the test will be longer but for problem drives/situations like this, think itd worth it.
  20. Here's what I did: -moved drive to another known good SATA port, read data, it was consistent -zero'd drive, then read, came back zeros, read several more times, it was zeros -moved drive to original SATA port, read data, came back zeros, read some more, still same zeros -wrote some random data to drive, read back value, read again... data returned is DIFFERENT! Read a few more times and it changed but then settled on a value root@Tower:/tmp# dd if=/dev/sdg skip=1000 count=200 bs=8225280 conv=noerror 2>/dev/null |sum| awk '{print $1}' 65268 root@Tower:/tmp# dd if=/dev/sdg skip=1000 count=200 bs=8225280 conv=noerror 2>/dev/null |sum| awk '{print $1}' 45872 root@Tower:/tmp# dd if=/dev/sdg skip=1000 count=200 bs=8225280 conv=noerror 2>/dev/null |sum| awk '{print $1}' 53067 root@Tower:/tmp# dd if=/dev/sdg skip=1000 count=200 bs=8225280 conv=noerror 2>/dev/null |sum| awk '{print $1}' 53067 root@Tower:/tmp# dd if=/dev/sdg skip=1000 count=200 bs=8225280 conv=noerror 2>/dev/null |sum| awk '{print $1}' 53067 root@Tower:/tmp# dd if=/dev/sdg skip=1000 count=200 bs=8225280 conv=noerror 2>/dev/null |sum| awk '{print $1}' 53067 I then tried zeroing out, reading, loading some other data, reading, then zeroing... couldn't seem to be able to replicate it... Nevertheless, I've RMA'd the drive... just playing with this drive until the RMA drive comes in...
  21. in my experience, not with unRaid, mtu changes are only effective IF all ends of the network support the higher mtu, and all switches/routers support it too. I had an older switch that didn't work well with non std mtus higher than 1500. Also, setting the mtu to the max of 9000 didn't work well either because a few devices maxed out at 6000 and even though the network handshaking is suppose to still have this work, it actually decreased throughput... setting everything to 6000 seemed to be the best...
  22. I can confirm these numbers as well. On my recently built unRaid server, without both cache drive and parity, and with mtu set at 6000, i was getting 60-80MB/s write speeds. WITH parity, I am getting 30-40Mb/s write speeds. These are writes to a Hitachi 7k2000 drive. All my PCs and devices have MTU set to at least 6000. And I am going through a Dlink 1024D switch which is arguably not a consumer grade switch.
  23. it seems like its standard troubleshooting that everyone on this forum seems to recommend, and I guess it makes sense since trying to troubleshoot memory issues can be really annoying and would rather strike this one off.
  24. I suggest when the problem happens to telnet into the unRaid server and running the following command: tail -n 50 /var/log/syslog this will give you the last 50 lines of the syslog. Then I would check how much free memory you have left by running: free I suspect your server is crashing due to log explosion, near the end of your log, you are getting a lot of drive IO errors, ~12 entries every 30s! I had a similar problem, and I isolated it to a bad drive, but in my case the drive was exhibiting this problem when I was trying to preclear it... in your case, might be more difficult to trouble shoot if you have data on the drives and you can't easily pull out each drive. If your memory free is really low, then that could be causing the server crashes and check for another post from me about log explosion and what I did to try to avoid server crashes due to log explosion. I would also suggest you try to reseat all your drive cables and also the SAS cards to make sure it's not a bad connection. Then try the obvious such as the below: hdparm -tT /dev/sdX where X are your drive letters, this will perform a speedtest, and really I want to see if you can still access the HDs from the server itself Then run the following: ethtool eth0 and ifconfig eth0 This will spit out the results of your network connection. I had a problem where the cable had a bad connection, I could telnet in, but transfers to/from the box was slow @ 170kb/s... Lastly, if you remember which video file you were playing, you could try to find which drive it's streaming from, it could that drive thats failing. I'm not that familiar with unRAID yet so not sure if you could pull that drive and just try to see if the server stops crashing without it freaking out that a drive is missing...
  25. ok, so I've run the following commands: dd if=/dev/sdg skip=1000 count=200 bs=8225280 conv=noerror 2>/dev/null |sum| awk '{print $1}' dd if=/dev/sdg skip=106800 count=200 bs=8225280 conv=noerror 2>/dev/null |sum| awk '{print $1}' and I get consistently get 59505 and 10405. Even in a different known good drive slot. So it seems like it's a disk issue. Is there another command that I can use to write zeros to those sectors ?