Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-793

64MB transferTo chunk size is too large for win32

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Duplicate
    • Fix Version/s: 0.5
    • Component/s: None
    • Labels:
      None
    • Severity:
      Low

      Description

      As reported by ruslan usifov on cassandra-user, he sees exceptions like

      java.io.IOException: Невозможно выполнить операцию на сокете, т.к. буфер слишком мал или очередь переполнена
      at sun.nio.ch.SocketDispatcher.write0(Native Method)
      at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:33)
      at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
      at sun.nio.ch.IOUtil.write(IOUtil.java:60)
      at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
      at sun.nio.ch.FileChannelImpl.transferToTrustedChannel(FileChannelImpl.java:449)
      at sun.nio.ch.FileChannelImpl.transferTo(FileChannelImpl.java:520)
      at org.apache.cassandra.net.FileStreamTask.stream(FileStreamTask.java:95)

      this appears to translate to "insufficient buffer space."

      He also reports that reducing CHUNK_SIZE to 32MB fixes the problem.

        Attachments

        1. 793.txt
          0.9 kB
          Jonathan Ellis

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jbellis Jonathan Ellis
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: