[
https://issues.apache.org/jira/browse/CASSANDRA-6206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13800968#comment-13800968
]
Nenad Merdanovic commented on CASSANDRA-6206:
---------------------------------------------
Hello Vijay,
Not sure I understand, you want me to have a default value in code just the
same as Java default? So basically, in the patch I should change:
+ public Integer rpc_listen_backlog = 1024;
to
+ public Integer rpc_listen_backlog = 50;
If that is it, no problem, I'll attach another patch.
> Thrift socket listen backlog
> ----------------------------
>
> Key: CASSANDRA-6206
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6206
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Environment: Debian Linux, Java 7
> Reporter: Nenad Merdanovic
> Fix For: 2.0.2
>
> Attachments: cassandra.patch
>
>
> Although Thrift is a depreciated method of accessing Cassandra, default
> backlog is way too low on that socket. It shouldn't be a problem to implement
> it and I am including a POC patch for this (sorry, really low on time with
> limited Java knowledge so just to give an idea).
> This is an old report which was never addressed and the bug remains till this
> day, except in my case I have a much larger scale application with 3rd party
> software which I cannot modify to include connection pooling:
> https://issues.apache.org/jira/browse/CASSANDRA-1663
> There is also a pending change in the Thrift itself which Cassandra should be
> able to use for parts using TServerSocket (SSL):
> https://issues.apache.org/jira/browse/THRIFT-1868
--
This message was sent by Atlassian JIRA
(v6.1#6144)