Error: Failed to send data by channels – post message failed
来源:互联网 发布:华东理工大学 知乎 编辑:程序博客网 时间:2024/05/16 18:00
转自:http://softwaretesttips.com/2013/08/01/error-failed-to-send-data-by-channels-post-message-failed/
In LoadRunner or Performance Center 11.00, during the middle of a running a scenario or load test, the LR Controller or PC output starts reportingError: -30935 "Error: Failed to send data by channels – post message failed." and no additional successful transactions are registered for the run.
The error occurs on the Load Generator machine(s) when one of the threads under lr_bridge.exe that updates the eve files is not getting enough CPU time slice to be able to send events to the Controller. Enabling an additional flag in the mdrv.dat file on the LG machine will maintain the read and write threads for the eve files on the same main thread, thus allowing it to have all the CPU time needed.
To fix this issue :
Disable Web Diagnostics for J2EE/.NET. If the behavior remains, go through the next steps.
On all of the Load Generator machines where the Vusers are being executed, edit the <LR or PC Installation>\dat\mdrv.dat file by adding the line listed below in bold:
[lr_trans_server]
ExtPriorityType=transaction_server
WINNT_EXT_LIBS=trans_server.dll
WIN95_EXT_LIBS=trans_server.dll
LINUX_EXT_LIBS=libtrans_server.so
SOLARIS_EXT_LIBS=libtrans_server.so
HPUX_EXT_LIBS=libtrans_server.sl
AIX_EXT_LIBS=libtrans_server.so
LibCfgFunc=TransactionServer_configure
GetLoaderInterfaceFunc=get_ts_interface
AddLoaderClientInterfaceFunc=add_ts_client_interface
GetLoaderCommandLine=trans_server_extra_ext
Loader=1
ExtMessageQueue=0
SecurityMode=On
ExtCmdLineOverwrite=-eve_thread_run_on_main_thread
Save the changes in the mdrv.dat file then re-run the load test.
查找了网上的解决方案:
把controller中的Diagnotics-configure-Web Page Diagnotics默认的Enable关掉,之前报错的接口压测正常了- Error: Failed to send data by channels – post message failed
- LoadRunner运行场景,错误---Error: Failed to send data by channels - post message failed.
- loadrunner11解决Failed to send data by channels - post message failed
- Failed to send data by channels - post message failed错误解决
- Attempt to configure data store failed. Extended error message: Failed to configure tile cach
- Failed to decode response: zlib_decode(): data error
- spark on yarn(ERROR client.TransportClient: Failed to send RPC)
- Installation failed with message Failed to finalize session : Unknown failure (Error: java.lang.Null
- composer报错:Failed to decode response: zlib_decode(): data error
- composer Failed to decode response: zlib_decode(): data error
- composer碰到failed to decode response:zlib_decode():data error
- Logstash学习12_Got error to send bulk of actions AND Failed to flush outgoing items
- LR Error: Failed to deliver a p2p message from son to parent process, reason - communication error.
- composer 报 zlib_decode(): data error Failed to decode response: zlib_decode(): data error Retrying w
- faultCode:Client.Error.MessageSend faultString:'Send failed' faultDetail:'Channel.Connect.Failed error NetConnection.Call.Failed
- PHP+mysql系统报错:PHP message: PHP Warning: Unknown: Failed to write session data (files)
- Failed to transmit data to network: [10054] Connection reset by peer解决办法
- Installation failed with message INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries
- Apache Log4j 2.0-rc1 发布
- android webview js交互, 响应webview中的图片点击事件
- Mega48/88/128中内部EEPROM的读写
- Jenkins server Installation
- python学习笔记(django入门02)
- Error: Failed to send data by channels – post message failed
- [OpenCV+C#]开发环境的搭建
- Flash格式的解析
- Oracle创建表空间及用户
- vc中实现控件的隐藏与显示
- 三维动画制作流程细节
- webservice更新引用
- eclipse 增加Android logcat窗口
- vi下基本替换