服务运行一段时间后就会出现一下错误,然后其他第三方服务发送给gatawayworker的数据就收不到返回了,这种情况下要如何排查:
2017-01-07 16:07:52 Workerman status
2017-01-08 13:53:22 WORKER EXIT UNEXPECTED
2017-01-08 13:53:24 worker exit with status 64000
2017-01-08 13:55:14 WORKER EXIT UNEXPECTED
2017-01-08 13:55:14 worker exit with status 64000
2017-01-08 14:17:35 WORKER EXIT UNEXPECTED
2017-01-08 14:17:35 worker exit with status 64000
2017-01-08 14:25:23 WORKER EXIT UNEXPECTED
2017-01-08 14:25:23 worker exit with status 64000
2017-01-08 14:25:46 WORKER EXIT UNEXPECTED
2017-01-08 14:25:46 worker exit with status 64000
2017-01-08 14:25:48 WORKER EXIT UNEXPECTED
2017-01-08 14:25:48 worker exit with status 64000
2017-01-08 14:27:18 WORKER EXIT UNEXPECTED
Workerman status
---------------------------------------GLOBAL STATUS--------------------------------------------
Workerman version:3.3.0 PHP version:5.3.10-1ubuntu3.22
start time:2017-01-08 16:41:09 run 0 days 0 hours
load average: 0.17, 0.19, 0.22 event-loop:libevent
6 workers 70 processes
worker_name exit_status exit_count
proxy_worker 64000 10
proxy_server 0 0
Register 0 0
record_server 0 0
record_server 0 0
Register 0 0
---------------------------------------PROCESS STATUS-------------------------------------------
pid memory listening worker_name connections total_request send_fail throw_exception
25912 3M none proxy_worker 21 959 0 0
25952 3M none record_server 9 93 0 0
25929 3M websocket://0.0.0.0:8804 proxy_server 42 2342 0 0
25972 2.75M websocket://0.0.0.0:2346 record_server 21 154 0 0
25973 2.75M websocket://0.0.0.0:2346 record_server 21 260 0 0
25953 2.75M none record_server 9 80 0 0
25975 2.75M websocket://0.0.0.0:2346 record_server 22 251 0 0
25977 2.75M websocket://0.0.0.0:2346 record_server 21 94 0 0
25974 2.75M websocket://0.0.0.0:2346 record_server 21 80 0 0
25951 2.75M text://0.0.0.0:1238 Register 40 50 0 0
25954 3M none record_server 9 196 0 0
25964 2.75M none record_server 9 70 0 0
25976 2.75M websocket://0.0.0.0:2346 record_server 21 418 0 0
25980 2.75M text://0.0.0.0:1239 Register 28 28 0 0
25955 2.75M none record_server 9 72 0 0
25940 3M websocket://0.0.0.0:8804 proxy_server 38 2739 0 0
25979 2.75M websocket://0.0.0.0:2346 record_server 22 308 0 0
25965 3M none record_server 9 94 0 0
29384 3M none proxy_worker 21 32 0 0
29320 3M none proxy_worker 21 36 0 0
25970 2.75M none record_server 9 83 0 0
25935 3M websocket://0.0.0.0:8804 proxy_server 40 2481 0 0
25916 3M none proxy_worker 21 712 0 0
25969 2.75M none record_server 9 81 0 0
25949 3M websocket://0.0.0.0:8804 proxy_server 38 3470 0 0
25968 2.75M none record_server 9 100 0 0
25938 3M websocket://0.0.0.0:8804 proxy_server 47 2641 0 0
25967 2.75M none record_server 9 120 0 0
25937 3M websocket://0.0.0.0:8804 proxy_server 43 2587 0 0
25930 2.75M websocket://0.0.0.0:8804 proxy_server 32 2362 0 0
25963 2.75M none record_server 9 88 0 0
25962 2.75M none record_server 9 79 0 0
25942 3.25M websocket://0.0.0.0:8804 proxy_server 34 3114 0 0
25944 3M websocket://0.0.0.0:8804 proxy_server 43 3104 0 0
25945 3.25M websocket://0.0.0.0:8804 proxy_server 51 3393 0 0
25960 2.75M none record_server 9 72 0 0
25932 2.75M websocket://0.0.0.0:8804 proxy_server 31 2026 0 0
25956 2.75M none record_server 9 114 0 0
25959 2.75M none record_server 9 81 0 0
25934 3M websocket://0.0.0.0:8804 proxy_server 38 2430 0 0
25931 3M websocket://0.0.0.0:8804 proxy_server 37 2077 0 0
25958 2.75M none record_server 9 85 0 0
25924 3M none proxy_worker 21 862 0 0
25978 2.75M websocket://0.0.0.0:2346 record_server 23 262 0 0
25971 3M none record_server 9 152 0 0
25936 3M websocket://0.0.0.0:8804 proxy_server 33 2686 0 0
25950 3M websocket://0.0.0.0:8804 proxy_server 45 2785 0 0
25939 3M websocket://0.0.0.0:8804 proxy_server 37 2427 0 0
25941 3M websocket://0.0.0.0:8804 proxy_server 31 2401 0 0
28002 3M none proxy_worker 21 214 0 0
25943 3M websocket://0.0.0.0:8804 proxy_server 34 2666 0 0
25948 3M websocket://0.0.0.0:8804 proxy_server 40 2974 0 0
25947 3.25M websocket://0.0.0.0:8804 proxy_server 43 4194 0 0
root@AY130708171619Z:/usr/cloud_server/gateway_workerman#
业务有未捕获的异常导致的。
升级下workerman,新版本workerman记录了异常信息,你这个版本没记录,不好定位是业务哪里的异常