> On 11/13/17 12:35 AM, Frank Filz wrote: > > 5ca449d Jan-Martin Rämer handle hosts via libcidr to unify IPv4/IPv4 > > host/network clients > > > Ran pynfs, seeing some massive leaks that weren't there last week:
This patch is the cause: https://review.gerrithub.io/#/c/385405/ > Direct leak of 505080 byte(s) in 12627 object(s) allocated from: > #0 0x7ffff6efcfe0 in calloc (/lib64/libasan.so.3+0xc6fe0) > #1 0x64c976 in gsh_calloc__ /home/bill/rdma/nfs- > ganesha/src/include/abstract_mem.h:145 > #2 0x64c9e7 in cidr_alloc /home/bill/rdma/nfs- > ganesha/src/cidr/cidr_mem.c:16 > #3 0x64c21c in cidr_from_inaddr /home/bill/rdma/nfs- > ganesha/src/cidr/cidr_inaddr.c:56 > #4 0x623042 in client_match /home/bill/rdma/nfs- > ganesha/src/support/exports.c:2401 > #5 0x625eb0 in export_check_access /home/bill/rdma/nfs- > ganesha/src/support/exports.c:2775 > #6 0x6077e4 in nfs4_export_check_access /home/bill/rdma/nfs- > ganesha/src/support/nfs_creds.c:556 > #7 0x4da4a1 in nfs4_mds_putfh /home/bill/rdma/nfs- > ganesha/src/Protocols/NFS/nfs4_op_putfh.c:187 > #8 0x4dac87 in nfs4_op_putfh /home/bill/rdma/nfs- > ganesha/src/Protocols/NFS/nfs4_op_putfh.c:281 > #9 0x4a1727 in nfs4_Compound /home/bill/rdma/nfs- > ganesha/src/Protocols/NFS/nfs4_Compound.c:752 > #10 0x47f198 in nfs_rpc_process_request /home/bill/rdma/nfs- > ganesha/src/MainNFSD/nfs_worker_thread.c:1338 > #11 0x48122e in nfs_rpc_valid_NFS /home/bill/rdma/nfs- > ganesha/src/MainNFSD/nfs_worker_thread.c:1736 > #12 0x7ffff5c7575a in svc_vc_decode > /home/bill/rdma/ntirpc/src/svc_vc.c:812 > #13 0x48b8b0 in nfs_rpc_decode_request /home/bill/rdma/nfs- > ganesha/src/MainNFSD/nfs_rpc_dispatcher_thread.c:1626 > #14 0x7ffff5c7566c in svc_vc_recv /home/bill/rdma/ntirpc/src/svc_vc.c:785 > #15 0x7ffff5c71f06 in svc_rqst_xprt_task > /home/bill/rdma/ntirpc/src/svc_rqst.c:764 > #16 0x7ffff5c72383 in svc_rqst_epoll_events > /home/bill/rdma/ntirpc/src/svc_rqst.c:936 > #17 0x7ffff5c724ca in svc_rqst_epoll_loop > /home/bill/rdma/ntirpc/src/svc_rqst.c:974 > #18 0x7ffff5c72580 in svc_rqst_run_task > /home/bill/rdma/ntirpc/src/svc_rqst.c:1010 > #19 0x7ffff5c7bc4c in work_pool_thread > /home/bill/rdma/ntirpc/src/work_pool.c:176 > #20 0x7ffff60b3739 in start_thread (/lib64/libpthread.so.0+0x7739) > > Direct leak of 125640 byte(s) in 3141 object(s) allocated from: > #0 0x7ffff6efcfe0 in calloc (/lib64/libasan.so.3+0xc6fe0) > #1 0x64c976 in gsh_calloc__ /home/bill/rdma/nfs- > ganesha/src/include/abstract_mem.h:145 > #2 0x64c9e7 in cidr_alloc /home/bill/rdma/nfs- > ganesha/src/cidr/cidr_mem.c:16 > #3 0x64c21c in cidr_from_inaddr /home/bill/rdma/nfs- > ganesha/src/cidr/cidr_inaddr.c:56 > #4 0x623042 in client_match /home/bill/rdma/nfs- > ganesha/src/support/exports.c:2401 > #5 0x625eb0 in export_check_access /home/bill/rdma/nfs- > ganesha/src/support/exports.c:2775 > #6 0x6077e4 in nfs4_export_check_access /home/bill/rdma/nfs- > ganesha/src/support/nfs_creds.c:556 > #7 0x4db60b in nfs4_op_putrootfh /home/bill/rdma/nfs- > ganesha/src/Protocols/NFS/nfs4_op_putrootfh.c:98 > #8 0x4a1727 in nfs4_Compound /home/bill/rdma/nfs- > ganesha/src/Protocols/NFS/nfs4_Compound.c:752 > #9 0x47f198 in nfs_rpc_process_request /home/bill/rdma/nfs- > ganesha/src/MainNFSD/nfs_worker_thread.c:1338 > #10 0x48122e in nfs_rpc_valid_NFS /home/bill/rdma/nfs- > ganesha/src/MainNFSD/nfs_worker_thread.c:1736 > #11 0x7ffff5c7575a in svc_vc_decode > /home/bill/rdma/ntirpc/src/svc_vc.c:812 > #12 0x48b8b0 in nfs_rpc_decode_request /home/bill/rdma/nfs- > ganesha/src/MainNFSD/nfs_rpc_dispatcher_thread.c:1626 > #13 0x7ffff5c7566c in svc_vc_recv /home/bill/rdma/ntirpc/src/svc_vc.c:785 > #14 0x7ffff5c71f06 in svc_rqst_xprt_task > /home/bill/rdma/ntirpc/src/svc_rqst.c:764 > #15 0x7ffff5c72383 in svc_rqst_epoll_events > /home/bill/rdma/ntirpc/src/svc_rqst.c:936 > #16 0x7ffff5c724ca in svc_rqst_epoll_loop > /home/bill/rdma/ntirpc/src/svc_rqst.c:974 > #17 0x7ffff5c72580 in svc_rqst_run_task > /home/bill/rdma/ntirpc/src/svc_rqst.c:1010 > #18 0x7ffff5c7bc4c in work_pool_thread > /home/bill/rdma/ntirpc/src/work_pool.c:176 > #19 0x7ffff60b3739 in start_thread (/lib64/libpthread.so.0+0x7739) > > Direct leak of 124760 byte(s) in 3119 object(s) allocated from: > #0 0x7ffff6efcfe0 in calloc (/lib64/libasan.so.3+0xc6fe0) > #1 0x64c976 in gsh_calloc__ /home/bill/rdma/nfs- > ganesha/src/include/abstract_mem.h:145 > #2 0x64c9e7 in cidr_alloc /home/bill/rdma/nfs- > ganesha/src/cidr/cidr_mem.c:16 > #3 0x64c21c in cidr_from_inaddr /home/bill/rdma/nfs- > ganesha/src/cidr/cidr_inaddr.c:56 > #4 0x623042 in client_match /home/bill/rdma/nfs- > ganesha/src/support/exports.c:2401 > #5 0x625eb0 in export_check_access /home/bill/rdma/nfs- > ganesha/src/support/exports.c:2775 > #6 0x6077e4 in nfs4_export_check_access /home/bill/rdma/nfs- > ganesha/src/support/nfs_creds.c:556 > #7 0x4c69a1 in nfs4_op_lookup /home/bill/rdma/nfs- > ganesha/src/Protocols/NFS/nfs4_op_lookup.c:150 > #8 0x4a1727 in nfs4_Compound /home/bill/rdma/nfs- > ganesha/src/Protocols/NFS/nfs4_Compound.c:752 > #9 0x47f198 in nfs_rpc_process_request /home/bill/rdma/nfs- > ganesha/src/MainNFSD/nfs_worker_thread.c:1338 > #10 0x48122e in nfs_rpc_valid_NFS /home/bill/rdma/nfs- > ganesha/src/MainNFSD/nfs_worker_thread.c:1736 > #11 0x7ffff5c7575a in svc_vc_decode > /home/bill/rdma/ntirpc/src/svc_vc.c:812 > #12 0x48b8b0 in nfs_rpc_decode_request /home/bill/rdma/nfs- > ganesha/src/MainNFSD/nfs_rpc_dispatcher_thread.c:1626 > #13 0x7ffff5c7566c in svc_vc_recv /home/bill/rdma/ntirpc/src/svc_vc.c:785 > #14 0x7ffff5c71f06 in svc_rqst_xprt_task > /home/bill/rdma/ntirpc/src/svc_rqst.c:764 > #15 0x7ffff5c72383 in svc_rqst_epoll_events > /home/bill/rdma/ntirpc/src/svc_rqst.c:936 > #16 0x7ffff5c724ca in svc_rqst_epoll_loop > /home/bill/rdma/ntirpc/src/svc_rqst.c:974 > #17 0x7ffff5c72580 in svc_rqst_run_task > /home/bill/rdma/ntirpc/src/svc_rqst.c:1010 > #18 0x7ffff5c7bc4c in work_pool_thread > /home/bill/rdma/ntirpc/src/work_pool.c:176 > #19 0x7ffff60b3739 in start_thread (/lib64/libpthread.so.0+0x7739) > --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Nfs-ganesha-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel
