Forum Discussion

heskez_36146's avatar
heskez_36146
Icon for Nimbostratus rankNimbostratus
Nov 25, 2013

problems with time outs in combination with IBM Websphere

Hi, we have IBM Websphere web servers behind a load balancer. We also make use of an application which is written for IBM Webshere. We've already encountered quite a lot of problems, but the most of them were solved already within the application. At this moment we experience a strange kind of problem which is very difficult to reproduce. That is that some users will get a time-out in their browser after clicking on a submit button within the application.

We somehow suspect the persistence profile the VS is making use of. This is a UIE profile with an Irule as configured by the Webshere design guide "Deploying F5 with IBM WebSphere 7" Sometimes we see in the persistence records view sessions with the same JessionID on different VIPS. Here is an example:

0000zAvlbCrwb7FW2ARCs7iHGYF:-1 Universal vs_A-SSL Pool_A 192.x.x.x:9080 140 seconds 0000zAvlbCrwb7FW2ARCs7iHGYF:-1 Universal vs_C-SSL Pool_C 192.x.x.x:9080 137 seconds

The irule connected to the Universal profile looks like this:

when HTTP_RESPONSE {
if { [HTTP::cookie exists "JSESSIONID"] and $add_persist } {
persist add uie [HTTP::cookie "JSESSIONID"]
set add_persist 0
  }
}
when HTTP_REQUEST {
if { [HTTP::cookie exists "JSESSIONID"] } {
persist uie [HTTP::cookie "JSESSIONID"]
} else {
set jsess [findstr [HTTP::uri] "jsessionid" 11 ";"]
if { $jsess != "" } {
persist uie $jsess
}
}
}

We tend to assume that the duplicate JessionID's could be the source of our time-out problems some users get. Are we on the right track?

7 Replies

  • Shouldn't you be checking in the HTTP_REQUEST event whether a persistence entry already exists?

     

  • How can I check? /var/log/ltm? Or Irule statistics? I'm not quite sure where to look.

     

  • We're running short on time. So what we're going to do is apply a new persitence profile on all VS's which makes use of Cookie insert method instead of universal profile. And wait for the results we're going to see.

     

    • What_Lies_Bene1's avatar
      What_Lies_Bene1
      Icon for Cirrostratus rankCirrostratus
      Actually, I'm wrong. Sorry but under time pressure. Perhaps check this out: https://https://devcentral.f5.com/s/feed/0D51T00006kEyD0SAK
  • I think we can rule out the duplicate JsessionID problems has something to do with the time outs. Because after the change to Cookie insert method the problem still occurs..

     

  • We also have increased the TCP LAN and WAN time out values to 10 minutes and today we haven't received any complaints from users!