org.apache.http.nio.reactor.IOReactorException: Failure opening socket

hc-dev | Jeremy Barlow (JIRA) | 11 months ago
  1. 0

    [jira] [Commented] (HTTPASYNC-99) Response handling problems when too many open files as request executed

    hc-dev | 11 months ago | Jeremy Barlow (JIRA)
    org.apache.http.nio.reactor.IOReactorException: Failure opening socket
  2. 0

    "Too many open files" when adding a lot of requests at once

    GitHub | 4 years ago | Rogach
    java.net.SocketException: Too many open files
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Why could create socketchannels more than max open files?

    Stack Overflow | 2 years ago
    java.net.SocketException: Too many open files

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.net.SocketException

      Too many open files in system

      at sun.nio.ch.Net.socket0()
    2. Java RT
      SocketChannel.open
      1. sun.nio.ch.Net.socket0(Native Method)
      2. sun.nio.ch.Net.socket(Net.java:416)
      3. sun.nio.ch.Net.socket(Net.java:409)
      4. sun.nio.ch.SocketChannelImpl.<init>(SocketChannelImpl.java:105)
      5. sun.nio.ch.SelectorProviderImpl.openSocketChannel(SelectorProviderImpl.java:60)
      6. java.nio.channels.SocketChannel.open(SocketChannel.java:145)
      6 frames
    3. Apache HttpCore NIO
      AbstractMultiworkerIOReactor.execute
      1. org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processSessionRequests(DefaultConnectingIOReactor.java:258)
      2. org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:141)
      3. org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:350)
      3 frames
    4. Apache HttpAsyncClient
      CloseableHttpAsyncClientBase$1.run
      1. org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:191)
      2. org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64)
      2 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame