Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-33264

networkAsio create connection very slow

    • Type: Icon: Question Question
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Networking
    • Labels:
      None

      Hi

      as described in SERVER-32916 ,
      we set ShardingTaskExecutorPoolMinSize: 8 and taskExecutorPoolSize: 12 ,
      finally, we still find some slow connection threads, which took 3008ms .
      and ,these slow connections were connecting to the same mongod instance.

      2018-02-12T14:54:11.525+0800 I ASIO     [NetworkInterfaceASIO-TaskExecutorPool-7-0] Successfully connected to 10.136.126.4:27000, took 231ms (11 connections now open to 10.136.126.4:27000)
      2018-02-12T14:54:11.640+0800 I ASIO     [NetworkInterfaceASIO-TaskExecutorPool-7-0] Successfully connected to 10.136.126.4:27000, took 201ms (11 connections now open to 10.136.126.4:27000)
      2018-02-12T14:54:14.488+0800 I ASIO     [NetworkInterfaceASIO-TaskExecutorPool-7-0] Successfully connected to 10.136.126.4:27000, took 3003ms (11 connections now open to 10.136.126.4:27000)
      2018-02-12T14:54:22.433+0800 I ASIO     [NetworkInterfaceASIO-TaskExecutorPool-3-0] Successfully connected to 10.136.126.4:27000, took 265ms (10 connections now open to 10.136.126.4:27000)
      2018-02-12T14:54:22.447+0800 I ASIO     [NetworkInterfaceASIO-TaskExecutorPool-1-0] Successfully connected to 10.136.126.4:27000, took 266ms (12 connections now open to 10.136.126.4:27000)
      2018-02-12T14:54:22.479+0800 I ASIO     [NetworkInterfaceASIO-TaskExecutorPool-1-0] Successfully connected to 10.136.126.4:27000, took 75ms (12 connections now open to 10.136.126.4:27000)
      2018-02-12T14:54:22.493+0800 I ASIO     [NetworkInterfaceASIO-TaskExecutorPool-1-0] Successfully connected to 10.136.126.4:27000, took 66ms (12 connections now open to 10.136.126.4:27000)
      2018-02-12T14:54:25.274+0800 I ASIO     [NetworkInterfaceASIO-TaskExecutorPool-3-0] Successfully connected to 10.136.126.4:27000, took 3004ms (10 connections now open to 10.136.126.4:27000)
      2018-02-12T14:54:25.289+0800 I ASIO     [NetworkInterfaceASIO-TaskExecutorPool-5-0] Successfully connected to 10.136.126.4:27000, took 3007ms (9 connections now open to 10.136.126.4:27000)
      2018-02-12T14:54:25.327+0800 I ASIO     [NetworkInterfaceASIO-TaskExecutorPool-1-0] Successfully connected to 10.136.126.4:27000, took 3005ms (12 connections now open to 10.136.126.4:27000)
      

      Thanks.

            Assignee:
            dmitry.agranat@mongodb.com Dmitry Agranat
            Reporter:
            shawn001 shawn
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: