thejacer87 9 Posted January 28, 2017 Posted January 28, 2017 (edited) just upgraded to 3.1.287.0 beta, and still having this (what i assume is weird) issue where i have multiple instances of restart.sh being called. and they do NOT go away. looking at the processes shows them being active for 24 plus hours. process looks like this: /usr/bin/mono-sgen --optimize=all /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh there are usually 2 or 3 of them, and sometimes when the cpu spikes, it appears to be bcuz of them. I could be wrong on their impact on the system. just posting what i see running the server on Linux AZ-3 3.2.0-4-amd64 #1 SMP Debian 3.2.84-1 x86_64 GNU/Linux Edited January 28, 2017 by thejacer87
Luke 42080 Posted January 28, 2017 Posted January 28, 2017 Please kill them, try to recreate the problem, then attach the emby server log. thanks.
thejacer87 9 Posted January 28, 2017 Author Posted January 28, 2017 killed the processes... the server shutdown. called service emby-server start about 20 restart.sh processes fired i restarted the server from the dashboard... 3 processes showed up... Log.txt Log1.txt Log2.txt
Luke 42080 Posted January 28, 2017 Posted January 28, 2017 processes of what? those should not show up just from starting the server.
thejacer87 9 Posted January 28, 2017 Author Posted January 28, 2017 (edited) processes of what? those should not show up just from starting the server. the restart.sh process. run by the emby user Edited January 28, 2017 by thejacer87
thejacer87 9 Posted January 29, 2017 Author Posted January 29, 2017 when do they start showing up? As soon as the server turns back on
thejacer87 9 Posted January 29, 2017 Author Posted January 29, 2017 just got an error when trying to sync to my android phone, seems to be the restart.sh script: 2017-01-28 17:33:40.7159 Error App: Error during sync transcoding *** Error Report *** Version: 3.1.287.0 Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh Operating system: Unix 3.2.0.4 64-Bit OS: True 64-Bit Process: True Mono: 4.6.2 (Stable 4.6.2.16/ac9e222 Tue Jan 3 11:48:26 UTC 2017) Processor count: 2 Program data path: /var/lib/emby-server Application directory: /usr/lib/emby-server/bin System.Exception: Encoding failed at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at MediaBrowser.MediaEncoding.Encoder.MediaEncoder+<EncodeVideo>c__async8.MoveNext () [0x00159] in <107c0dfeca744e27a17eea561bb93d86>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at Emby.Server.Implementations.Sync.SyncJobProcessor+<Sync>c__asyncB.MoveNext () [0x004a8] in <0e21b17ddd814695a1ca13311a531dc8>:0 System.Exception at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at MediaBrowser.MediaEncoding.Encoder.MediaEncoder+<EncodeVideo>c__async8.MoveNext () [0x00159] in <107c0dfeca744e27a17eea561bb93d86>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at Emby.Server.Implementations.Sync.SyncJobProcessor+<Sync>c__asyncB.MoveNext () [0x004a8] in <0e21b17ddd814695a1ca13311a531dc8>:0 attached the log Log.txt
thejacer87 9 Posted January 29, 2017 Author Posted January 29, 2017 Why does it seem to be restart.sh? i just assumed cuz the error report says that was the command line... 2017-01-28 17:33:40.7159 Error App: Error during sync transcoding *** Error Report *** Version: 3.1.287.0 Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh
thejacer87 9 Posted January 29, 2017 Author Posted January 29, 2017 mmm, so i dont think the issue is just about syncing.... just last night i renamed all my movies from {name}.{ext} to {name}/{name}.{ext}. because i read that library scans are quicker if the movies are in separate folders. but now i cant watch any movies, but i can watch tv shows. ive run the scan a few times now and still can't. Log.txt
Luke 42080 Posted January 29, 2017 Posted January 29, 2017 i just assumed cuz the error report says that was the command line... 2017-01-28 17:33:40.7159 Error App: Error during sync transcoding *** Error Report *** Version: 3.1.287.0 Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh No, that's just repeating the command line that the server was originally started with, just for reference.
Luke 42080 Posted January 29, 2017 Posted January 29, 2017 are these ffmpeg and ffprobe paths valid? -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe It looks like either they are not valid or possibly a really old version is there. Find out what is there and let me know, thanks.
thejacer87 9 Posted January 29, 2017 Author Posted January 29, 2017 (edited) are these ffmpeg and ffprobe paths valid? -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe It looks like either they are not valid or possibly a really old version is there. Find out what is there and let me know, thanks. i grabbed the 64 bit static from here a while ago: https://github.com/MediaBrowser/Emby.Resources/tree/master/ffmpeg/linux thejacer87@server:/usr/bin$ ffmpeg -version ffmpeg version 0.8.20-6:0.8.20-0+deb7u1, Copyright (c) 2000-2014 the Libav developers built on Jan 19 2017 11:13:36 with gcc 4.7.2 The ffmpeg program is only provided for script compatibility and will be removed in a future release. It has been deprecated in the Libav project to allow for incompatible command line syntax improvements in its replacement called avconv (see Changelog for details). Please use avconv instead. ffmpeg 0.8.20-6:0.8.20-0+deb7u1 libavutil 51. 22. 3 / 51. 22. 3 libavcodec 53. 35. 0 / 53. 35. 0 libavformat 53. 21. 1 / 53. 21. 1 libavdevice 53. 2. 0 / 53. 2. 0 libavfilter 2. 15. 0 / 2. 15. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 52. 0. 0 / 52. 0. 0 thejacer87@server:/usr/bin$ ffprobe -version avprobe version 0.8.20-6:0.8.20-0+deb7u1, Copyright (c) 2007-2014 the Libav developers built on Jan 19 2017 11:13:36 with gcc 4.7.2 avprobe 0.8.20-6:0.8.20-0+deb7u1 libavutil 51. 22. 3 / 51. 22. 3 libavcodec 53. 35. 0 / 53. 35. 0 libavformat 53. 21. 1 / 53. 21. 1 libavdevice 53. 2. 0 / 53. 2. 0 libavfilter 2. 15. 0 / 2. 15. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 52. 0. 0 / 52. 0. 0 these would have been the same versions i used to build my library originally. the only difference that i have seen lately was the restart.sh script popping up, within the last few beta releases Edited January 29, 2017 by thejacer87
Luke 42080 Posted January 29, 2017 Posted January 29, 2017 The server is rejecting that for two reasons - first, that's not ffmpeg, that's libav, which we do not support. Second, it's based on a 2014 build which is now far too old. If you're not able to build something newer then you can download it from here: https://www.johnvansickle.com/ffmpeg/
thejacer87 9 Posted January 29, 2017 Author Posted January 29, 2017 The server is rejecting that for two reasons - first, that's not ffmpeg, that's libav, which we do not support. Second, it's based on a 2014 build which is now far too old. If you're not able to build something newer then you can download it from here: https://www.johnvansickle.com/ffmpeg/ k got ffmpeg sorted out. sorry for wasting your time with this again. in a previous thread where you helped me, ffmpeg was an issue and i thought i got it sorted with the proper build... dunno how i ended up with libav again.... maybe apt-get update/upgrade overwrote it somehow (unlikely, most likely my incompetence) anyway, it turn emby server off, but the vansickle version of ffmpeg in the right spot and restarted. ran the library scan and can watch movies.... still have over 20 processes running now though. only 2 are using the cpu though... not too sure what that means...
Luke 42080 Posted January 29, 2017 Posted January 29, 2017 What makes you think those are running processes? The server doesn't just start itself randomly. Is there an issue that you're experiencing?
thejacer87 9 Posted January 29, 2017 Author Posted January 29, 2017 What makes you think those are running processes? The server doesn't just start itself randomly. Is there an issue that you're experiencing? i see these processes when i run htop on the server. the issue, if any, is that these processes just popped up, after an update recently. a few weeks ago, i would have never have seen these processes listed. But the started popping up for unknown reasons. just seemed weird that they showed up. and sometimes, like i said in my original post, they spike the CPU usage
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now