使用远程桌面时应用程序挂起 [英] application hang when using remote desktop

查看:392
本文介绍了使用远程桌面时应用程序挂起的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一家小型贸易公司的主要开发商,该公司一直困扰我们的应用程序,这些应用程序在看似随机的时间不经常间歇性地冻结。每次花费我的公司一笔非常微不足道的金钱,过去6个月我花了b $ b来试图找出问题的根源。令我难以置信的是,我已经能够将问题隔离到远程桌面,导致任何远程进程在与主机的不稳定互联网连接期间挂起。挂起时间似乎根据终端服务器配置管理器中的重新连接
设置以及客户端设置而有所不同,但是,平均挂起时间仍为43秒,std dev + - 17秒所有远程应用程序完全冻结。没有设置组合能够将这个带到
零。

i'm the primary developer for a small trading firm who has been plagued with our applications freezing infrequently and intermittently at seemingly random times . it has cost my firm a non-trivial amount of money each time and i've spent the last 6 months trying to identify the source of the issue. to my disbelief, i've been able to isolate the issue to remote desktop causing any remote processes to hang during unstable internet connections to the host. hang time seems to vary depending on the reconnection settings in the terminal server configuration manager and also the client settings, however, average hang time is still a hefty 43 seconds with std dev +- 17 seconds where all remote apps completely freeze. no setting combination was able to bring this to zero.

我能够在2007年找到这个旧线程,其中描述了我们正在看到的问题:  http:/ /bytes.com/topic/net/answers/637120-remote-desktop-affects-windows-application-network-interruption

i was able to find this old thread from 2007 here which describes exactly the issue we are seeing: http://bytes.com/topic/net/answers/637120-remote-desktop-affects-windows-application-network-interruption

在上面的主题中,通过运行一个带有计数器的应用程序来证明这个问题,该计数器在一个循环中递增并且每秒打印一个带有winforms睡眠呼叫的gui,然后拔掉网络电缆$ b客户端上的$ b因此模拟了意外的断开连接。结果是远程应用程序在断开连接时不再增加或打印计数器。该问题最终被怀疑是winform计时器和Windows消息传递的.net问题。

我正在使用一个几乎相同的测试想法,但使用睡眠而不是看到完全相同的结果。代码如下:


int _tmain(int argc, _TCHAR* argv[])
{
  while(1){
   Sleep(1000);
   printf("should have slept for 1 sec...\n");
  }
}

推荐答案

>此问题的任何想法或解决方案我将非常感激。

>any ideas or solutions to this issue would be highly appreciated.

听起来好像你可以在各种各样的Windows平台上重现这一点(并且可能是不同的机器) />
网卡?)。如果是这样,我认为您的唯一行动方式可能是通过电话联系MS支持。

It sounds to me as though you can reproduce this over a wide range of
Windows platforms (and presumably different machines with different
network cards?). If that's so, I think your only course of action may
be to contact MS support by phone.

Dave


这篇关于使用远程桌面时应用程序挂起的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆