- 论坛徽章:
- 15
|
本帖最后由 yulihua49 于 2015-07-02 11:14 编辑
- 5 emasmgr:14434 07/02 10:06'22 cfg={ "DNODE1": [ { "d_node": "1", "DEVID": "RC_MID", "LABEL": "amu9aQDi_Wq@", "UID": "", "PWD": "", "NUM": "20", "NEXT_d_node": "0", "HOST": "localhost", "PORT": "11055", "MTU": "0", "family": "" } ] },POOLNUM=1
- 5 emasmgr:14434 07/02 10:06'22 DNODE1:path_num=1
- 5 emasmgr:14434 07/02 10:06'22 link[0]=20
- 2 emasmgr:14434 07/02 10:06'22 scpool 1,ctpool 2
- 1 emasmgr:14434 07/02 10:06'22 connect localhost/11050 error 111
- 0 emasmgr:14434 07/02 10:06'22 tpool_init:MAXCLIENT=800,threads=3
- 0 emasmgr:14434 07/02 10:06'22 main start tid=7FDAA0F24700 sock=5
- 2 emasmgr:14434 07/02 10:06'22 cli_sched:tid=7FDAA0521700 created
- 2 emasmgr:14434 07/02 10:06'22 cli_sched:tid=7FDAA0F22700 created
- 2 emasmgr:14434 07/02 10:06'22 thread_work:thread 7FDA9E293700 start!
- 2 emasmgr:14434 07/02 10:06'22 thread_work:thread 7FDA9EC94700 start!
- 2 emasmgr:14434 07/02 10:06'22 thread_work:thread 7FDA9F695700 start!
- #############################
- ##epoll 有惊群?TCB_no=0分给了两个线程:95700,94700
- 5 emasmgr:14434 07/02 10:06'28 thread_work:7FDA9F695700 create fiber for TCB_no=0
- 2 emasmgr:14434 07/02 10:06'28 连接 127.0.0.1,TCB:0,timeout=360
- 5 emasmgr:14434 07/02 10:06'28 thread_work:7FDA9EC94700 create fiber for TCB_no=0
- #############################
- 4 emasmgr:14434 07/02 10:06'28 do_work: TCB_no=0,tid=7FDA9EC94700,PROTO_NUM=0 pkg_len=77,t_len=77,O_NODE=16777343,USEC=3644877988530737
- 5 CLIBG:127.0.0.1:0 07/02 10:06'28 get_SC_by_weight:tid=7FDA9EC94700,DNODE[1] weight[0]=20
- 5 CLIBG:127.0.0.1:0 07/02 10:06'28 thread_work:tid=7FDA9EC94700,fiber yield from TCB_no=0
- 2 emasmgr:14434 07/02 10:06'28 连接 127.0.0.1,TCB:1,timeout=360
- 5 emasmgr:14434 07/02 10:06'28 thread_work:tid 7FDA9EC94700 抢入 SYNC
- 4 emasmgr:14434 07/02 10:06'28 do_work: TCB_no=1,tid=7FDA9EC94700,PROTO_NUM=0 pkg_len=77,t_len=77,O_NODE=16777343,USEC=3644877988532717
复制代码 先是95700在线程锁上憋死了,后94700也憋死了。
以后服务器就死掉了。
epoll已经使用了EPOLLONESHOT。
只偶然出现了一次。后来又好了。
|
|