Loadrunner使用遇到的问题总汇,不断更新~
2013-02-06 14:04
357 查看
Loadrunner使用遇到的问题总汇
注:一下问题均出现在windows server 2003,loadrunner 11问题1:
Action.c(4): Error -27796: Failed to connect to server "ip:port": [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
and rebooting the machine
See the readme.doc file for more information
解决办法:
在负载生成器的注册表HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Tcpip/Parameters里,有如下两个键值:
TcpTimedWaitDelay
MaxUserPort
1,这里的TcpTimedWaitDelay默认值应该中是30s,所以这里,把这个值调小为5s(按需要调整)。
2,也可以把MaxUserPort调大(如果这个值不是最大值的话)。
问题2:
Action.c(4): Error -27796: Failed to connect to server"ip:port": [10060] Connection timed out
解决办法:
出现这个问题很可能是访问应用部署的web容器允许最大连接量太低,我使用的是tomcat容器,所以修改tomcat的配置文件server.xml,如下
<Connector port="8080"
maxThreads="150"
................................ 把maxThreads值再改大一点
顺便解释一下tomcat中<Connector>标签中各个属性的含义:
<Connector port="8080"
maxThreads="150"
minSpareThreads="25"
maxSpareThreads="75"
acceptCount="100"
/>
maxThreads="150" 表示最多同时处理150个连接
minSpareThreads="25" 表示即使没有人使用也开这么多空线程等待
maxSpareThreads="75" 表示如果最多可以空75个线程,例如某时刻有80人访问,之后没有人访问了,则tomcat不会保留80个空线程,而是关闭5个空 的。
acceptCount="100" 当同时连接的人数达到maxThreads时,还可以接收排队的连接,超过这个连接的则直接返回拒绝连接。
问题3:
Failed to Initialize. Reason: TimeOut
问题4:
Failed to Run. Reason: TimeOut
问题5:
Error: Communication error: Linked List client failed to initialize server pointer.
相关文章推荐
- 使用Flink时遇到的问题(不断更新中)
- linux使用过程中遇到的问题记录(不断更新)
- 生产环境使用elasticsearch遇到的一些问题以及解决方法(不断更新)
- 使用用户控件遇到的小问题,不断更新
- Jpa项目使用中遇到的问题总汇——更新中
- 生产环境使用elasticsearch遇到的一些问题以及解决方法(不断更新)
- 使用elasticsearch遇到的一些问题以及解决方法(不断更新)
- 使用elasticsearch遇到的一些问题以及解决方法(不断更新)
- 生产环境使用elasticsearch遇到的一些问题以及解决方法(不断更新)
- SQLSERVER2000使用中遇到的一些小问题,不断更新中。。。
- 生产环境使用elasticsearch遇到的一些问题以及解决方法(不断更新)
- 使用mssql2008新特性(存储过程参数类型使用"用户自定义表"来实现批量DML更新多表)解决项目里遇到的性能问题
- 使用EditCommandColumn更新数据遇到的问题
- 遇到的一些问题及解决方法(不断更新)
- 使用VS2010时遇到的一些小问题的解决方案(从各处搜罗总结的,不定期更新,向原作者致敬)
- 记录oracle11g使用过程中遇到的一些问题,会持续更新。
- LoadRunner使用时遇到的问题
- GenyMotion使用遇到的问题杂记(更新中)
- IDEA 使用时遇到过的问题(持续更新)
- Eclipse的使用以及后续遇到的问题(持续更新)