Re: [jgroups-users] unexplained port usage
Questions/problems related to using JGroups <[email protected]>
| Newsgroups | gmane.comp.java.javagroups.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Bobby,
the only other port opened should be by FD_SOCK. This can be set by
start_port.
To find out which protocol opens the other port I suggest run the app in
a debugger and set a breakpoint in Socket / ServerSocket.
On 09/06/16 22:18, Questions/problems related to using JGroups wrote:
> Hi Bela et al,
>
> In an earlier version of our product, using jgroups '3.4.2.Final', the
> customer sees jgroups using some random ports besides the ones used for
> jgroups binding address. Can you tell me if these are used by jgroups
> for anything? 41233 and 35223
>
> The stack we use is below (for 3.4.2):
>
> Thanks,
> Bobby
>
> stack.addProtocol(new TCP()
> .setValue("oob_thread_pool_keep_alive_time", 5000)
> .setValue("timer_keep_alive_time", 3000)
> .setValue("bind_addr",
> InetAddress.getByName(getBindingAddress()))
> .setValue("bind_port", <7800 in this case>)
> .setValue("thread_pool_min_threads", 1)
> .setValue("thread_pool_keep_alive_time", 5000)
> .setValue("send_buf_size", 640000)
> .setValue("oob_thread_pool_queue_max_size", 100)
> .setValue("oob_thread_pool_max_threads", 8)
> .setValue("thread_pool_queue_enabled", false)
> .setValue("sock_conn_timeout", 300)
> .setValue("oob_thread_pool_min_threads", 1)
> .setValue("loopback", false)
> .setValue("oob_thread_pool_queue_enabled", false)
> .setValue("max_bundle_timeout", 30)
> .setValue("thread_pool_queue_max_size", 100)
> .setValue("recv_buf_size", 5000000))
> .addProtocol(new TCPPING()
> .setValue("initial_hosts", parseHostList())
> .setValue("num_initial_members", 3)) // default: 10
> .addProtocol(new MERGE2()
> .setValue("min_interval", 10000)
> .setValue("max_interval", 30000))
> .addProtocol(new FD_SOCK())
> .addProtocol(new FD()
> .setValue("max_tries", getJGRoupsMaxTries())
> .setValue("timeout", getJGroupsTimeout()))
> .addProtocol(new VERIFY_SUSPECT()
> .setValue("timeout", 1500))
> .addProtocol(new BARRIER())
> .addProtocol(new NAKACK2()
> .setValue("use_mcast_xmit", false))
> .addProtocol(new UNICAST3()
> .setValue("conn_close_timeout", 5000L)) // issue 31958
> .addProtocol(new STABLE()
> .setValue("desired_avg_gossip", 50000)
> .setValue("max_bytes", 4000000)
> .setValue("stability_delay", 1000))
> .addProtocol(createAuthProtocol())
> .addProtocol(new GMS()
> .setValue("join_timeout", 3000)
> .setValue("print_local_addr", false))
> .addProtocol(new MFC()
> .setValue("max_credits", 2000000)
> .setValue("min_credits", 800000))
> .addProtocol(new FRAG2());
>
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
>
>
>
> _______________________________________________
> javagroups-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/javagroups-users
>
--
Bela Ban, JGroups lead (http://www.jgroups.org)
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e