incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohammad Hajjat <haj...@purdue.edu>
Subject Re: Socket buffer size
Date Mon, 22 Jul 2013 00:15:29 GMT
For (rpc_send_buff_size_in_bytes), I was able to try many values of this
parameter. However, whenever I tried to configure (
internode_send_buff_size_in_bytes) Cassandra kept crashing. Has anyone
tried configuring the (internode_send_buff_size_in_bytes) parameter?

Here is the Traceback (most recent call last):
  File "/home/ubuntu/Twissandra_direct/twissandra/manage.py", line 11, in
<module>
    execute_manager(settings)
  File
"/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 438, in execute_manager
    utility.execute()
  File
"/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 379, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File
"/usr/local/lib/python2.7/dist-packages/django/core/management/base.py",
line 191, in run_from_argv
    self.execute(*args, **options.__dict__)
  File
"/usr/local/lib/python2.7/dist-packages/django/core/management/base.py",
line 220, in execute
    output = self.handle(*args, **options)
  File
"/usr/local/lib/python2.7/dist-packages/django/core/management/base.py",
line 351, in handle
    return self.handle_noargs(**options)
  File
"/home/ubuntu/Twissandra_direct/twissandra/tweets/management/commands/sync_cassandra.py",
line 9, in handle_noargs
    sys = SystemManager(server='localhost:9160')
  File "/usr/local/lib/python2.7/dist-packages/pycassa/system_manager.py",
line 70, in __init__
    self._conn = Connection(None, server, framed_transport, timeout,
credentials)
  File "/usr/local/lib/python2.7/dist-packages/pycassa/connection.py", line
33, in __init__
    self.transport.open()
  File
"/usr/local/lib/python2.7/dist-packages/thrift/transport/TTransport.py",
line 261, in open
    return self.__trans.open()
  File
"/usr/local/lib/python2.7/dist-packages/thrift/transport/TSocket.py", line
99, in open
    message=message)




On Sat, Jul 20, 2013 at 6:31 PM, Shahab Yunus <shahab.yunus@gmail.com>wrote:

> I think the former is for client communication to the nodes and the latter
> for communication between nodes themselves as evident by the name of the
> property. Please feel free to correct me if I am wrong.
>
> Regards,
> Shahab
>
>
> On Saturday, July 20, 2013, Mohammad Hajjat wrote:
>
>>  Hi,
>>
>> What's the difference between: rpc_send_buff_size_in_bytes and
>> internode_send_buff_size_in_bytes?
>>
>> I need to set my TCP socket buffer size (for both transmit/receive) to a
>> given value and I wasn't sure of the relation between these two
>> configurations. Is there any recommendation? Do they have to be equal, one
>> less than another, etc.?
>>
>> The documentation here is not really helping much!
>> http://www.datastax.com/docs/1.2/configuration/node_configuration#rpc-send-buff-size-in-bytes
>>
>> Thanks!
>> --
>> *Mohammad Hajjat*
>> *Ph.D. Student*
>> *Electrical and Computer Engineering*
>> *Purdue University*
>>
>


-- 
*Mohammad Hajjat*
*Ph.D. Student*
*Electrical and Computer Engineering*
*Purdue University*

Mime
View raw message