Uploaded image for project: 'mod_cluster'
  1. mod_cluster
  2. MODCLUSTER-275

sticky session toggles randomly after the shutdown of the active node

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 1.1.4.Final
    • None
    • Hide

      Start httpd and three cluster nodes (as7).
      Deploy demo application (http://community.jboss.org/thread/176649) and execute test script.
      Shutdown active server.

      ...
      17 35b94033
      18 35b94033
      Switch to node 373f8f39
      19 373f8f39
      Switch to node 965a9ca5
      20 965a9ca5
      Switch to node 373f8f39
      21 373f8f39
      22 373f8f39
      Switch to node 965a9ca5
      23 965a9ca5
      24 965a9ca5
      Switch to node 373f8f39
      ...

      When server one comes up again, the session stays with the server.

      ...
      51 373f8f39 took 15 seconds
      Switch to node 35b94033
      52 35b94033
      53 35b94033
      54 35b94033

      Server settings:

      ssl
      advertise=true
      advertise-socket=modcluster
      auto-enable-contexts=true
      balancer=mycluster
      excluded-contexts=ROOT,admin-console,invoker,jbossws,jmx-console,juddi,web-console
      flush-packets=false
      flush-wait=-1
      max-attemps=1
      node-timeout=-1
      ping=10
      proxy-list=/
      socket-timeout=20
      sticky-session=true
      sticky-session-force=false
      sticky-session-remove=false
      stop-context-timeout=10
      ttl=60
      worker-timeout=-1

      Show
      Start httpd and three cluster nodes (as7). Deploy demo application ( http://community.jboss.org/thread/176649 ) and execute test script. Shutdown active server. ... 17 35b94033 18 35b94033 Switch to node 373f8f39 19 373f8f39 Switch to node 965a9ca5 20 965a9ca5 Switch to node 373f8f39 21 373f8f39 22 373f8f39 Switch to node 965a9ca5 23 965a9ca5 24 965a9ca5 Switch to node 373f8f39 ... When server one comes up again, the session stays with the server. ... 51 373f8f39 took 15 seconds Switch to node 35b94033 52 35b94033 53 35b94033 54 35b94033 Server settings: ssl advertise=true advertise-socket=modcluster auto-enable-contexts=true balancer=mycluster excluded-contexts=ROOT,admin-console,invoker,jbossws,jmx-console,juddi,web-console flush-packets=false flush-wait=-1 max-attemps=1 node-timeout=-1 ping=10 proxy-list=/ socket-timeout=20 sticky-session=true sticky-session-force=false sticky-session-remove=false stop-context-timeout=10 ttl=60 worker-timeout=-1

      Sticky session randomly toggles between cluster node after the shutdown of the active node.
      I'd expected that the session remains with one server only.

              pferraro@redhat.com Paul Ferraro
              goc_jira Christoph Gostner (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: