稳定性问题案例-Error -27796: Failed to connect to server

2023-05-16,,

现象:两晚的稳定性测试过程中都发现中途会出现一次响应下降到谷底并且持续段时间,之后响应又趋向平稳,而且两晚出现的时间段不一致,检查相应的log没什么异常,在loadrunner监控器中看到有报错

Action.c(4): Error -27796: Failed to connect to server: Failed to connect to server "stadig.ifeng.com:80": [10048] Address already in use Try changing the registry value
HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/tcpip/Parameters/TcpTimedWaitDelay to 30 and HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/tcpip/Parameters/MaxUserPort to 65534
猜测原因:客户端性能比较好,发出压力太快,所以把tcp/ip的连接或端口占满。在网上查了一下,xp好像默认开启15个tcp/ip。而且TcpTimedWaitDelay该值默认不设置是4分钟的
解决:按上面提示修改相应的值,再压一晚问题确实没再出现,整体响应都很平稳。但是loadrunner中还会继续报上面的错,只是看到对响应没什么影响。

《稳定性问题案例-Error -27796: Failed to connect to server.doc》

下载本文的Word格式文档,以方便收藏与打印。