• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Session timeout when performing an action
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Session timeout when performing an action


  • Subject: Re: Session timeout when performing an action
  • From: Chuck Hill <email@hidden>
  • Date: Fri, 11 Oct 2013 19:27:46 +0000
  • Thread-topic: Session timeout when performing an action

On 2013-10-10 10:54 PM, "Klaus Berkling" <email@hidden> wrote:


>On Oct 10, 2013, at 8:57 AM, Chuck Hill <email@hidden> wrote:
>
>> Do any of your requests take a long time to process (lots of database
>> access or calculations)?  Wotaskd will send the requests to another
>> instance if one is too slow in responding.  For most applications this
>>is
>> a useless attempt at recovery.  You can try increasing the Connect and
>> Receive Timeout in JavaMonitor under Adaptor Settings for this
>> application.  If that fixes the problem then you have requests that need
>> to be optimized or done in a background thread.
>>
>> Chuck
>>
>
>I'm pretty sure you are seeing your instance not responding and so some
>other instance is getting the request.
>Works only well for direct actions :-)

Session-less direct actions at that.  Unless you are using Ramsey's
distributed sessions.  In that case, component actions work too.



>
>In addition to what Chuck said, check the adaptor threads and listen
>queue size in the Application settings. Typically I used min 10, max 20,
>queue 20. This is very app specific. It's better to let connections queue
>up than to let them go to a different instance.

Well, up to a point.  Beyond that the user's think there is a problem and
start clicking again or reloading the page.  Then your app gets overloaded
and no one gets any service.  It is very app specific, but I would usually
advocate lower numbers.  Your app, I know, is "special".  ;-)


Chuck




>Also check the retries and connection pool size in the Load Balancing and
>Adaptor Settings. Both should be greater then 0, less then 10.
>Probably superfluous but these numbers should not be really small and not
>really large.
>
>You might be able to 'expose' this problem better by running only one
>instance, you might get more informative errors.
>
>
>>
>>
>>
>>
>> On 2013-10-10 1:16 AM, "Alexander Spohr" <email@hidden> wrote:
>>
>>>
>>> Am 10.10.2013 um 09:42 schrieb Schoenenberger Dominique
>>> <email@hidden>:
>>>
>>>> It's like the adaptor (?) gives the request to the wrong instance.
>>>
>>> Yes. Instance 12 may be offline or not reachable (responds too slow)
>>>
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list      (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>>ll
>>> age.net
>>>
>>> This email sent to email@hidden
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>>ing.us
>>
>> This email sent to email@hidden
>
>
>
>kib
>
>Klaus Berkling
>www.berkling.us | @kiberkli
>
>
>
>
> _______________________________________________
>Do not post admin requests to the list. They will be ignored.
>Webobjects-dev mailing list      (email@hidden)
>Help/Unsubscribe/Update your Subscription:
>age.net
>
>This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Session timeout when performing an action
      • From: Klaus Berkling <email@hidden>
References: 
 >Re: Session timeout when performing an action (From: Klaus Berkling <email@hidden>)

  • Prev by Date: Re: WOWODC 2014: more details
  • Next by Date: Re: Wonder and Java Client
  • Previous by thread: Re: Session timeout when performing an action
  • Next by thread: Re: Session timeout when performing an action
  • Index(es):
    • Date
    • Thread