Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-9624

node-timeout: Attribute is not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 7.1.0.DR13, 7.2.0.GA.CR1
    • mod_cluster, Undertow
    • Known Issue

      node-timeout is an attribute set via worker

      node-timeout
      Timeout (in seconds) for proxy connections to a node. That is the time mod_cluster will wait for the back-end response before returning error. That corresponds to timeout in the worker mod_proxy documentation. A value of -1 indicates no timeout. Note that mod_cluster always uses a cping/cpong before forwarding a request and the connectiontimeout value used by mod_cluster is the ping value.

      Reproducing:

      1. Set up undertow as proxy balancer
      2. Set up worker with node-timeout to 10
        /subsystem=modcluster/mod-cluster-config=configuration:write-attribute(name=node-timeout, value=10)

        or

        /subsystem=modcluster/proxy=default:write-attribute(name=node-timeout, value=10)
      3. Deploy app that with sleep for 15 seconds
      4. Request send via balancer to deployed app should return 50x after 10 seconds, but is returning 200 after 15 seconds

        1. standalone.last_balancer.xml
          28 kB
          Jan Kašík
        2. standalone-ha.last_worker.xml
          31 kB
          Jan Kašík

            rhn-engineering-rhusar Radoslav Husar
            bsikora Bogdan Sikora (Inactive)
            Jan Kašík Jan Kašík
            Jan Kašík Jan Kašík
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: