Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12347

Serving static resources from REST can hang

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 11.0.5.Final, 12.0.0.Dev06
    • 12.0.0.Dev03, 11.0.3.Final
    • Console
    • None
    • Hide

      Can be reproduced without docker. Start a server then run a few thousand requests in a loop, for a large file:

      function loop { seq 1 $1 | { shift; xargs -I -- "$@";  } }
      loop 1000 curl -v http://127.0.0.1:11222/console/app.bundle.js.map  > /dev/null
      
      

      It will hang before completing the requests.

      Show
      Can be reproduced without docker. Start a server then run a few thousand requests in a loop, for a large file: function loop { seq 1 $1 | { shift; xargs -I -- "$@"; } } loop 1000 curl -v http://127.0.0.1:11222/console/app.bundle.js.map > /dev/null It will hang before completing the requests.
    • Undefined

    Description

      I'm trying to install infinispan 11.0.3 and no success on GCP, using VMs, the console just won't open, works fine on 10.1.8, but on new versions it's not.

      The problem is when download the file app.bundle.js, it only works from inside the vm itself, I did several tests using wget from outside the vm, and all of them the file freezes, I tried this installation from scratch, using CentOS 7, 8 and even Ubuntu, the result always the same, on my machine installation works.

      Here, a simple test using wget:

      $ wget http://10.20.0.XX:11222/console/app.bundle.js
      2020-09-21 10:27:43 http://10.20.0.XX:11222/console/app.bundle.js
      Connecting to 10.20.0.XX:11222... connected.
      HTTP request sent, awaiting response... 200 OK
      Length: 1845968 (1,8M) [application/javascript]
      Saving to: ‘app.bundle.js.1’

      app.bundle.js.1 8%[==========> ] 160,00K --.-KB/s eta 2h 28m

       

      Using 10.1.8 I haven't this problem, only in versions above 11, and the problem happens only with the console, Hot Rod works perfectly.

       

       

       

      Attachments

        Activity

          People

            gfernand@redhat.com Gustavo Fernandes (Inactive)
            klinux@gmail.com Kleber Rocha (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: