Uploaded image for project: 'Red Hat Service Interconnect (Skupper)'
  1. Red Hat Service Interconnect (Skupper)
  2. SKUPPER-895

Investigate why the httperf tool hangs and in some cases the router drops connections

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Router
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      Two issues to investigate -

      1. httperf just hangs when run in a loop against the router.
        1. To reproduce, start the two routers using the attached 2 router config files.
        2. Start nginx and make it listen on port 80 or if you start nginx on a different port, change the tcpConnector port in tcpB.conf to the nginx listening port.
        3. Install httperf.
        4. Run httperf in a loop like this - httperf --hog --server 127.0.0.1 --port 9000 --uri /index.html --rate 5000 --num-conn 20000 --num-call 1 --timeout 20 -v
        5. httperf tool will simply hang. If it does not hang run it in a loop.
      2. Router drops connections when httperf is run against the router.
        1. The same (above) httperf command can be used to reproduce the dropped connections. But the hang is more prominent now, not the dropped connections.
        2. When the router does drop connections, I see this from the output of httperf
          1. Errors: total 20000 client-timo 0 socket-timo 0 connrefused 0 connreset 2000

        1. tcpA.conf
          0.5 kB
        2. tcpB.conf
          0.6 kB

              gmurthy@redhat.com Ganesh Murthy
              gmurthy@redhat.com Ganesh Murthy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: