Jump to content
alext41

Emby keep crashing avery day

Recommended Posts

cochize1

It crushed again, not even bother to send another logs...

 

Curious thing though, this time when I entered the DSM > Package Center > Community > Emby Server it said 'stopped'. As opposed to last time when it was saying that it is still running. So I just hit run and it restared.

 

Are you testing me if I am not leaving my server room during the quarantine or what?

Share this post


Link to post
Share on other sites
cochize1

No crash today, but noticed that Convert option does not work either. And I was heavily converting my media on version 4.3.

There is something really broken with the current Synology built, yet nobody is answering.

Share this post


Link to post
Share on other sites
yoyo77yo
Posted (edited)

Hello I have the same problem : Emby crash... I need too stop and restart EMBY in my SYNOLOGY
Can you help me please

emby.txt

Edited by yoyo77yo

Share this post


Link to post
Share on other sites
Seger
please uninstall the Error PortMapper

 

i can't reproduce your mistakes by the way, the package runs through me over several days.

  • Like 1

Share this post


Link to post
Share on other sites
yoyo77yo

do you want i uninstall "port mapper" plugin ?

Share this post


Link to post
Share on other sites
Seger

do you want i uninstall "port mapper" plugin ?

yes, it leads to error messages in the log.
I didn't install it either.

Share this post


Link to post
Share on other sites
yoyo77yo

OK I Uninstall this plugin... and reboot server ... I say you if emby crash again or not in few days... thanks

Share this post


Link to post
Share on other sites
silver_2000
Posted (edited)

We are also seeing the same. On most recent version of Emby 

About every 2 or 3 days we find the Emby service stopped on the Synology, clicking run gets it going again.

The logs stopped at 10:30 last night with no real details of why.  

I wonder if the synology has any logs that would help 

And this is a recent development starting about 2 weeks ago ish 

Edited by silver_2000
  • Like 1

Share this post


Link to post
Share on other sites
cochize1

Same here every day now. Synology built is broken and I'd rather go back to 4.3 if that's somehow possible and wait until the problem is fixed. Sad thing is that I think nobody is following this thread, just the ones that have this problem.

Share this post


Link to post
Share on other sites
cochize1

OK I Uninstall this plugin... and reboot server ... I say you if emby crash again or not in few days... thanks

It's been 3 days so from my calculations it should have broken 3 times by now. Has it?

Share this post


Link to post
Share on other sites
surraender

For me emby works now if I only use it via kodi (As soon as I connect with the emby app on android it starts to increase in ram usage until it eventually crashes / Takes about 1h). That's not how I would like to use it or how it is intended to be used tho...

 

Still the ram usage of my disk station is increasing while emby is running over the days and it will never decrease until emby crashes. To me it seems like there is something seriously broken.

 

Again, if you need anymore information or if you want me to try / test something, please let me know. I was really happy with emby and this is the reason I am stilling hanging in here, but I won't be forever and espacially not while paying 5$ a month.

 

Thanks

Share this post


Link to post
Share on other sites
yoyo77yo

For me...port mapper is desactived and now it is good ...tank you to seger

Share this post


Link to post
Share on other sites
kaj

I've just seen this topic. I'm running Emby on a 918+, Emby version at present 4.4.2 (auto updates running). I have Port Mapper installed, plus whatever other plugins are installed by default, and a few others. I haven't had a single unexpected reboot in the last 6 months or more.

 

If there is any info you want from my setup, please let me know.

Share this post


Link to post
Share on other sites
bobaldis
On 5/13/2020 at 4:58 PM, silver_2000 said:

We are also seeing the same. On most recent version of Emby 

About every 2 or 3 days we find the Emby service stopped on the Synology, clicking run gets it going again.

The logs stopped at 10:30 last night with no real details of why.  

I wonder if the synology has any logs that would help 

And this is a recent development starting about 2 weeks ago ish 

Hi,

Seeing exactly the same on my DS918+ DSM 6.2.3-25426 Emby 4.4.3.0, I can't say exactly when it started happening, the last change I recall making was adding a picture for one of my users.

In this topic there seems to be a lot of mention of removing Plugins, with no explanation why they have suddenly become incompatible?

I'm also wondering about attaching logs in an open forum as aware it contains my external IP address and not sure what else it might make available.

Cheers,

Bob

Share this post


Link to post
Share on other sites
Luke
On 6/12/2020 at 4:56 PM, bobaldis said:

Hi,

Seeing exactly the same on my DS918+ DSM 6.2.3-25426 Emby 4.4.3.0, I can't say exactly when it started happening, the last change I recall making was adding a picture for one of my users.

In this topic there seems to be a lot of mention of removing Plugins, with no explanation why they have suddenly become incompatible?

I'm also wondering about attaching logs in an open forum as aware it contains my external IP address and not sure what else it might make available.

Cheers,

Bob

Hi there, please PM me the log file. Thanks.

Share this post


Link to post
Share on other sites
alext41
Posted (edited)

hi is there any new progress on this?

I still must restart the server every day.

Attached are the logs from the last 2 days.

Is there a possibility to implement or have a tool that restart the Emby Service automatically when it stops?

embyserver-63728507839.txt embyserver-63728454412.txt

Edited by alext41

Share this post


Link to post
Share on other sites
bobaldis
On 6/21/2020 at 5:11 PM, Luke said:

Hi there, please PM me the log file. Thanks.

Hi Luke,

Fingers crossed, since posting not experienced Emby stopping so no useful logs, if it fails again I'll PM you as requested.

 

Bob

Share this post


Link to post
Share on other sites
yarez0
Posted (edited)

Hi guys

I also noticed that my server stops some times, it depends of "something", I can't figured out why, to my side, the server is in "not respoonding state" (I check with UPTIME ROBOT). in the synology web ui, emby server is :

  • RUNNING but the UI said "to many files open" and I cannot use it

or

  • STOPPED

I tryied to search, in the logs and I noticed that the MONO-SGEN process of emby server is growing up, it seeams to depends of the utilization of the emby server. when my server is down, MONO-SGEN is up to 2 GB of RAM (got a DS916+ up to 8 GB of RAM)

Restarting server reset the MONO-SGEN ram utilization and the server is back online. 

today the mono process is up to 754 MB of RAM with a low utilization of the service (near 4h in a week, 15 min today).

I'll try to use th service a few hour per day and check the MONO-SGEN process and I will share my feedback. 

 

let me know if your mono process is growing without releasing the RAM like me.

Edited by yarez0

Share this post


Link to post
Share on other sites
yarez0

here we go ! services are runnings but MONO-SGEN is up to 4,31 GB of RAM

everything seems to be fine in emby server logs

image.png.f061ff6356b9c8e5acdd1d1233aedc7d.png

stop / start package and everything goes up and fine

  • Thanks 1

Share this post


Link to post
Share on other sites
alext41

today i changed me memory from 1GB to 8GB let see if the Emby Service is running longer then 1 day.

Share this post


Link to post
Share on other sites
yarez0

Forgot to tell that my nas was out of memory so I that your server will stop when the ram will be full 

Share this post


Link to post
Share on other sites
alext41

okay after ~1 day the process have 261MB but still running. So lets see how it goes on. In the beginning it was around 85MB

Share this post


Link to post
Share on other sites
alext41

Update from my side:

Monday Emby is still running now from Friday.

The MONO-SGEN process is now up at 414MB. So it looks like there is a Memory Leak.
Can someone from the dev's response to that? With a normal out of the box Synology it will "crash" / run out of memory ~1day. Now with more memory (8GB instead of 1GB) it will run longer.

What log files are needed how can we help to pin down the memory leak?

thx
Alex

Share this post


Link to post
Share on other sites
yarez0
Posted (edited)

Up to 675 MB today here 🙋‍♂️

not sure that this is an emby problem but mono package instead. Mono only or emby with mono🤷‍♂️ 

Edited by yarez0
Adds

Share this post


Link to post
Share on other sites
yarez0

Hi guys, process is up to 1.7 GB of RAM today, the server is down but now with a "too many open files" screen

I've got many error due to uptime robot I guess. Is there a way that UPTIME ROBOT checks are flooding the server ? causing too many connections and RAM grows ?

//UPTIME ROBOT ERROR (CONNECTION RESET)

2020-06-30 11:23:10.392 Info HttpServer: HTTP HEAD https://SERVER:8920/. UserAgent: Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/)
2020-06-30 11:23:10.393 Info HttpServer: HTTP Response 302 to XXX.XXX.XXX.XXX. Time: 1ms. https://SERVER:8920/
2020-06-30 11:23:10.762 Error HttpServer: Error in HttpListenerResponseWrapper: One or more errors occurred. (Connection reset by peer)
    *** Error Report ***
    Version: 4.4.3.0
    Command line: /var/packages/EmbyServer/target/server/EmbyServer.exe -package synology -programdata /var/packages/EmbyServer/target/var -ffmpeg /var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/ffmpeg/bin/ffprobe -ffdetect /var/packages/EmbyServer/target/ffmpeg/bin/ffdetect -restartexitcode 121 -ignore_vaapi_enabled_flag
    Operating system: Unix 3.10.105.0
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: False
    Mono: 6.8.0.105 (tarball Fri Apr 10 10:40:42 UTC 2020)
    Runtime: file:///volume1/@appstore/EmbyServer/3rdparty/mono/6.8.0.105/lib/mono/4.5/mscorlib.dll
    System.Environment.Version: 4.0.30319.42000
    Processor count: 4
    Program data path: /var/packages/EmbyServer/target/var
    Application directory: /volume1/@appstore/EmbyServer/releases/4.4.3.0
    System.AggregateException: System.AggregateException: One or more errors occurred. (Connection reset by peer) ---> System.Net.Sockets.SocketException: Connection reset by peer
      at System.Net.Sockets.Socket.Send (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at SocketHttpListener.SocketStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x00000] in <3b03995766194eaeb37056371ae395f0>:0
      at Mono.Net.Security.MobileAuthenticatedStream.<InnerWrite>b__67_0 () [0x00006] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in <9d3f0d4bd0fb4c1e8b6c2ac1ba1303ac>:0
      at System.Threading.Tasks.Task.Execute () [0x00000] in <9d3f0d4bd0fb4c1e8b6c2ac1ba1303ac>:0
    --- End of stack trace from previous location where exception was thrown ---

      at Mono.Net.Security.MobileAuthenticatedStream.InnerWrite (System.Boolean sync, System.Threading.CancellationToken cancellationToken) [0x000d3] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x00199] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at Mono.Net.Security.AsyncProtocolRequest.StartOperation (System.Threading.CancellationToken cancellationToken) [0x0008b] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at Mono.Net.Security.MobileAuthenticatedStream.StartOperation (Mono.Net.Security.MobileAuthenticatedStream+OperationType type, Mono.Net.Security.AsyncProtocolRequest asyncRequest, System.Threading.CancellationToken cancellationToken) [0x0024b] in <b373cc92cfb94ef6a19b4f1140645494>:0
       --- End of inner exception stack trace ---
      at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <9d3f0d4bd0fb4c1e8b6c2ac1ba1303ac>:0
      at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in <9d3f0d4bd0fb4c1e8b6c2ac1ba1303ac>:0
      at System.Threading.Tasks.Task.Wait () [0x00000] in <9d3f0d4bd0fb4c1e8b6c2ac1ba1303ac>:0
      at Mono.Net.Security.MobileAuthenticatedStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x00018] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at System.Net.Security.SslStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x00006] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at SocketHttpListener.Net.HttpResponseStream.InternalWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x0001b] in <3b03995766194eaeb37056371ae395f0>:0
      at SocketHttpListener.Net.HttpResponseStream.DisposeCore () [0x0008b] in <3b03995766194eaeb37056371ae395f0>:0
      at SocketHttpListener.Net.HttpResponseStream.Dispose (System.Boolean disposing) [0x00014] in <3b03995766194eaeb37056371ae395f0>:0
      at System.IO.Stream.Close () [0x00000] in <9d3f0d4bd0fb4c1e8b6c2ac1ba1303ac>:0
      at System.IO.Stream.Dispose () [0x00000] in <9d3f0d4bd0fb4c1e8b6c2ac1ba1303ac>:0
      at (wrapper remoting-invoke-with-check) System.IO.Stream.Dispose()
      at Emby.Server.Implementations.HttpServer.SocketSharp.WebSocketSharpResponse.Close () [0x00021] in <4b2b35e458474e708c04b3533f59ad82>:0
    ---> (Inner Exception #0) System.Net.Sockets.SocketException (0x80004005): Connection reset by peer
      at System.Net.Sockets.Socket.Send (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at SocketHttpListener.SocketStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x00000] in <3b03995766194eaeb37056371ae395f0>:0
      at Mono.Net.Security.MobileAuthenticatedStream.<InnerWrite>b__67_0 () [0x00006] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in <9d3f0d4bd0fb4c1e8b6c2ac1ba1303ac>:0
      at System.Threading.Tasks.Task.Execute () [0x00000] in <9d3f0d4bd0fb4c1e8b6c2ac1ba1303ac>:0
    --- End of stack trace from previous location where exception was thrown ---

      at Mono.Net.Security.MobileAuthenticatedStream.InnerWrite (System.Boolean sync, System.Threading.CancellationToken cancellationToken) [0x000d3] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x00199] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at Mono.Net.Security.AsyncProtocolRequest.StartOperation (System.Threading.CancellationToken cancellationToken) [0x0008b] in <b373cc92cfb94ef6a19b4f1140645494>:0
    Source: mscorlib
    TargetSite: Void ThrowIfExceptional(Boolean)
    InnerException: System.Net.Sockets.SocketException: Connection reset by peer
    Source: mscorlib
    TargetSite: Void Throw()
      at System.Net.Sockets.Socket.Send (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at SocketHttpListener.SocketStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x00000] in <3b03995766194eaeb37056371ae395f0>:0
      at Mono.Net.Security.MobileAuthenticatedStream.<InnerWrite>b__67_0 () [0x00006] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in <9d3f0d4bd0fb4c1e8b6c2ac1ba1303ac>:0
      at System.Threading.Tasks.Task.Execute () [0x00000] in <9d3f0d4bd0fb4c1e8b6c2ac1ba1303ac>:0
    --- End of stack trace from previous location where exception was thrown ---

      at Mono.Net.Security.MobileAuthenticatedStream.InnerWrite (System.Boolean sync, System.Threading.CancellationToken cancellationToken) [0x000d3] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x00199] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at Mono.Net.Security.AsyncProtocolRequest.StartOperation (System.Threading.CancellationToken cancellationToken) [0x0008b] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at Mono.Net.Security.MobileAuthenticatedStream.StartOperation (Mono.Net.Security.MobileAuthenticatedStream+OperationType type, Mono.Net.Security.AsyncProtocolRequest asyncRequest, System.Threading.CancellationToken cancellationToken) [0x0024b] in <b373cc92cfb94ef6a19b4f1140645494>:0

//THEN SOCKET SHUTDOWN        

2020-06-30 11:23:31.270 Info HttpServer: HTTP GET https://SERVER:8920/. UserAgent: Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/)
2020-06-30 11:23:31.271 Info HttpServer: HTTP Response 302 to XXX.XXX.XXX.XXX. Time: 1ms. https://SERVER:8920/
2020-06-30 11:28:31.278 Info HttpServer: HTTP HEAD https://yarez0videos.ddns.net:8920/. UserAgent: Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/)
2020-06-30 11:28:31.279 Info HttpServer: HTTP Response 302 to XXX.XXX.XXX.XXX. Time: 1ms. https://SERVER:8920/
2020-06-30 11:28:31.673 Error HttpServer: Error in HttpListenerResponseWrapper: One or more errors occurred. (The socket has been shut down)
    *** Error Report ***
    Version: 4.4.3.0
    Command line: /var/packages/EmbyServer/target/server/EmbyServer.exe -package synology -programdata /var/packages/EmbyServer/target/var -ffmpeg /var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/ffmpeg/bin/ffprobe -ffdetect /var/packages/EmbyServer/target/ffmpeg/bin/ffdetect -restartexitcode 121 -ignore_vaapi_enabled_flag
    Operating system: Unix 3.10.105.0
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: False
    Mono: 6.8.0.105 (tarball Fri Apr 10 10:40:42 UTC 2020)
    Runtime: file:///volume1/@appstore/EmbyServer/3rdparty/mono/6.8.0.105/lib/mono/4.5/mscorlib.dll
    System.Environment.Version: 4.0.30319.42000
    Processor count: 4
    Program data path: /var/packages/EmbyServer/target/var
    Application directory: /volume1/@appstore/EmbyServer/releases/4.4.3.0
    System.AggregateException: System.AggregateException: One or more errors occurred. (The socket has been shut down) ---> System.Net.Sockets.SocketException: The socket has been shut down
      at System.Net.Sockets.Socket.Send (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at SocketHttpListener.SocketStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x00000] in <3b03995766194eaeb37056371ae395f0>:0
      at Mono.Net.Security.MobileAuthenticatedStream.<InnerWrite>b__67_0 () [0x00006] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in <9d3f0d4bd0fb4c1e8b6c2ac1ba1303ac>:0
      at System.Threading.Tasks.Task.Execute () [0x00000] in <9d3f0d4bd0fb4c1e8b6c2ac1ba1303ac>:0
    --- End of stack trace from previous location where exception was thrown ---

      at Mono.Net.Security.MobileAuthenticatedStream.InnerWrite (System.Boolean sync, System.Threading.CancellationToken cancellationToken) [0x000d3] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x00199] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at Mono.Net.Security.AsyncProtocolRequest.StartOperation (System.Threading.CancellationToken cancellationToken) [0x0008b] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at Mono.Net.Security.MobileAuthenticatedStream.StartOperation (Mono.Net.Security.MobileAuthenticatedStream+OperationType type, Mono.Net.Security.AsyncProtocolRequest asyncRequest, System.Threading.CancellationToken cancellationToken) [0x0024b] in <b373cc92cfb94ef6a19b4f1140645494>:0
       --- End of inner exception stack trace ---
      at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <9d3f0d4bd0fb4c1e8b6c2ac1ba1303ac>:0
      at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in <9d3f0d4bd0fb4c1e8b6c2ac1ba1303ac>:0
      at System.Threading.Tasks.Task.Wait () [0x00000] in <9d3f0d4bd0fb4c1e8b6c2ac1ba1303ac>:0
      at Mono.Net.Security.MobileAuthenticatedStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x00018] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at System.Net.Security.SslStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x00006] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at SocketHttpListener.Net.HttpResponseStream.InternalWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x0001b] in <3b03995766194eaeb37056371ae395f0>:0
      at SocketHttpListener.Net.HttpResponseStream.DisposeCore () [0x0008b] in <3b03995766194eaeb37056371ae395f0>:0
      at SocketHttpListener.Net.HttpResponseStream.Dispose (System.Boolean disposing) [0x00014] in <3b03995766194eaeb37056371ae395f0>:0
      at System.IO.Stream.Close () [0x00000] in <9d3f0d4bd0fb4c1e8b6c2ac1ba1303ac>:0
      at System.IO.Stream.Dispose () [0x00000] in <9d3f0d4bd0fb4c1e8b6c2ac1ba1303ac>:0
      at (wrapper remoting-invoke-with-check) System.IO.Stream.Dispose()
      at Emby.Server.Implementations.HttpServer.SocketSharp.WebSocketSharpResponse.Close () [0x00021] in <4b2b35e458474e708c04b3533f59ad82>:0
    ---> (Inner Exception #0) System.Net.Sockets.SocketException (0x80004005): The socket has been shut down
      at System.Net.Sockets.Socket.Send (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at SocketHttpListener.SocketStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x00000] in <3b03995766194eaeb37056371ae395f0>:0
      at Mono.Net.Security.MobileAuthenticatedStream.<InnerWrite>b__67_0 () [0x00006] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in <9d3f0d4bd0fb4c1e8b6c2ac1ba1303ac>:0
      at System.Threading.Tasks.Task.Execute () [0x00000] in <9d3f0d4bd0fb4c1e8b6c2ac1ba1303ac>:0
    --- End of stack trace from previous location where exception was thrown ---

      at Mono.Net.Security.MobileAuthenticatedStream.InnerWrite (System.Boolean sync, System.Threading.CancellationToken cancellationToken) [0x000d3] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x00199] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at Mono.Net.Security.AsyncProtocolRequest.StartOperation (System.Threading.CancellationToken cancellationToken) [0x0008b] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at Mono.Net.Security.MobileAuthenticatedStream.StartOperation (Mono.Net.Security.MobileAuthenticatedStream+OperationType type, Mono.Net.Security.AsyncProtocolRequest asyncRequest, System.Threading.CancellationToken cancellationToken) [0x0024b] in <b373cc92cfb94ef6a19b4f1140645494>:0 <---

    Source: mscorlib
    TargetSite: Void ThrowIfExceptional(Boolean)
    InnerException: System.Net.Sockets.SocketException: The socket has been shut down
    Source: mscorlib
    TargetSite: Void Throw()
      at System.Net.Sockets.Socket.Send (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at SocketHttpListener.SocketStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x00000] in <3b03995766194eaeb37056371ae395f0>:0
      at Mono.Net.Security.MobileAuthenticatedStream.<InnerWrite>b__67_0 () [0x00006] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in <9d3f0d4bd0fb4c1e8b6c2ac1ba1303ac>:0
      at System.Threading.Tasks.Task.Execute () [0x00000] in <9d3f0d4bd0fb4c1e8b6c2ac1ba1303ac>:0
    --- End of stack trace from previous location where exception was thrown ---

      at Mono.Net.Security.MobileAuthenticatedStream.InnerWrite (System.Boolean sync, System.Threading.CancellationToken cancellationToken) [0x000d3] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x00199] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at Mono.Net.Security.AsyncProtocolRequest.StartOperation (System.Threading.CancellationToken cancellationToken) [0x0008b] in <b373cc92cfb94ef6a19b4f1140645494>:0
      at Mono.Net.Security.MobileAuthenticatedStream.StartOperation (Mono.Net.Security.MobileAuthenticatedStream+OperationType type, Mono.Net.Security.AsyncProtocolRequest asyncRequest, System.Threading.CancellationToken cancellationToken) [0x0024b] in <b373cc92cfb94ef6a19b4f1140645494>:0

        
//TOO MANY OPEN FILES ERROR        

2020-06-30 11:29:01.825 Info HttpServer: HTTP GET https://SERVER:8920/. UserAgent: Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/)
2020-06-30 11:29:01.825 Info HttpServer: HTTP Response 302 to XXX.XXX.XXX.XXX. Time: 1ms. https://SERVER:8920/
2020-06-30 11:29:02.645 Error HttpServer: Error processing request
    *** Error Report ***
    Version: 4.4.3.0
    Command line: /var/packages/EmbyServer/target/server/EmbyServer.exe -package synology -programdata /var/packages/EmbyServer/target/var -ffmpeg /var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/ffmpeg/bin/ffprobe -ffdetect /var/packages/EmbyServer/target/ffmpeg/bin/ffdetect -restartexitcode 121 -ignore_vaapi_enabled_flag
    Operating system: Unix 3.10.105.0
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: False
    Mono: 6.8.0.105 (tarball Fri Apr 10 10:40:42 UTC 2020)
    Runtime: file:///volume1/@appstore/EmbyServer/3rdparty/mono/6.8.0.105/lib/mono/4.5/mscorlib.dll
    System.Environment.Version: 4.0.30319.42000
    Processor count: 4
    Program data path: /var/packages/EmbyServer/target/var
    Application directory: /volume1/@appstore/EmbyServer/releases/4.4.3.0
    System.IO.IOException: System.IO.IOException: Too many open files
      at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <9d3f0d4bd0fb4c1e8b6c2ac1ba1303ac>:0
      at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in <9d3f0d4bd0fb4c1e8b6c2ac1ba1303ac>:0
      at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions)
      at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream (System.String path, MediaBrowser.Model.IO.FileOpenMode mode, MediaBrowser.Model.IO.FileAccessMode access, MediaBrowser.Model.IO.FileShareMode share, MediaBrowser.Model.IO.FileOpenOptions fileOpenOptions) [0x00045] in <4b2b35e458474e708c04b3533f59ad82>:0
      at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream (System.String path, MediaBrowser.Model.IO.FileOpenMode mode, MediaBrowser.Model.IO.FileAccessMode access, MediaBrowser.Model.IO.FileShareMode share, System.Boolean isAsync) [0x0002a] in <4b2b35e458474e708c04b3533f59ad82>:0
      at Emby.Server.Implementations.ResourceFileManager.GetResourceFileStream (System.ReadOnlySpan`1[T] basePath, System.ReadOnlySpan`1[T] virtualPath, System.Int64 offset) [0x0000e] in <4b2b35e458474e708c04b3533f59ad82>:0
      at Emby.Web.Api.PackageCreator.GetRawResourceStream (System.ReadOnlySpan`1[T] virtualPath, System.Int64 offset) [0x00011] in <f2d346db6d924cb5ba903ae0d3a7e711>:0
      at Emby.Web.Api.PackageCreator.GetResource (System.ReadOnlyMemory`1[T] virtualPath, System.ReadOnlyMemory`1[T] mode, System.String localizationCulture, System.String appVersion, System.Int64 offset) [0x00030] in <f2d346db6d924cb5ba903ae0d3a7e711>:0
      at Emby.Web.Api.DashboardService.GetResourceStream (System.String basePath, System.ReadOnlyMemory`1[T] virtualPath, System.String localizationCulture, System.Int64 offset) [0x0001f] in <f2d346db6d924cb5ba903ae0d3a7e711>:0
      at Emby.Web.Api.DashboardService+<>c__DisplayClass22_0.<Get>b__0 (System.Int64 offset, System.Int64 length, System.Threading.CancellationToken cancellationToken) [0x00000] in <f2d346db6d924cb5ba903ae0d3a7e711>:0
      at Emby.Server.Implementations.HttpServer.FileWriter.SetContentResponseHeaders (System.Nullable`1[T] reportedTotalContentLength, System.Threading.CancellationToken cancellationToken) [0x000ef] in <4b2b35e458474e708c04b3533f59ad82>:0
      at Emby.Server.Implementations.HttpServer.HttpResultFactory.GetStaticResult (MediaBrowser.Model.Services.IRequest requestContext, MediaBrowser.Controller.Net.StaticResultOptions options) [0x00301] in <4b2b35e458474e708c04b3533f59ad82>:0
      at Emby.Web.Api.DashboardService.Get (Emby.Web.Api.GetDashboardResource request) [0x00234] in <f2d346db6d924cb5ba903ae0d3a7e711>:0
      at Emby.Server.Implementations.Services.ServiceController.GetTaskResult (System.Threading.Tasks.Task task) [0x00081] in <4b2b35e458474e708c04b3533f59ad82>:0
      at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync (Emby.Server.Implementations.HttpServer.HttpListenerHost appHost, MediaBrowser.Model.Services.IRequest httpReq, MediaBrowser.Model.Services.IResponse httpRes, Emby.Server.Implementations.Services.RestPath restPath, System.String responseContentType, System.Threading.CancellationToken cancellationToken) [0x001da] in <4b2b35e458474e708c04b3533f59ad82>:0
      at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler (MediaBrowser.Model.Services.IRequest httpReq, System.ReadOnlyMemory`1[T] urlString, System.ReadOnlyMemory`1[T] localPath, System.Threading.CancellationToken cancellationToken) [0x00b52] in <4b2b35e458474e708c04b3533f59ad82>:0
    Source: mscorlib
    TargetSite: Void Throw()

do you need more logs ? it's complicate to reset logs, errors occures randomly and I got users on it

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...