Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.4
    • Fix Version/s: 3.4.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      ubuntu12.04, cassandra 1.2.6

    • Sprint:
      Py P-3.y
    • Reproduced in:

      Description

      I don't have gevent or libev installed. Following code is run in my Python shell:

      > from cassandra.cluster import Cluster
      > cluster = Cluster(protocol_version=1)
      > session = cluster.connect(keyspace='foo_keyspace')

      I monitored CPU utilization via htop, and I found Python process started using CPU constantly as the connection establised. It seems AsyncoreConnection is looping in a high frequency for events under the hoop. This caused a high load average on my server.
      As I don't see any documentation mention about this(sorry if I miss something), I'd like to ask is it a known issue when using asyncore for event loop?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              thoslin Tom Lin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: