Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MinimServer 2 disappearing sometimes
09-06-2020, 11:50
Post: #1
MinimServer 2 disappearing sometimes
I'm running latest update of MinimServer 2 on a QNAP NAS (arm v7).

Sometimes Minimserver will disappear from the network (not visible in control point or from a PC or by MinimWatch), but the web interface (port 9790) is sdtill up and running and interactive.

I have the QNAP MediaServer running for videos on the same NAS and this will stay visible.

Any clues?

I have had ongoing discovery issues with DLNA/UPNP on my network so it might be that and nothing to do with MinimSever, but this occurs when the QNAP DLNA server is visible from the same NAS.

Crash log (not sure if it is from a 'crash' or simply stopping through the QNAP web interface) which happened whilst I had the prefs open in MinimWatch:

Code:
MinimServer crash dump, produced at 20200609-195818.844

MinimServer: exception while processing HTTP request: java.net.SocketException: Socket closed

java.net.SocketException: Socket closed
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:118)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
    at org.jminim.lib.HTTPContext.okResponse(HTTPContext.java:131)
    at com.minimserver.Server$ConfigRequestHandler.writeResource(Server.java:26435)
    at com.minimserver.Server$ConfigRequestHandler.processRequest(Server.java:24589)
    at org.jminim.lib.HTTPConnection$WriterThread.runWriterThread(HTTPConnection.java:4​67)
    at org.jminim.lib.HTTPConnection$WriterThread.run(HTTPConnection.java:422)

"Thread-27" id=37 RUNNABLE
    at sun.management.ThreadImpl.dumpThreads0(Native Method)
    at sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:448)
    at org.jminim.core.LogImpl.writeCrashDump(LogImpl.java:1217)
    at org.jminim.core.LogImpl.printStackTraceSync(LogImpl.java:1142)
    - locked org.jminim.core.LogImpl@10a8220
    at org.jminim.core.LogImpl.reportErrorEx(LogImpl.java:249)
    at com.minimserver.Server$ConfigRequestHandler.processRequest(Server.java:24605)
    at org.jminim.lib.HTTPConnection$WriterThread.runWriterThread(HTTPConnection.java:4​67)
    at org.jminim.lib.HTTPConnection$WriterThread.run(HTTPConnection.java:422)

"Thread-26" id=35 RUNNABLE (in native)
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
    at java.net.SocketInputStream.read(SocketInputStream.java:171)
    at java.net.SocketInputStream.read(SocketInputStream.java:141)
    at org.jminim.lib.HTTPConnection$ReaderThread.readRequest(HTTPConnection.java:193)
    at org.jminim.lib.HTTPConnection$ReaderThread.runReaderThread(HTTPConnection.java:1​56)
    at org.jminim.lib.HTTPConnection$ReaderThread.run(HTTPConnection.java:127)

"Thread-25" id=34 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.lib.HTTPConnection@4de078
    at java.lang.Object.wait(Object.java:502)
    at org.jminim.lib.HTTPConnection.getRequest(HTTPConnection.java:109)
    at org.jminim.lib.HTTPConnection.access$1700(HTTPConnection.java:18)
    at org.jminim.lib.HTTPConnection$WriterThread.runWriterThread(HTTPConnection.java:4​37)
    at org.jminim.lib.HTTPConnection$WriterThread.run(HTTPConnection.java:422)

"Thread-24" id=33 RUNNABLE (in native)

"Thread-23" id=32 RUNNABLE (in native)

"Timer-0" id=31 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on java.util.TaskQueue@c62cf8
    at java.lang.Object.wait(Object.java:502)
    at java.util.TimerThread.mainLoop(Timer.java:526)
    at java.util.TimerThread.run(Timer.java:505)

"Thread-21" id=30 RUNNABLE (in native)

"Thread-11" id=20 RUNNABLE (in native)

"Thread-10" id=19 RUNNABLE (in native)

"Thread-9" id=18 RUNNABLE (in native)

"Thread-8" id=17 RUNNABLE (in native)
    at java.net.PlainSocketImpl.socketAccept(Native Method)
    at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409)
    at java.net.ServerSocket.implAccept(ServerSocket.java:545)
    at java.net.ServerSocket.accept(ServerSocket.java:513)
    at org.jminim.lib.HTTPService.runServerThread(HTTPService.java:342)
    at org.jminim.lib.HTTPService.access$200(HTTPService.java:31)
    at org.jminim.lib.HTTPService$1.run(HTTPService.java:327)

"Thread-7" id=16 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.lib.HTTPService$SocketThread@1de3476
    at java.lang.Object.wait(Object.java:502)
    at org.jminim.lib.HTTPService$SocketThread.run(HTTPService.java:397)

"Thread-6" id=15 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.lib.OhNetService$TimerThread@ea2341
    at org.jminim.lib.OhNetService$TimerThread.run(OhNetService.java:1031)

"Thread-5" id=14 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.lib.OhNetService$ActionThread@1baaefe
    at java.lang.Object.wait(Object.java:502)
    at org.jminim.lib.OhNetService$ActionThread.run(OhNetService.java:986)

"Thread-1" id=8 TIMED_WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.core.RuntimeImpl$TimerThread@e0fe9d
    at org.jminim.core.RuntimeImpl$TimerThread.run(RuntimeImpl.java:4084)

"Thread-0" id=7 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.core.RuntimeImpl$ActionThread@7d0573
    at java.lang.Object.wait(Object.java:502)
    at org.jminim.core.RuntimeImpl$ActionThread.run(RuntimeImpl.java:4038)

"Signal Dispatcher" id=4 RUNNABLE

"Finalizer" id=3 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on java.lang.ref.ReferenceQueue$Lock@17cc016
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
    at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)

"Reference Handler" id=2 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on java.lang.ref.Reference$Lock@18f5399
    at java.lang.Object.wait(Object.java:502)
    at java.lang.ref.Reference.tryHandlePending(Reference.java:191)
    at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)

"main" id=1 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on java.lang.Object@8c56e3
    at java.lang.Object.wait(Object.java:502)
    at org.jminim.core.RuntimeImpl.waitForRequest(RuntimeImpl.java:3946)
    at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:2440)
    at org.jminim.core.LauncherImpl.run(LauncherImpl.java:1302)
    at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:124)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav​a:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.jminim.mlaunch.MinimLaunch.doLaunch(MinimLaunch.java:525)
    at org.jminim.mlaunch.MinimLaunch.launch(MinimLaunch.java:150)
    at org.jminim.mlaunch.MinimLaunch.launch(MinimLaunch.java:90)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav​a:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.jminim.launch.Launcher.launch(Launcher.java:88)
    at com.minimserver.launch.LaunchServer.main(LaunchServer.java:38)

- - - - - - - - - - - - - - - -
Find all posts by this user
Quote this message in a reply
09-06-2020, 12:30
Post: #2
RE: MinimServer 2 disappearing sometimes
It looks like this crash dump is caused by the web browser closing its conection to MinimServer while MinimServer was sending a response. Perhaps closing the browser tab could cause this.

This is not related to your other problem of MinimServer disappearing from the network, which is caused by multicast discovery issues with your network (probably your router or switch). Some UPnP servers try to compensate for this by "flooding" the network with discovery messages. The ohNet stack used by MinimServer for UPnP communication does not do this, so it is more sensitive to these network problems. See this page for some suggestions for how to fix this issue.
Find all posts by this user
Quote this message in a reply
10-06-2020, 11:23
Post: #3
RE: MinimServer 2 disappearing sometimes
(09-06-2020 12:30)simoncn Wrote:  It looks like this crash dump is caused by the web browser closing its conection to MinimServer while MinimServer was sending a response. Perhaps closing the browser tab could cause this.

This is not related to your other problem of MinimServer disappearing from the network, which is caused by multicast discovery issues with your network (probably your router or switch). Some UPnP servers try to compensate for this by "flooding" the network with discovery messages. The ohNet stack used by MinimServer for UPnP communication does not do this, so it is more sensitive to these network problems. See this page for some suggestions for how to fix this issue.

I've repeated the crash for what it is worth.

I have Minimserver 2 running on a QNAP Armv7 NAS as mentioned and MinimWatch running on a Linux PC. Both are attached to the same Orbi satellite by ethernet.

If I view server 'properties' in MinimWatch and just leave the window open then wander off and do something else, it crashes MinimServer. Can't access the webpage, MinimWatch goes grey etc.

Here is the tail of the log prior to restart (ie suffix .log not crashXXX.log):

Code:
MinimServer: exception while processing HTTP request: java.net.SocketException: Socket closed
java.net.SocketException: Socket closed
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:118)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
    at org.jminim.lib.HTTPContext.okResponse(HTTPContext.java:131)
    at com.minimserver.Server$ConfigRequestHandler.writeResource(Server.java:26435)
    at com.minimserver.Server$ConfigRequestHandler.processRequest(Server.java:24589)
    at org.jminim.lib.HTTPConnection$WriterThread.runWriterThread(HTTPConnection.java:4​67)
    at org.jminim.lib.HTTPConnection$WriterThread.run(HTTPConnection.java:422)

And here is the crash log after restart:
Code:
MinimServer crash dump, produced at 20200610-194704.204

MinimServer: exception while processing HTTP request: java.net.SocketException: Socket closed

java.net.SocketException: Socket closed
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:118)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
    at org.jminim.lib.HTTPContext.okResponse(HTTPContext.java:131)
    at com.minimserver.Server$ConfigRequestHandler.writeResource(Server.java:26435)
    at com.minimserver.Server$ConfigRequestHandler.processRequest(Server.java:24589)
    at org.jminim.lib.HTTPConnection$WriterThread.runWriterThread(HTTPConnection.java:4​67)
    at org.jminim.lib.HTTPConnection$WriterThread.run(HTTPConnection.java:422)

"Thread-1391" id=1407 RUNNABLE
    at sun.management.ThreadImpl.dumpThreads0(Native Method)
    at sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:448)
    at org.jminim.core.LogImpl.writeCrashDump(LogImpl.java:1217)
    at org.jminim.core.LogImpl.printStackTraceSync(LogImpl.java:1142)
    - locked org.jminim.core.LogImpl@10cd8b7
    at org.jminim.core.LogImpl.reportErrorEx(LogImpl.java:249)
    at com.minimserver.Server$ConfigRequestHandler.processRequest(Server.java:24605)
    at org.jminim.lib.HTTPConnection$WriterThread.runWriterThread(HTTPConnection.java:4​67)
    at org.jminim.lib.HTTPConnection$WriterThread.run(HTTPConnection.java:422)

"Thread-1385" id=1400 RUNNABLE (in native)
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
    at java.net.SocketInputStream.read(SocketInputStream.java:171)
    at java.net.SocketInputStream.read(SocketInputStream.java:141)
    at org.jminim.lib.HTTPConnection$ReaderThread.readRequest(HTTPConnection.java:193)
    at org.jminim.lib.HTTPConnection$ReaderThread.runReaderThread(HTTPConnection.java:1​56)
    at org.jminim.lib.HTTPConnection$ReaderThread.run(HTTPConnection.java:127)

"Thread-1383" id=1399 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.lib.HTTPConnection@9fa2bb
    at java.lang.Object.wait(Object.java:502)
    at org.jminim.lib.HTTPConnection.getRequest(HTTPConnection.java:109)
    at org.jminim.lib.HTTPConnection.access$1700(HTTPConnection.java:18)
    at org.jminim.lib.HTTPConnection$WriterThread.runWriterThread(HTTPConnection.java:4​37)
    at org.jminim.lib.HTTPConnection$WriterThread.run(HTTPConnection.java:422)

"Thread-1382" id=1398 RUNNABLE (in native)
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
    at java.net.SocketInputStream.read(SocketInputStream.java:171)
    at java.net.SocketInputStream.read(SocketInputStream.java:141)
    at org.jminim.lib.HTTPConnection$ReaderThread.readRequest(HTTPConnection.java:193)
    at org.jminim.lib.HTTPConnection$ReaderThread.runReaderThread(HTTPConnection.java:1​56)
    at org.jminim.lib.HTTPConnection$ReaderThread.run(HTTPConnection.java:127)

"Thread-1381" id=1397 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.lib.HTTPConnection@1ab10eb
    at java.lang.Object.wait(Object.java:502)
    at org.jminim.lib.HTTPConnection.getRequest(HTTPConnection.java:109)
    at org.jminim.lib.HTTPConnection.access$1700(HTTPConnection.java:18)
    at org.jminim.lib.HTTPConnection$WriterThread.runWriterThread(HTTPConnection.java:4​37)
    at org.jminim.lib.HTTPConnection$WriterThread.run(HTTPConnection.java:422)

"Thread-1380" id=1396 RUNNABLE (in native)
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
    at java.net.SocketInputStream.read(SocketInputStream.java:171)
    at java.net.SocketInputStream.read(SocketInputStream.java:141)
    at org.jminim.lib.HTTPConnection$ReaderThread.readRequest(HTTPConnection.java:193)
    at org.jminim.lib.HTTPConnection$ReaderThread.runReaderThread(HTTPConnection.java:1​56)
    at org.jminim.lib.HTTPConnection$ReaderThread.run(HTTPConnection.java:127)

"Thread-1379" id=1395 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.lib.HTTPConnection@f5325d
    at java.lang.Object.wait(Object.java:502)
    at org.jminim.lib.HTTPConnection.getRequest(HTTPConnection.java:109)
    at org.jminim.lib.HTTPConnection.access$1700(HTTPConnection.java:18)
    at org.jminim.lib.HTTPConnection$WriterThread.runWriterThread(HTTPConnection.java:4​37)
    at org.jminim.lib.HTTPConnection$WriterThread.run(HTTPConnection.java:422)

"Thread-1369" id=1385 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on com.minimserver.FileResource$ReaderThread@208ee6
    at java.lang.Object.wait(Object.java:502)
    at com.minimserver.FileResource$ReaderThread.waitForEmpty(FileResource.java:576)
    at com.minimserver.FileResource$ReaderThread.readStream(FileResource.java:497)
    at com.minimserver.FileResource$ReaderThread.run(FileResource.java:484)

"Thread-1368" id=1384 RUNNABLE (in native)
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
    at java.net.SocketInputStream.read(SocketInputStream.java:171)
    at java.net.SocketInputStream.read(SocketInputStream.java:141)
    at org.jminim.lib.HTTPConnection$ReaderThread.readRequest(HTTPConnection.java:193)
    at org.jminim.lib.HTTPConnection$ReaderThread.runReaderThread(HTTPConnection.java:1​56)
    at org.jminim.lib.HTTPConnection$ReaderThread.run(HTTPConnection.java:127)

"Thread-1367" id=1383 RUNNABLE (in native)
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
    at com.minimserver.FileResource.writeData(FileResource.java:217)
    at com.minimserver.ServerRequestHandler.processRequest(ServerRequestHandler.java:53​0)
    at org.jminim.lib.HTTPConnection$WriterThread.runWriterThread(HTTPConnection.java:4​67)
    at org.jminim.lib.HTTPConnection$WriterThread.run(HTTPConnection.java:422)

"Thread-200" id=209 RUNNABLE (in native)
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
    at java.net.SocketInputStream.read(SocketInputStream.java:171)
    at java.net.SocketInputStream.read(SocketInputStream.java:141)
    at org.jminim.lib.HTTPConnection$ReaderThread.readRequest(HTTPConnection.java:193)
    at org.jminim.lib.HTTPConnection$ReaderThread.runReaderThread(HTTPConnection.java:1​56)
    at org.jminim.lib.HTTPConnection$ReaderThread.run(HTTPConnection.java:127)

"Thread-199" id=208 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.lib.HTTPConnection@1b7320d
    at java.lang.Object.wait(Object.java:502)
    at org.jminim.lib.HTTPConnection.getRequest(HTTPConnection.java:109)
    at org.jminim.lib.HTTPConnection.access$1700(HTTPConnection.java:18)
    at org.jminim.lib.HTTPConnection$WriterThread.runWriterThread(HTTPConnection.java:4​37)
    at org.jminim.lib.HTTPConnection$WriterThread.run(HTTPConnection.java:422)

"Thread-196" id=205 RUNNABLE (in native)
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
    at java.net.SocketInputStream.read(SocketInputStream.java:171)
    at java.net.SocketInputStream.read(SocketInputStream.java:141)
    at org.jminim.lib.HTTPConnection$ReaderThread.readRequest(HTTPConnection.java:193)
    at org.jminim.lib.HTTPConnection$ReaderThread.runReaderThread(HTTPConnection.java:1​56)
    at org.jminim.lib.HTTPConnection$ReaderThread.run(HTTPConnection.java:127)

"Thread-195" id=204 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.lib.HTTPConnection@e65976
    at java.lang.Object.wait(Object.java:502)
    at org.jminim.lib.HTTPConnection.getRequest(HTTPConnection.java:109)
    at org.jminim.lib.HTTPConnection.access$1700(HTTPConnection.java:18)
    at org.jminim.lib.HTTPConnection$WriterThread.runWriterThread(HTTPConnection.java:4​37)
    at org.jminim.lib.HTTPConnection$WriterThread.run(HTTPConnection.java:422)

"Thread-194" id=203 RUNNABLE (in native)
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
    at java.net.SocketInputStream.read(SocketInputStream.java:171)
    at java.net.SocketInputStream.read(SocketInputStream.java:141)
    at org.jminim.lib.HTTPConnection$ReaderThread.readRequest(HTTPConnection.java:193)
    at org.jminim.lib.HTTPConnection$ReaderThread.runReaderThread(HTTPConnection.java:1​56)
    at org.jminim.lib.HTTPConnection$ReaderThread.run(HTTPConnection.java:127)

"Thread-193" id=202 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.lib.HTTPConnection@12a43ef
    at java.lang.Object.wait(Object.java:502)
    at org.jminim.lib.HTTPConnection.getRequest(HTTPConnection.java:109)
    at org.jminim.lib.HTTPConnection.access$1700(HTTPConnection.java:18)
    at org.jminim.lib.HTTPConnection$WriterThread.runWriterThread(HTTPConnection.java:4​37)
    at org.jminim.lib.HTTPConnection$WriterThread.run(HTTPConnection.java:422)

"Thread-174" id=183 RUNNABLE (in native)

"Thread-173" id=182 RUNNABLE (in native)

"Timer-0" id=55 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on java.util.TaskQueue@48ca69
    at java.lang.Object.wait(Object.java:502)
    at java.util.TimerThread.mainLoop(Timer.java:526)
    at java.util.TimerThread.run(Timer.java:505)

"Thread-45" id=54 RUNNABLE (in native)

"Thread-11" id=20 RUNNABLE (in native)
    at java.net.PlainSocketImpl.socketAccept(Native Method)
    at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409)
    at java.net.ServerSocket.implAccept(ServerSocket.java:545)
    at java.net.ServerSocket.accept(ServerSocket.java:513)
    at org.jminim.lib.HTTPService.runServerThread(HTTPService.java:342)
    at org.jminim.lib.HTTPService.access$200(HTTPService.java:31)
    at org.jminim.lib.HTTPService$1.run(HTTPService.java:327)

"Thread-9" id=19 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.lib.HTTPService$SocketThread@9da28a
    at java.lang.Object.wait(Object.java:502)
    at org.jminim.lib.HTTPService$SocketThread.run(HTTPService.java:397)

"Thread-10" id=18 RUNNABLE (in native)

"Thread-8" id=17 RUNNABLE (in native)

"Thread-7" id=16 RUNNABLE (in native)

"Thread-6" id=15 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.lib.OhNetService$TimerThread@1070a0e
    at org.jminim.lib.OhNetService$TimerThread.run(OhNetService.java:1031)

"Thread-5" id=14 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.lib.OhNetService$ActionThread@150e876
    at java.lang.Object.wait(Object.java:502)
    at org.jminim.lib.OhNetService$ActionThread.run(OhNetService.java:986)

"Thread-1" id=8 TIMED_WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.core.RuntimeImpl$TimerThread@1097ab7
    at org.jminim.core.RuntimeImpl$TimerThread.run(RuntimeImpl.java:4084)

"Thread-0" id=7 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.core.RuntimeImpl$ActionThread@6702ae
    at java.lang.Object.wait(Object.java:502)
    at org.jminim.core.RuntimeImpl$ActionThread.run(RuntimeImpl.java:4038)

"Signal Dispatcher" id=4 RUNNABLE

"Finalizer" id=3 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on java.lang.ref.ReferenceQueue$Lock@1513056
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
    at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)

"Reference Handler" id=2 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on java.lang.ref.Reference$Lock@19c68d2
    at java.lang.Object.wait(Object.java:502)
    at java.lang.ref.Reference.tryHandlePending(Reference.java:191)
    at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)

"main" id=1 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on java.lang.Object@1107ed4
    at java.lang.Object.wait(Object.java:502)
    at org.jminim.core.RuntimeImpl.waitForRequest(RuntimeImpl.java:3946)
    at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:2440)
    at org.jminim.core.LauncherImpl.run(LauncherImpl.java:1302)
    at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:124)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav​a:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.jminim.mlaunch.MinimLaunch.doLaunch(MinimLaunch.java:525)
    at org.jminim.mlaunch.MinimLaunch.launch(MinimLaunch.java:150)
    at org.jminim.mlaunch.MinimLaunch.launch(MinimLaunch.java:90)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav​a:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.jminim.launch.Launcher.launch(Launcher.java:88)
    at com.minimserver.launch.LaunchServer.main(LaunchServer.java:38)

- - - - - - - - - - - - - - - -
Find all posts by this user
Quote this message in a reply
10-06-2020, 12:56
Post: #4
RE: MinimServer 2 disappearing sometimes
Thanks very much for this.

The crash log shows a lot of HTTP reader and writer threads active, including one that seems to be streaming a file. I am surprised by the number of these active threads and I would like to investigate further.

What were you doing before you opened the Properties window in MinimWatch? Were you using the configuration web page in a web browser? How long did it take after you last did anything either in MinimWatch or on the configuration web page before the crash happened?
Find all posts by this user
Quote this message in a reply
10-06-2020, 22:51
Post: #5
RE: MinimServer 2 disappearing sometimes
(10-06-2020 12:56)simoncn Wrote:  Thanks very much for this.

The crash log shows a lot of HTTP reader and writer threads active, including one that seems to be streaming a file. I am surprised by the number of these active threads and I would like to investigate further.

What were you doing before you opened the Properties window in MinimWatch? Were you using the configuration web page in a web browser? How long did it take after you last did anything either in MinimWatch or on the configuration web page before the crash happened?

I'll investigate further when I get the chance, by trying to reproduce the crash again and making sure I don't access the webserver. When it 'crashed' (prior to first log tail) I wasn't doing anything, only the properties window was open. When I restarted I might have had a browser window open trying to access port 9790. All the http stuff in the crash log appeared when I restarted it, but it was inaccessible prior to that.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)