[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gluster-devel] Question on rpc_transport_unref
From: |
Emmanuel Dreyfus |
Subject: |
Re: [Gluster-devel] Question on rpc_transport_unref |
Date: |
Sat, 27 Apr 2013 06:52:37 +0200 |
User-agent: |
MacSOUP/2.7 (unregistered for 2289 days) |
Emmanuel Dreyfus <address@hidden> wrote:
> Is it normal behavior that the reference count drops to zero while the
> brick is being used by a client? Is there a reference count problem
> somewhere?
I added debug message to trace transport reference counts, I found
something that looks rotten. Here is brick startup:
[socket.c:2975:socket_listen]
rpc_transport_ref(0x7f7ff6bf5000) 0 -> 1
[socket.c:2817:socket_connect]
rpc_transport_ref(0x7f7ff6fbd000) 1 -> 2
[socket.c:2975:socket_listen]
rpc_transport_ref(0x7f7ff6fd0000) 0 -> 1
[socket.c:2548:socket_server_event_handler]
rpc_transport_ref(0x7f7ff6fcc000) 0 -> 1
[socket.c:2548:socket_server_event_handler]
rpc_transport_ref(0x7f7ff6fcd000) 0 -> 1
[rpcsvc.c:309:rpcsvc_request_init]
rpc_transport_ref(0x7f7ff6fcd000) 1 -> 2
[rpcsvc.c:282:rpcsvc_request_destroy]
rpc_transport_unref(0x7f7ff6fcd000) 2 -> 1
[rpcsvc.c:309:rpcsvc_request_init]
rpc_transport_ref(0x7f7ff6fcd000) 1 -> 2
[rpcsvc.c:282:rpcsvc_request_destroy]
rpc_transport_unref(0x7f7ff6fcd000) 2 -> 1
[rpcsvc.c:309:rpcsvc_request_init]
rpc_transport_ref(0x7f7ff6fcd000) 1 -> 2
[rpcsvc.c:282:rpcsvc_request_destroy]
rpc_transport_unref(0x7f7ff6fcd000) 2 -> 1
[rpcsvc.c:309:rpcsvc_request_init]
rpc_transport_ref(0x7f7ff6fcd000) 1 -> 2
[rpcsvc.c:282:rpcsvc_request_destroy]
rpc_transport_unref(0x7f7ff6fcd000) 2 -> 1
[rpcsvc.c:309:rpcsvc_request_init]
rpc_transport_ref(0x7f7ff6fcd000) 1 -> 2
[server-helpers.c:762:server_alloc_frame]
rpc_transport_ref(0x7f7ff6fcd000) -151203840 -> -151201064
We can note that -151203840 is 0xf6fcd000, which oddly looks like
transport address itself.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
address@hidden
- [Gluster-devel] 0-poll: index not found for fd, Emmanuel Dreyfus, 2013/04/25
- Re: [Gluster-devel] 0-poll: index not found for fd, Emmanuel Dreyfus, 2013/04/25
- Re: [Gluster-devel] 0-poll: index not found for fd, Emmanuel Dreyfus, 2013/04/25
- [Gluster-devel] Question on rpc_transport_unref, Emmanuel Dreyfus, 2013/04/26
- Re: [Gluster-devel] Question on rpc_transport_unref,
Emmanuel Dreyfus <=
- Re: [Gluster-devel] Question on rpc_transport_unref, Emmanuel Dreyfus, 2013/04/27
- Re: [Gluster-devel] Question on rpc_transport_unref, Anand Avati, 2013/04/27
- Re: [Gluster-devel] Question on rpc_transport_unref, Emmanuel Dreyfus, 2013/04/27
- Re: [Gluster-devel] Question on rpc_transport_unref, Emmanuel Dreyfus, 2013/04/27
- Re: [Gluster-devel] Question on rpc_transport_unref, Emmanuel Dreyfus, 2013/04/28
- [Gluster-devel] [FIXED] Question on rpc_transport_unref, Emmanuel Dreyfus, 2013/04/29