Hi, I'm giving a try to 6.2 and at startup I can see a critical error on TIRPC side: ganesha.nfsd-35296[main] rpc :TIRPC :CRIT :svc_rqst_hook_events: 0x760215596000 fd 1024 xp_refcnt 1 sr_rec 0x76021519a230 evchan 2 ev_refcnt 3 epoll_fd 40 control fd pair (38:39) direction in hook failed (9) This error is not visible when I'm activating FULL_DEBUG on TIRPC so I guess that's a race. What I've found is rec->xprt.xp_fd == 1024 and it's the value set in svc_raw_ncreate (FD_SETSIZE) when srp == NULL Here is the backtrace when the error occurs: #0 svc_rqst_hook_events (rec=0x7fffd64b4600, sr_rec=0x7fffd64b4230, ev_flags=1) at nfs-ganesha/src/src/libntirpc/src/svc_rqst.c:778 #1 0x00007ffff7f74b3b in svc_rqst_evchan_reg (chan_id=2, xprt=0x7fffd64b4600, flags=4096) at nfs-ganesha/src/src/libntirpc/src/svc_rqst.c:1084 #2 0x00007ffff7f5b481 in clnt_vc_ncreatef (fd=44, raddr=0x7fffffffde70, prog=100000, vers=3, sendsz=9000, recvsz=9000, flags=268435472) at nfs-ganesha/src/src/libntirpc/src/clnt_vc.c:219 #3 0x00007ffff7f69882 in local_rpcb (tag=0x7ffff7f92940 <__func__.10> "rpcb_unset") at nfs-ganesha/src/src/libntirpc/src/rpcb_clnt.c:1312 #4 0x00007ffff7f67903 in rpcb_unset (program=100003, version=3, nconf=0x7fffef8241c0) at nfs-ganesha/src/src/libntirpc/src/rpcb_clnt.c:518 #5 0x00007ffff7c6dc88 in unregister (prog=100003, vers1=3, vers2=4) at nfs-ganesha/src/src/MainNFSD/nfs_rpc_dispatcher_thread.c:192 #6 0x00007ffff7c6dd61 in unregister_rpc () at nfs-ganesha/src/src/MainNFSD/nfs_rpc_dispatcher_thread.c:205 #7 0x00007ffff7c718cf in nfs_Init_svc () at nfs-ganesha/src/src/MainNFSD/nfs_rpc_dispatcher_thread.c:1471 #8 0x00007ffff7c76540 in nfs_Init (p_start_info=0x55555555b020 <my_nfs_start_info>) at nfs-ganesha/src/src/MainNFSD/nfs_init.c:1126 #9 0x00007ffff7c76b0c in nfs_start (p_start_info=0x55555555b020 <my_nfs_start_info>) at nfs-ganesha/src/src/MainNFSD/nfs_init.c:1272 #10 0x0000555555557d54 in main (argc=4, argv=0x7fffffffe358) at nfs-ganesha/src/src/MainNFSD/nfs_main.c:638 This doesn't look like having consequences on the next requests but should I worry ? I'm not familiar enough with ntirpc internals but if you need something to help with investigation let me know what I can do. Thanks, Olivier
participants (1)
-
Olivier Garaud