hang

App hangs for 20 secs on exit after TcpClient BeginConnect

穿精又带淫゛_ 提交于 2019-12-06 19:23:26
I have problem with strange behavior of TcpClient.BeginConnect() and TcpClient.EndConnect() methods. I use BeginConnect() to add timeout to Connect() method (see extension method code below). If I get connected I call EndConnect() and every thing is ok, but If I get timeout I can't call EndConnect() because it will block for about 20 seconds, so I just call this non-blocking code: result.AsyncWaitHandle.Close(); result.AsyncWaitHandle.Dispose(); client.Close(); Problem is when I close the form right after getting timeout (after running above code) my app will "hang" for about 20 seconds. Is

Visual Studio 2010 (devenv) Hung Process After Closing

不羁的心 提交于 2019-12-06 09:17:56
问题 I have problem with Visual Studio 2010 on Windows 7 64-bit. After some time of work VS starts consuming ~50% CPU and UI responding slows down. When I close VS then UI disappear but process stay. When I forgot to kill those hung processes at the end of day, I will end up with numerous devenv.exe processes. I have reinstall Visual Studio and reinstall Windows and ended up with the same problem... doesn't change anything. Please help. :/ 回答1: Remove and/or uninstall all third-party Visual Studio

A thread was hanged on java.net.SocketInputStream.socketRead0(Native Method), anyone know what happend?

馋奶兔 提交于 2019-12-06 08:02:38
"[GMQMsgConsumeThread:113.105.152.146:22300, queue:Q_COOMIX_IMG_META]" prio=10 tid=0x08431000 nid=0x774c runnable [0x6e6b5000] java.lang.Thread.State: RUNNABLE at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at com.mysql.jdbc.util.ReadAheadInputStream.fill(ReadAheadInputStream.java:113) at com.mysql.jdbc.util.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:160) at com.mysql.jdbc.util.ReadAheadInputStream.read(ReadAheadInputStream.java:188) - locked <0x83f593e0> (a com.mysql.jdbc.util

Java Thread hanging without deadlocks

泪湿孤枕 提交于 2019-12-06 06:48:16
问题 I am currently having some trouble with a process that is hanging. First of all, the below thread dump shows no deadlock. Another interesting thing is that the process is hanging at java.lang.System.identityHashCode method. The currently CPU usage of that process is 0%, sometimes peaks at 1%... normally the process uses 100%. It is using 1.7GB of RAM (which is normal for this process). The machine has plenty of CPUs, disk space and RAM available. Attaching to process ID 4146, please wait...

Commons Net FTPClient hangs indefinitely with Mule

末鹿安然 提交于 2019-12-06 06:23:53
I encountered an issue with the Mule ESB FTP Transport: when polling, the thread running the client would hang indefinitely without throwing an error. This causes FTP poll to stop completely. Mule uses Apache Commons Net FTPClient. Looking further into the code, I think it is caused by the SocketTimeout of the FTPClient not being set, sometime causing infinite hanging when reading lines from the FTPClient's socket. We can clearly see the problem in these stacks retrieved with jstack when the problem occured. The __getReply() function seems to be the more direct link to the problem. This one

scripts in virtualenv hang indefinitely (python 3.5, windows 7)

♀尐吖头ヾ 提交于 2019-12-06 06:21:09
问题 I have previously used virtualenv with no problems under Python 2.7 and 3.5. Recently, I tried to create a new virtualenv and found that calling pip list caused an indefinite hang. Calling any executable .exe in the virtualenv's scripts folder EXCEPT python causes an indefinite hang, which: can be broken out of by raising a KeyboardInterrupt (Ctrl-C), but provides no traceback (indicating that python has not yet started running the script?) but cannot be killed by "End Proccess" in the Task

wget hangs with -r and -O -

佐手、 提交于 2019-12-06 03:52:58
This is a VERY strange wget behavior. I'm on debian 7.2. wget -r -O - www.blankwebsite.com hangs forever. And I mean it hangs , it isn't searching through the internet, I can verify it with a strace . If I do this: while read R do wget -r -O - www.blankwebsite.com done < smallfile with smallfile containing a single line, the command exits in a few seconds. I tried also with wget -r -O - localhost/test.html with an empty test.html file, same results. To me, it sounds like a bug. Everything runs fine changing -O - with -O myfile or removing -r . I used -O - because I was passing output to grep .

Chef client hanging on npm install at node-gyp rebuild

浪尽此生 提交于 2019-12-06 03:47:04
问题 I'm having a problem with running npm install from a chef recipe. When I run it from the command line, it finishes fine in under a minute with just a few warnings related to package.json no repository field (which should be harmless). But when I run it from chef, it hangs with the last line output back to the command line as this: * execute[npm-install-app] action run Which is this resource block in the recipe: execute "npm-install-app" do cwd "#{home}/#{prefix}#{app}" command "npm --registry

multiprocessing Pool hangs when there is a exception in any of the thread

北战南征 提交于 2019-12-06 01:37:06
问题 I am new to Python and trying a multiprocessing.pool program to process files, it works fine as long as there are no exceptions. If any of the thread/process gets an exception the whole program waits for the thread snippet of the code: cp = ConfigParser.ConfigParser() cp.read(gdbini) for table in cp.sections(): jobs.append(table) #print jobs poolreturn = pool.map(worker, jobs) pool.close() pool.join() Failure Message: Traceback (most recent call last): File "/opt/cnet-python/default-2.6/lib

Java appears hung

我与影子孤独终老i 提交于 2019-12-06 00:32:36
问题 I've been using the Java Service wrapper in a custom application for quite a while and it's been working fine. Since updating our application to a new version in the last few days the JVM started hanging and then wrapper prints this in the log: JVM appears hung: Timed out waiting for signal from JVM. It then automatically terminates the JVM and starts the app again. This happens after about 10 hours of running, which just makes it harder to debug. Of course I am going to look through the