2dx-js和pomelo环境下开发rpg游戏,客户端用libpomelo2,客户端服务端同一电脑,经常发生未知卡顿

2dx-js和pomelo环境下开发rpg游戏,客户端用libpomelo2,客户端服务端同一电脑。经常会发生网络请求卡顿。比如,向服务器请求移动人物,客户端日志显示请求,但服务器很久才出现收到请求的日志。然后一会就恢复正常。请问这个怎么解决呢?作为rpg网游,这种卡顿不能接受的

标签: pomelo
linyouhappy 在 2016-1-12 11:04发布 分享到 weibo
8 回复
#1 fantasyni 2016-1-12 13:04 回复

分析下同步请求队列有没有锁阻塞问题

#2 linyouhappy 2016-1-13 13:05 回复

今天分析了客户端的。应该跟客户端没有关系。可能服务端堵掉了。客户端的日志:
JS: CurPlayer.moveToTarget========>>
[2016-01-13 12:34:39][DEBUG] pc_request_with_timeout - use dynamic alloc request
[2016-01-13 12:34:39][INFO] pc_request_with_timeout - add request to queue, req id: 170
[2016-01-13 12:34:39][DEBUG] tr_uv_tcp_send - use dynamic alloc write item, seq_num: 258, req_id: 170
[2016-01-13 12:34:39][DEBUG] tr_uv_tcp_send - put to write wait queue, seq_num: 258, req_id: 170
[2016-01-13 12:34:39][DEBUG] tr_uv_tcp_send - seq num: 258, req_id: 170
[2016-01-13 12:34:39][DEBUG] tcpwrite_async_cb - move wi from write wait to writing queue,seq_num: 258, req_id: 170
[2016-01-13 12:34:39][DEBUG] tcp
write_done_cb - move wi from writing to resp pending queue, req_id: 170
JS: CurPlayer.moveToTarget========>>
[2016-01-13 12:34:40][DEBUG] pc_request_with_timeout - use dynamic alloc request
[2016-01-13 12:34:40][INFO] pc_request_with_timeout - add request to queue, req id: 171
[2016-01-13 12:34:40][DEBUG] tr_uv_tcp_send - use dynamic alloc write item, seq_num: 259, req_id: 171
[2016-01-13 12:34:40][DEBUG] tr_uv_tcp_send - put to write wait queue, seq_num: 259, req_id: 171
[2016-01-13 12:34:40][DEBUG] tr_uv_tcp_send - seq num: 259, req_id: 171
[2016-01-13 12:34:40][DEBUG] tcpwrite_async_cb - move wi from write wait to writing queue,seq_num: 259, req_id: 171
[2016-01-13 12:34:40][DEBUG] tcp
write_done_cb - move wi from writing to resp pending queue, req_id: 171
JS: CurPlayer.moveToTarget========>>
[2016-01-13 12:34:40][DEBUG] pc_request_with_timeout - use dynamic alloc request
[2016-01-13 12:34:40][INFO] pc_request_with_timeout - add request to queue, req id: 172
[2016-01-13 12:34:40][DEBUG] tr_uv_tcp_send - use dynamic alloc write item, seq_num: 260, req_id: 172
[2016-01-13 12:34:40][DEBUG] tr_uv_tcp_send - put to write wait queue, seq_num: 260, req_id: 172
[2016-01-13 12:34:40][DEBUG] tr_uv_tcp_send - seq num: 260, req_id: 172
[2016-01-13 12:34:40][DEBUG] tcpwrite_async_cb - move wi from write wait to writing queue,seq_num: 260, req_id: 172
[2016-01-13 12:34:40][DEBUG] tcp
write_done_cb - move wi from writing to resp pending queue, req_id: 172
JS: CurPlayer.moveToTarget========>>
[2016-01-13 12:34:40][DEBUG] pc_request_with_timeout - use dynamic alloc request
[2016-01-13 12:34:40][INFO] pc_request_with_timeout - add request to queue, req id: 173
[2016-01-13 12:34:40][DEBUG] tr_uv_tcp_send - use dynamic alloc write item, seq_num: 261, req_id: 173
[2016-01-13 12:34:40][DEBUG] tr_uv_tcp_send - put to write wait queue, seq_num: 261, req_id: 173
[2016-01-13 12:34:40][DEBUG] tr_uv_tcp_send - seq num: 261, req_id: 173
[2016-01-13 12:34:40][DEBUG] tcpwrite_async_cb - move wi from write wait to writing queue,seq_num: 261, req_id: 173
[2016-01-13 12:34:40][DEBUG] tcp
write_done_cb - move wi from writing to resp pending queue, req_id: 173
JS: CurPlayer.moveToTarget========>>
[2016-01-13 12:34:40][DEBUG] pc_request_with_timeout - use dynamic alloc request
[2016-01-13 12:34:40][INFO] pc_request_with_timeout - add request to queue, req id: 174
[2016-01-13 12:34:40][DEBUG] tr_uv_tcp_send - use dynamic alloc write item, seq_num: 262, req_id: 174
[2016-01-13 12:34:40][DEBUG] tr_uv_tcp_send - put to write wait queue, seq_num: 262, req_id: 174
[2016-01-13 12:34:40][DEBUG] tr_uv_tcp_send - seq num: 262, req_id: 174
[2016-01-13 12:34:40][DEBUG] tcpwrite_async_cb - move wi from write wait to writing queue,seq_num: 262, req_id: 174
[2016-01-13 12:34:40][DEBUG] tcp
write_done_cb - move wi from writing to resp pending queue, req_id: 174
JS: CurPlayer.moveToTarget========>>
[2016-01-13 12:34:41][DEBUG] pc_request_with_timeout - use dynamic alloc request
[2016-01-13 12:34:41][INFO] pc_request_with_timeout - add request to queue, req id: 175
[2016-01-13 12:34:41][DEBUG] tr_uv_tcp_send - use dynamic alloc write item, seq_num: 263, req_id: 175
[2016-01-13 12:34:41][DEBUG] tr_uv_tcp_send - put to write wait queue, seq_num: 263, req_id: 175
[2016-01-13 12:34:41][DEBUG] tr_uv_tcp_send - seq num: 263, req_id: 175
[2016-01-13 12:34:41][DEBUG] tcpwrite_async_cb - move wi from write wait to writing queue,seq_num: 263, req_id: 175
[2016-01-13 12:34:41][DEBUG] tcp
write_done_cb - move wi from writing to resp pending queue, req_id: 175
[2016-01-13 12:34:41][DEBUG] tcpwrite_check_timeout_cb - start to check timeout
[2016-01-13 12:34:41][DEBUG] tcp
write_check_timeout_cb - finish to check timeout
JS: CurPlayer.moveToTarget========>>
[2016-01-13 12:34:41][DEBUG] pc_request_with_timeout - use dynamic alloc request
[2016-01-13 12:34:41][INFO] pc_request_with_timeout - add request to queue, req id: 176
[2016-01-13 12:34:41][DEBUG] tr_uv_tcp_send - use dynamic alloc write item, seq_num: 264, req_id: 176
[2016-01-13 12:34:41][DEBUG] tr_uv_tcp_send - put to write wait queue, seq_num: 264, req_id: 176
[2016-01-13 12:34:41][DEBUG] tr_uv_tcp_send - seq num: 264, req_id: 176
[2016-01-13 12:34:41][DEBUG] tcpwrite_async_cb - move wi from write wait to writing queue,seq_num: 264, req_id: 176
[2016-01-13 12:34:41][DEBUG] tcp
write_done_cb - move wi from writing to resp pending queue, req_id: 176
JS: CurPlayer.moveToTarget========>>
[2016-01-13 12:34:41][DEBUG] pc_request_with_timeout - use dynamic alloc request
[2016-01-13 12:34:41][INFO] pc_request_with_timeout - add request to queue, req id: 177
[2016-01-13 12:34:41][DEBUG] tr_uv_tcp_send - use dynamic alloc write item, seq_num: 265, req_id: 177
[2016-01-13 12:34:41][DEBUG] tr_uv_tcp_send - put to write wait queue, seq_num: 265, req_id: 177
[2016-01-13 12:34:41][DEBUG] tr_uv_tcp_send - seq num: 265, req_id: 177
[2016-01-13 12:34:41][DEBUG] tcpwrite_async_cb - move wi from write wait to writing queue,seq_num: 265, req_id: 177
[2016-01-13 12:34:41][DEBUG] tcp
write_done_cb - move wi from writing to resp pending queue, req_id: 177
JS: CurPlayer.moveToTarget========>>
[2016-01-13 12:34:42][DEBUG] pc_request_with_timeout - use dynamic alloc request
[2016-01-13 12:34:42][INFO] pc_request_with_timeout - add request to queue, req id: 178
[2016-01-13 12:34:42][DEBUG] tr_uv_tcp_send - use dynamic alloc write item, seq_num: 266, req_id: 178
[2016-01-13 12:34:42][DEBUG] tr_uv_tcp_send - put to write wait queue, seq_num: 266, req_id: 178
[2016-01-13 12:34:42][DEBUG] tr_uv_tcp_send - seq num: 266, req_id: 178
[2016-01-13 12:34:42][DEBUG] tcpwrite_async_cb - move wi from write wait to writing queue,seq_num: 266, req_id: 178
[2016-01-13 12:34:42][DEBUG] tcp
write_done_cb - move wi from writing to resp pending queue, req_id: 178
JS: CurPlayer.moveToTarget========>>
[2016-01-13 12:34:43][DEBUG] pc_request_with_timeout - use dynamic alloc request
[2016-01-13 12:34:43][INFO] pc_request_with_timeout - add request to queue, req id: 179
[2016-01-13 12:34:43][DEBUG] tr_uv_tcp_send - use dynamic alloc write item, seq_num: 267, req_id: 179
[2016-01-13 12:34:43][DEBUG] tr_uv_tcp_send - put to write wait queue, seq_num: 267, req_id: 179
[2016-01-13 12:34:43][DEBUG] tr_uv_tcp_send - seq num: 267, req_id: 179
[2016-01-13 12:34:43][DEBUG] tcpwrite_async_cb - move wi from write wait to writing queue,seq_num: 267, req_id: 179
[2016-01-13 12:34:43][DEBUG] tcp
write_done_cb - move wi from writing to resp pending queue, req_id: 179
[2016-01-13 12:34:43][DEBUG] tcpwrite_check_timeout_cb - start to check timeout
[2016-01-13 12:34:43][DEBUG] tcp
write_check_timeout_cb - finish to check timeout
[2016-01-13 12:34:45][DEBUG] tcpsendheartbeat - send heartbeat
[2016-01-13 12:34:45][DEBUG] tcpheartbeat_timer_cb - start heartbeat timeout timer
[2016-01-13 12:34:45][DEBUG] tcp
on_heartbeat - tcp get heartbeat
[2016-01-13 12:34:45][INFO] tcpon_heartbeat - calc rtt: 0
[2016-01-13 12:34:45][DEBUG] tcp
write_check_timeout_cb - start to check timeout
[2016-01-13 12:34:45][DEBUG] tcpwrite_check_timeout_cb - finish to check timeout
JS: CurPlayer.moveToTarget========>>
[2016-01-13 12:34:45][DEBUG] pc_request_with_timeout - use dynamic alloc request
[2016-01-13 12:34:45][INFO] pc_request_with_timeout - add request to queue, req id: 180
[2016-01-13 12:34:45][DEBUG] tr_uv_tcp_send - use dynamic alloc write item, seq_num: 268, req_id: 180
[2016-01-13 12:34:45][DEBUG] tr_uv_tcp_send - put to write wait queue, seq_num: 268, req_id: 180
[2016-01-13 12:34:45][DEBUG] tr_uv_tcp_send - seq num: 268, req_id: 180
[2016-01-13 12:34:45][DEBUG] tcp
write_async_cb - move wi from write wait to writing queue,seq_num: 268, req_id: 180
[2016-01-13 12:34:45][DEBUG] tcpwrite_done_cb - move wi from writing to resp pending queue, req_id: 180
JS: CurPlayer.moveToTarget========>>
[2016-01-13 12:34:45][DEBUG] pc_request_with_timeout - use dynamic alloc request
[2016-01-13 12:34:45][INFO] pc_request_with_timeout - add request to queue, req id: 181
[2016-01-13 12:34:45][DEBUG] tr_uv_tcp_send - use dynamic alloc write item, seq_num: 269, req_id: 181
[2016-01-13 12:34:45][DEBUG] tr_uv_tcp_send - put to write wait queue, seq_num: 269, req_id: 181
[2016-01-13 12:34:45][DEBUG] tr_uv_tcp_send - seq num: 269, req_id: 181
[2016-01-13 12:34:45][DEBUG] tcp
write_async_cb - move wi from write wait to writing queue,seq_num: 269, req_id: 181
[2016-01-13 12:34:45][DEBUG] tcpwrite_done_cb - move wi from writing to resp pending queue, req_id: 181
JS: CurPlayer.moveToTarget========>>
[2016-01-13 12:34:46][DEBUG] pc_request_with_timeout - use dynamic alloc request
[2016-01-13 12:34:46][INFO] pc_request_with_timeout - add request to queue, req id: 182
[2016-01-13 12:34:46][DEBUG] tr_uv_tcp_send - use dynamic alloc write item, seq_num: 270, req_id: 182
[2016-01-13 12:34:46][DEBUG] tr_uv_tcp_send - put to write wait queue, seq_num: 270, req_id: 182
[2016-01-13 12:34:46][DEBUG] tr_uv_tcp_send - seq num: 270, req_id: 182
[2016-01-13 12:34:46][DEBUG] tcp
write_async_cb - move wi from write wait to writing queue,seq_num: 270, req_id: 182
[2016-01-13 12:34:46][DEBUG] tcpwrite_done_cb - move wi from writing to resp pending queue, req_id: 182
JS: CurPlayer.moveToTarget========>>
[2016-01-13 12:34:46][DEBUG] pc_request_with_timeout - use dynamic alloc request
[2016-01-13 12:34:46][INFO] pc_request_with_timeout - add request to queue, req id: 183
[2016-01-13 12:34:46][DEBUG] tr_uv_tcp_send - use dynamic alloc write item, seq_num: 271, req_id: 183
[2016-01-13 12:34:46][DEBUG] tr_uv_tcp_send - put to write wait queue, seq_num: 271, req_id: 183
[2016-01-13 12:34:46][DEBUG] tr_uv_tcp_send - seq num: 271, req_id: 183
[2016-01-13 12:34:46][DEBUG] tcp
write_async_cb - move wi from write wait to writing queue,seq_num: 271, req_id: 183
[2016-01-13 12:34:46][DEBUG] tcpwrite_done_cb - move wi from writing to resp pending queue, req_id: 183
JS: CurPlayer.moveToTarget========>>
[2016-01-13 12:34:46][DEBUG] pc_request_with_timeout - use dynamic alloc request
[2016-01-13 12:34:46][INFO] pc_request_with_timeout - add request to queue, req id: 184
[2016-01-13 12:34:46][DEBUG] tr_uv_tcp_send - use dynamic alloc write item, seq_num: 272, req_id: 184
[2016-01-13 12:34:46][DEBUG] tr_uv_tcp_send - put to write wait queue, seq_num: 272, req_id: 184
[2016-01-13 12:34:46][DEBUG] tr_uv_tcp_send - seq num: 272, req_id: 184
[2016-01-13 12:34:46][DEBUG] tcp
write_async_cb - move wi from write wait to writing queue,seq_num: 272, req_id: 184
[2016-01-13 12:34:46][DEBUG] tcpwrite_done_cb - move wi from writing to resp pending queue, req_id: 184
JS: CurPlayer.moveToTarget========>>
[2016-01-13 12:34:47][DEBUG] pc_request_with_timeout - use dynamic alloc request
[2016-01-13 12:34:47][INFO] pc_request_with_timeout - add request to queue, req id: 185
[2016-01-13 12:34:47][DEBUG] tr_uv_tcp_send - use dynamic alloc write item, seq_num: 273, req_id: 185
[2016-01-13 12:34:47][DEBUG] tr_uv_tcp_send - put to write wait queue, seq_num: 273, req_id: 185
[2016-01-13 12:34:47][DEBUG] tr_uv_tcp_send - seq num: 273, req_id: 185
[2016-01-13 12:34:47][DEBUG] tcp
write_async_cb - move wi from write wait to writing queue,seq_num: 273, req_id: 185
[2016-01-13 12:34:47][DEBUG] tcpwrite_done_cb - move wi from writing to resp pending queue, req_id: 185
[2016-01-13 12:34:47][DEBUG] tcp
write_check_timeout_cb - start to check timeout
[2016-01-13 12:34:47][DEBUG] tcpwrite_check_timeout_cb - finish to check timeout
JS: CurPlayer.moveToTarget========>>
[2016-01-13 12:34:47][DEBUG] pc_request_with_timeout - use dynamic alloc request
[2016-01-13 12:34:47][INFO] pc_request_with_timeout - add request to queue, req id: 186
[2016-01-13 12:34:47][DEBUG] tr_uv_tcp_send - use dynamic alloc write item, seq_num: 274, req_id: 186
[2016-01-13 12:34:47][DEBUG] tr_uv_tcp_send - put to write wait queue, seq_num: 274, req_id: 186
[2016-01-13 12:34:47][DEBUG] tr_uv_tcp_send - seq num: 274, req_id: 186
[2016-01-13 12:34:47][DEBUG] tcp
write_async_cb - move wi from write wait to writing queue,seq_num: 274, req_id: 186
[2016-01-13 12:34:47][DEBUG] tcpwrite_done_cb - move wi from writing to resp pending queue, req_id: 186
JS: CurPlayer.moveToTarget========>>
[2016-01-13 12:34:48][DEBUG] pc_request_with_timeout - use dynamic alloc request
[2016-01-13 12:34:48][INFO] pc_request_with_timeout - add request to queue, req id: 187
[2016-01-13 12:34:48][DEBUG] tr_uv_tcp_send - use dynamic alloc write item, seq_num: 275, req_id: 187
[2016-01-13 12:34:48][DEBUG] tr_uv_tcp_send - put to write wait queue, seq_num: 275, req_id: 187
[2016-01-13 12:34:48][DEBUG] tr_uv_tcp_send - seq num: 275, req_id: 187
[2016-01-13 12:34:48][DEBUG] tcp
write_async_cb - move wi from write wait to writing queue,seq_num: 275, req_id: 187
[2016-01-13 12:34:48][DEBUG] tcpwrite_done_cb - move wi from writing to resp pending queue, req_id: 187
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onStand, arg2: {"entityId":21,"x":1653,"y":1123}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onMove, arg2: {"entityId":21,"path":[{"x":1655,"y":1106},{"x":1412,"y":1356}],"speed":240}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onStand, arg2: {"entityId":21,"x":1653,"y":1123}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onMove, arg2: {"entityId":21,"path":[{"x":1623,"y":1138},{"x":1412,"y":1356}],"speed":240}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48]JS: path move====>>
[INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onStand, arg2: {"entityId":21,"x":1653,"y":1123}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onMove, arg2: {"entityId":21,"path":[{"x":1595,"y":1167},{"x":1412,"y":1356}],"speed":240}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onStand, arg2: {"entityId":21,"x":1653,"y":1123}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onMove, arg2: {"entityId":21,"path":[{"x":1568,"y":1195},{"x":1412,"y":1356}],"speed":240}
JS: CurPlayer.stopMove=====>>isAttack=undefined
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onStand, arg2: {"entityId":21,"x":1653,"y":1123}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onRemoveEntities, arg2: {"entities":[5,6,30,8,10,23,28,29,33,39,41,43,44,45,46,47,48]}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onMove, arg2: {"entityId":21,"path":[{"x":1537,"y":1226},{"x":1412,"y":1356}],"speed":240}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onStand, arg2: {"entityId":21,"x":1653,"y":1123}
[2016-01-13 12:34:48]JS: onStand make stop
JS: CurPlayer.stopMove=====>>isAttack=undefined
JS: path move====>>
[INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onRemoveEntities, arg2: {"entities":[5,6,30,8,10,23,28,29,33,39,41,43,44,45,46,47,48]}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onMove, arg2: {"entityId":21,"path":[{"x":1510,"y":1255},{"x":1412,"y":1356}],"speed":240}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onStand, arg2: {"entityId":21,"x":1653,"y":1123}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onRemoveEntities, arg2: {"entities":[5,6,30,8,10,23,28,29,33,39,41,43,44,45,46,47,48]}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onMove, arg2: {"entityId":21,"path":[{"x":1481,"y":1285},{"x":1412,"y":1356}],"speed":240}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onStand, arg2: {"entityId":21,"x":1653,"y":1123}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onRemoveEntities, arg2: {"entities":[5,6,30,8,10,23,28,29,33,39,41,43,44,45,46,47,48]}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onMove, arg2: {"entityId":21,"path":[{"x":1450,"y":1316},{"x":1412,"y":1356}],"speed":240}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onStand, arg2: {"entityId":21,"x":1653,"y":1123}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onRemoveEntities, arg2: {"entities":[5,6,30,8,10,23,28,29,33,39,41,43,44,45,46,47,48]}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onMove, arg2: {"entityId":21,"path":[{"x":1419,"y":1348},{"x":1412,"y":1356}],"speed":240}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onStand, arg2: {"entityId":21,"x":1653,"y":1123}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onRemoveEntities, arg2: {"entities":[5,6,30,8,10,23,28,29,33,39,41,43,44,45,46,47,48]}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onMove, arg2: {"entityId":21,"path":[{"x":1412,"y":1356},{"x":1270,"y":1250},{"x":1076,"y":1240}],"speed":240}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onStand, arg2: {"entityId":21,"x":1653,"y":1123}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onRemoveEntities, arg2: {"entities":[5,6,30,8,10,23,28,29,33,39,41,43,44,45,46,47,48]}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onMove, arg2: {"entityId":21,"path":[{"x":1412,"y":1356},{"x":1270,"y":1250},{"x":1070,"y":1237}],"speed":240}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onStand, arg2: {"entityId":21,"x":1653,"y":1123}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onRemoveEntities, arg2: {"entities":[5,6,30,8,10,23,28,29,33,39,41,43,44,45,46,47,48]}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onMove, arg2: {"entityId":21,"path":[{"x":1412,"y":1356},{"x":1270,"y":1250},{"x":1070,"y":1237}],"speed":240}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onStand, arg2: {"entityId":21,"x":1653,"y":1123}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onRemoveEntities, arg2: {"entities":[5,6,30,8,10,23,28,29,33,39,41,43,44,45,46,47,48]}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onMove, arg2: {"entityId":21,"path":[{"x":1412,"y":1356},{"x":1801,"y":1079}],"speed":240}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onStand, arg2: {"entityId":21,"x":1653,"y":1123}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onRemoveEntities, arg2: {"entities":[5,6,30,8,10,23,28,29,33,39,41,43,44,45,46,47,48]}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onMove, arg2: {"entityId":21,"path":[{"x":1412,"y":1356},{"x":1490,"y":1130},{"x":1570,"y":1050},{"x":1690,"y":930},{"x":1790,"y":890},{"x":1823,"y":810}],"speed":240}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onStand, arg2: {"entityId":21,"x":1653,"y":1123}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onRemoveEntities, arg2: {"entities":[5,6,30,8,10,23,28,29,33,39,41,43,44,45,46,47,48]}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onMove, arg2: {"entityId":21,"path":[{"x":1412,"y":1356},{"x":1510,"y":1070},{"x":1590,"y":990},{"x":1690,"y":950},{"x":1790,"y":890},{"x":1870,"y":730},{"x":1924,"y":675}],"speed":240}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onStand, arg2: {"entityId":21,"x":1653,"y":1123}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onRemoveEntities, arg2: {"entities":[5,6,30,8,10,23,28,29,33,39,41,43,44,45,46,47,48]}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onMove, arg2: {"entityId":21,"path":[{"x":1412,"y":1356},{"x":1510,"y":1070},{"x":1590,"y":990},{"x":1690,"y":950},{"x":1790,"y":890},{"x":1870,"y":730},{"x":1924,"y":675}],"speed":240}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onStand, arg2: {"entityId":21,"x":1653,"y":1123}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onRemoveEntities, arg2: {"entities":[5,6,30,8,10,23,28,29,33,39,41,43,44,45,46,47,48]}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onMove, arg2: {"entityId":21,"path":[{"x":1412,"y":1356},{"x":1986,"y":825}],"speed":240}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onStand, arg2: {"entityId":21,"x":1653,"y":1123}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onRemoveEntities, arg2: {"entities":[5,6,30,8,10,23,28,29,33,39,41,43,44,45,46,47,48]}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onMove, arg2: {"entityId":21,"path":[{"x":1412,"y":1356},{"x":1262,"y":1158}],"speed":240}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onStand, arg2: {"entityId":21,"x":1653,"y":1123}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onRemoveEntities, arg2: {"entities":[5,6,30,8,10,23,28,29,33,39,41,43,44,45,46,47,48]}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onMove, arg2: {"entityId":21,"path":[{"x":1412,"y":1356},{"x":1825,"y":1112}],"speed":240}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onStand, arg2: {"entityId":21,"x":1653,"y":1123}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onRemoveEntities, arg2: {"entities":[5,6,30,8,10,23,28,29,33,39,41,43,44,45,46,47,48]}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onMove, arg2: {"entityId":21,"path":[{"x":1412,"y":1356},{"x":1539,"y":1380}],"speed":240}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onStand, arg2: {"entityId":21,"x":1653,"y":1123}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onRemoveEntities, arg2: {"entities":[5,6,30,8,10,23,28,29,33,39,41,43,44,45,46,47,48]}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onMove, arg2: {"entityId":21,"path":[{"x":1412,"y":1356},{"x":1535,"y":1293}],"speed":240}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onStand, arg2: {"entityId":21,"x":1653,"y":1123}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onRemoveEntities, arg2: {"entities":[5,6,30,8,10,23,28,29,33,39,41,43,44,45,46,47,48]}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onMove, arg2: {"entityId":21,"path":[{"x":1412,"y":1356},{"x":1418,"y":1261}],"speed":240}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onStand, arg2: {"entityId":21,"x":1653,"y":1123}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onRemoveEntities, arg2: {"entities":[5,6,30,8,10,23,28,29,33,39,41,43,44,45,46,47,48]}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onMove, arg2: {"entityId":21,"path":[{"x":1412,"y":1356},{"x":1295,"y":1345}],"speed":240}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onStand, arg2: {"entityId":21,"x":1653,"y":1123}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onRemoveEntities, arg2: {"entities":[5,6,30,8,10,23,28,29,33,39,41,43,44,45,46,47,48]}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onMove, arg2: {"entityId":21,"path":[{"x":1412,"y":1356},{"x":1403,"y":1267}],"speed":240}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onStand, arg2: {"entityId":21,"x":1653,"y":1123}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onRemoveEntities, arg2: {"entities":[5,6,30,8,10,23,28,29,33,39,41,43,44,45,46,47,48]}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onMove, arg2: {"entityId":21,"path":[{"x":1412,"y":1356},{"x":1534,"y":1288}],"speed":240}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onStand, arg2: {"entityId":21,"x":1653,"y":1123}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onRemoveEntities, arg2: {"entities":[5,6,30,8,10,23,28,29,33,39,41,43,44,45,46,47,48]}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 0
[2016-01-13 12:34:48][INFO] pctrans_fire_event - fire event: PC_EV_USER_DEFINED_PUSH, arg1: onMove, arg2: {"entityId":21,"path":[{"x":1412,"y":1356},{"x":1421,"y":1239}],"speed":240}
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 161
[2016-01-13 12:34:48][INFO] pctrans_resp - fire resp event, req_id: 161, rc: PC_RC_OK
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 162
[2016-01-13 12:34:48][INFO] pctrans_resp - fire resp event, req_id: 162, rc: PC_RC_OK
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 163
[2016-01-13 12:34:48][INFO] pctrans_resp - fire resp event, req_id: 163, rc: PC_RC_OK
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 164
[2016-01-13 12:34:48][INFO] pctrans_resp - fire resp event, req_id: 164, rc: PC_RC_OK
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 165
[2016-01-13 12:34:48][INFO] pctrans_resp - fire resp event, req_id: 165, rc: PC_RC_OK
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 166
[2016-01-13 12:34:48][INFO] pctrans_resp - fire resp event, req_id: 166, rc: PC_RC_OK
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 167
[2016-01-13 12:34:48][INFO] pctrans_resp - fire resp event, req_id: 167, rc: PC_RC_OK
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 168
[2016-01-13 12:34:48][INFO] pctrans_resp - fire resp event, req_id: 168, rc: PC_RC_OK
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 169
[2016-01-13 12:34:48][INFO] pctrans_resp - fire resp event, req_id: 169, rc: PC_RC_OK
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 170
[2016-01-13 12:34:48][INFO] pctrans_resp - fire resp event, req_id: 170, rc: PC_RC_OK
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 171
[2016-01-13 12:34:48][INFO] pctrans_resp - fire resp event, req_id: 171, rc: PC_RC_OK
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 172
[2016-01-13 12:34:48][INFO] pctrans_resp - fire resp event, req_id: 172, rc: PC_RC_OK
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 173
[2016-01-13 12:34:48][INFO] pctrans_resp - fire resp event, req_id: 173, rc: PC_RC_OK
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 174
[2016-01-13 12:34:48][INFO] pctrans_resp - fire resp event, req_id: 174, rc: PC_RC_OK
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 175
[2016-01-13 12:34:48][INFO] pctrans_resp - fire resp event, req_id: 175, rc: PC_RC_OK
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 176
[2016-01-13 12:34:48][INFO] pctrans_resp - fire resp event, req_id: 176, rc: PC_RC_OK
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 177
[2016-01-13 12:34:48][INFO] pctrans_resp - fire resp event, req_id: 177, rc: PC_RC_OK
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 178
[2016-01-13 12:34:48][INFO] pctrans_resp - fire resp event, req_id: 178, rc: PC_RC_OK
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 179
[2016-01-13 12:34:48][INFO] pctrans_resp - fire resp event, req_id: 179, rc: PC_RC_OK
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 180
[2016-01-13 12:34:48][INFO] pctrans_resp - fire resp event, req_id: 180, rc: PC_RC_OK
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 181
[2016-01-13 12:34:48][INFO] pctrans_resp - fire resp event, req_id: 181, rc: PC_RC_OK
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 182
[2016-01-13 12:34:48][INFO] pctrans_resp - fire resp event, req_id: 182, rc: PC_RC_OK
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 183
[2016-01-13 12:34:48][INFO] pctrans_resp - fire resp event, req_id: 183, rc: PC_RC_OK
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 184
[2016-01-13 12:34:48][INFO] pctrans_resp - fire resp event, req_id: 184, rc: PC_RC_OK
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 185
[2016-01-13 12:34:48][INFO] pctrans_resp - fire resp event, req_id: 185, rc: PC_RC_OK
[2016-01-13 12:34:48][INFO] tcp
on_data_recieved - recived data, req_id: 186
[2016-01-13 12:34:48][INFO] pc__trans_resp - fire resp event, req_id: 186, rc: PC_RC_OK

#3 linyouhappy 2016-1-13 13:08 回复

2016-01-13 12:34:40到2016-01-13 12:34:48这段时间,没有收到一条服务器的消息,客户端一直write成功。到了2016-01-13 12:34:48这一秒。服务器的消息突然一下子喷出来。这个停顿时间8秒钟啊。作为RPG游戏,完全没法接受。

#4 linyouhappy 2016-1-13 13:12 回复

服务端的日志都是一片绿色的。

#5 linyouhappy 2016-1-13 20:54 回复

没有人知道么?

#6 linyouhappy 2016-1-13 21:19 回复

分析了后端的。在connector的socket.on('message', function(msg) {这个地方设置日志输入。
发现服务端并没有收到客户端的消息。
非常有规律的。每一分钟就发生一次莫名奇妙的8秒钟卡顿。
卡顿这8秒,客户端的tcpwrite_done_cb - move wi from writing to resp pending queue已经调用了。而服务端却connector组件的socket的message并没有收到消息。过了这8秒,统统都收到了。
对于RPG网络游戏来说,这8秒钟不能忍受的。

#7 linyouhappy 2016-1-14 15:11 回复

客户端更换成pomelo-cocos2d-js。问题还是没有改善。还是莫名其妙卡顿。希望pomelo团队能给个解决方案。

#8 {1} linyouhappy 2016-1-14 23:47 回复

一个人开发RPG手机网游,已经坚持4个月,就卡这了。顶起来啊。

wangxy 2016-1-22 17:57 回复

这个最好有数据包,抓包分析一下,才能确定到底是在哪堵了

回到顶部