hang

Java8 hangs up if getStackTrace() is called by one thread and lambda definition (via Unsafe.defineAnonymousClass) occurs in another thread

江枫思渺然 提交于 2020-07-07 09:27:02
问题 My Web application, which runs in Apache Tomcat/8.0.21, with JVM 1.8.0_45-b15 and Windows Server 2012 on a 16-core (32- with HT) Dual-Xeon NUMA machine, can get stuck, in some very unfortunate circumstances, when the actions described in the title occur at the same time in two different threads. The thread doing the first action ( getStackTrace() ) is trying to perform some diagnostic to detect which part of the system is slowing things down and gets stuck while calling Thread.dumpThreads .

Java8 hangs up if getStackTrace() is called by one thread and lambda definition (via Unsafe.defineAnonymousClass) occurs in another thread

会有一股神秘感。 提交于 2020-07-07 09:25:47
问题 My Web application, which runs in Apache Tomcat/8.0.21, with JVM 1.8.0_45-b15 and Windows Server 2012 on a 16-core (32- with HT) Dual-Xeon NUMA machine, can get stuck, in some very unfortunate circumstances, when the actions described in the title occur at the same time in two different threads. The thread doing the first action ( getStackTrace() ) is trying to perform some diagnostic to detect which part of the system is slowing things down and gets stuck while calling Thread.dumpThreads .

Java8 hangs up if getStackTrace() is called by one thread and lambda definition (via Unsafe.defineAnonymousClass) occurs in another thread

只愿长相守 提交于 2020-07-07 09:25:46
问题 My Web application, which runs in Apache Tomcat/8.0.21, with JVM 1.8.0_45-b15 and Windows Server 2012 on a 16-core (32- with HT) Dual-Xeon NUMA machine, can get stuck, in some very unfortunate circumstances, when the actions described in the title occur at the same time in two different threads. The thread doing the first action ( getStackTrace() ) is trying to perform some diagnostic to detect which part of the system is slowing things down and gets stuck while calling Thread.dumpThreads .

ffmpeg avcodec_encode_video2 hangs when using Quick Sync h264_qsv encoder

被刻印的时光 ゝ 提交于 2020-06-14 06:33:47
问题 When I use the mpeg4 or h264 encoders, I am able to successfully encode images to make a valid AVI file using the API for ffmpeg 3.1.0. However, when I use the Quick Sync encoder (h264_qsv), avcodec_encode_video2 will hang some of the time. I found that when using images that are 1920x1080, it was rare that avcodec_encode_video2 would hang. When using 256x256 images, it was very likely that the function would hang. I have created the test code below that demonstrates the hang of avcodec

Tomcat 8 Hangs. Requests are still coming in, but no responses are sent back

五迷三道 提交于 2020-04-08 09:58:41
问题 I am running Tomcat 8.0.14 (recently upgraded from Tomcat 5.5) and am experiencing very inconsistent hanging of the application server. When a hang occurs, attempting to navigate to any page causes an infinite wait Tomcat is running as a windows service and the service is still running but must be restarted to get the application back online. I've looked at the network traffic and it appears that tomcat is receiving requests, but not generating any responses. When a hang occurs, all of the

Tomcat 8 Hangs. Requests are still coming in, but no responses are sent back

不想你离开。 提交于 2020-04-08 09:58:10
问题 I am running Tomcat 8.0.14 (recently upgraded from Tomcat 5.5) and am experiencing very inconsistent hanging of the application server. When a hang occurs, attempting to navigate to any page causes an infinite wait Tomcat is running as a windows service and the service is still running but must be restarted to get the application back online. I've looked at the network traffic and it appears that tomcat is receiving requests, but not generating any responses. When a hang occurs, all of the

Tips on solving 'DevTools was disconnected from the page' and Electron Helper dies

你离开我真会死。 提交于 2020-04-06 01:56:52
问题 I've a problem with Electron where the app goes blank. i.e. It becomes a white screen. If I open the dev tools it displays the following message. In ActivityMonitor I can see the number of Electron Helper processes drops from 3 to 2 when this happens. Plus it seems I'm not the only person to come across it. e.g. Facing "Devtools was disconnected from the page. Once page is reloaded, Devtools will automatically reconnect." Electron dying without any information, what now? But I've yet to find

Python Popen().stdout.read() hang

牧云@^-^@ 提交于 2020-03-17 08:46:27
问题 I'm trying to get output of another script, using Python's subprocess.Popen like follows process = Popen(command, stdout=PIPE, shell=True) exitcode = process.wait() output = process.stdout.read() # hangs here It hangs at the third line, only when I run it as a python script and I cannot reproduce this in the python shell. The other script prints just a few words and I am assuming that it's not a buffer issue. Does anyone has idea about what I am doing wrong here? 回答1: You probably want to use

Python Popen().stdout.read() hang

自作多情 提交于 2020-03-17 08:44:25
问题 I'm trying to get output of another script, using Python's subprocess.Popen like follows process = Popen(command, stdout=PIPE, shell=True) exitcode = process.wait() output = process.stdout.read() # hangs here It hangs at the third line, only when I run it as a python script and I cannot reproduce this in the python shell. The other script prints just a few words and I am assuming that it's not a buffer issue. Does anyone has idea about what I am doing wrong here? 回答1: You probably want to use

Android adb hangs in list devices and other commands

断了今生、忘了曾经 提交于 2020-02-28 16:01:29
问题 When I try to run adb commands from terminal, especially adb devices , adb kill-server and adb start-server it hangs and I need to type CTRL+C to exit proccess. Its not possible to deploy APK to physical or virtual devices. Something is block adb proccess/port. I have anti-virus uninstalled and firewall disabled. In the example below, I type adb devices and terminal show me List of devices attached and hangs in there. 回答1: adb binds to TCP port 5037, if this port is in use by different