Forum Activity for @soaringeagle

soaringeagle
@soaringeagle
04/12/16 03:40:30PM
3,304 posts

videos not converting after 24 hours


Installation and Configuration

sigh ok i tried highest the process used like 436% cpu
i tried lowest it used 99-103%
(0.13% ram) i tried lowest with no strain at all on the server

just to be sure this is the command i see in process list is this correct

tml/modules/jrCore/tools/ffmpeg -y -i /home/greentechnologyf/public_html/data/media/1/85/jrVideo_330_video_file.mp4 -threads 1 -f flv -acodec libmp3lame -ar 44100 -ab 128k -vcodec libx264 -preset veryfast /home/greentechnologyf/public_html/data/media/1/85/jrVideo_330_video_file.mp4.flv _LIBRARY_PATH=/usr/local/lib
soaringeagle
@soaringeagle
04/12/16 03:22:47PM
3,304 posts

videos not converting after 24 hours


Installation and Configuration

after over 24 hours its no longer in queue but never converted, no error messages anywhere
always process killed
i read up and that's usually the result of memory over allocation but that's impossible as memory use was low! like 20%
i have 32 gigs ram, 1 vids 23 mb the other 0.2 gb
although it says 'conversion workers will use 100% of 1 core' the use was 102-103%
maybe that extra couple percent overloaded the core and caused the kill?
you know i should have 1 of the fastest servers on jr
(buying 1 soon with more cores)
i cant understand why its killing it I'm going to attempt lowest then highest proprieties
edit: it was already on lowest priority ..ugh
updated by @soaringeagle: 04/12/16 03:25:30PM
soaringeagle
@soaringeagle
04/12/16 12:25:52AM
3,304 posts

videos not converting after 24 hours


Installation and Configuration

looking at ffmpeg documentation you can set multiple log levels can that be triggered somehow on these to find the errors
soaringeagle
@soaringeagle
04/12/16 12:20:16AM
3,304 posts

videos not converting after 24 hours


Installation and Configuration

this time went farther but nothing in error or activity log
heres the end of that trace

munmap(0xf5651000, 10485760) = 0
futex(0x10f9c578, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x10f9c574, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0x10f9c604, FUTEX_WAKE_PRIVATE, 1) = 1
munmap(0xf4c51000, 10485760) = 0
futex(0x10f9fde0, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x10f9fddc, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0x10f9fe6c, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0xf2450bd8, FUTEX_WAIT, 10484, NULL) = -1 EAGAIN (Resource temporarily unavailable)
munmap(0xf4251000, 10485760) = 0
futex(0x10fa3648, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x10fa3644, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0x10fa36d4, FUTEX_WAKE_PRIVATE, 1) = 1
munmap(0xf3851000, 10485760) = 0
futex(0x10fa6eb0, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x10fa6eac, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0x10fa6f3c, FUTEX_WAKE_PRIVATE, 1) = 1
munmap(0xf2e51000, 10485760) = 0
brk(0x12246000) = 0x12246000
getrusage(RUSAGE_SELF, {ru_utime={1208401933631663, 334303074451457}, ru_stime={46468, 0}, ...}) = 0
close(7) = 0
munmap(0xf6394000, 225280) = 0
munmap(0xf6338000, 376832) = 0
munmap(0xf63cb000, 286720) = 0
close(6) = 0
brk(0x11f8b000) = 0x11f8b000
brk(0x11e31000) = 0x11e31000
brk(0x11cd1000) = 0x11cd1000
brk(0x11bfd000) = 0x11bfd000
brk(0x11b00000) = 0x11b00000
brk(0x11a04000) = 0x11a04000
brk(0x1190a000) = 0x1190a000
brk(0x10b6e000) = 0x10b6e000
brk(0x10a8e000) = 0x10a8e000
exit_group(0) = ?
+++ exited with 0 +++
soaringeagle
@soaringeagle
04/12/16 12:15:03AM
3,304 posts

videos not converting after 24 hours


Installation and Configuration

none at all
but the 1 process trace that was running and ended prematurely ended with
futex(0x10ea27dc, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x10ea2780, FUTEX_WAIT_PRIVATE, 219, NULL) = 0
futex(0x10ea2780, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x10ea277c, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0x10ea27f4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x10ea2780, FUTEX_WAIT_PRIVATE, 223, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x10ea27f4, FUTEX_WAKE_PRIVATE, 1) = 0
+++ killed by SIGKILL +++

but now resetting worker on the other video seems to be progressing still
i will update in the morning i think it maybe fixed but npt 100% sure so changing solved to investigating
i think its solved but not 100% certain yet
soaringeagle
@soaringeagle
04/12/16 12:02:42AM
3,304 posts

videos not converting after 24 hours


Installation and Configuration

fixed it!!!
using these instructions reinstalled ffmpeg
https://chrisjean.com/install-ffmpeg-and-ffmpeg-php-on-centos-easily/
what i saw was, resetting the worker caused the ffmpeg to show in process list for a split second then disappear
over and over so i assumed a dependency was not working right
reinstalling the system version of ffmpeg reinstalled all dependencies and packages..and now its converting
soaringeagle
@soaringeagle
04/11/16 09:17:43PM
3,304 posts

videos not converting after 24 hours


Installation and Configuration

been testing for hours i just reset the workers (i set the log watcher to alert me too)
as soon as i reset the workers i see the process in process list but before i can trace it its gone
ffmpeg itself only runs a split second and fails
soaringeagle
@soaringeagle
04/11/16 06:49:06PM
3,304 posts

videos not converting after 24 hours


Installation and Configuration

ok i did a final test, it says that each conversion worker will use 100% of a core i have 2 workers now and i do not see 100% of any core being used by any processes
soaringeagle
@soaringeagle
04/11/16 06:27:26PM
3,304 posts

videos not converting after 24 hours


Installation and Configuration

updated core and everything, music converts fine but not videos seems no vids are converting
question.. the worker id that shouldn't match a pid in top right also not seeing ffmpeg in the process list either
on the server side shouldn't i see the conversion in the process list?

updated by @soaringeagle: 04/11/16 06:30:17PM
  107