« Previous Next »

Thread: Variables in Application Space go Missing

Last post 12-10-2008 2:25 AM by WenJun Zhang - MSFT. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 12-03-2008, 6:53 AM

    Variables in Application Space go Missing

    Hi All

    Recently I have had some variables in the application space go missing from one application pool.

    I know that there should be about 400 variables in the application space which are put there via classic ASP from various database tables. 

    To my horror I found that there were only 49 in there this morning. With a number of error emails warning me that something was missing.

    Has any one experienced this behaviour ?

    -- 

    David

    --
    David
  • 12-03-2008, 7:00 AM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Central NJ
    • Posts 6,174
    • IIS MVPs

    Re: Variables in Application Space go Missing

  • 12-03-2008, 7:16 AM In reply to

    Re: Variables in Application Space go Missing

    Hi  Tom

    The only thing looks like it might be related is this from the system log.

    A worker process with process id of '868' serving application pool 'xxxxxxxx.xxxxxxxx.com' has requested a recycle because the worker process reached its allowed processing time limit.

    If I recycle the application space it get fully rebuilt.

    --

    David

    --
    David
  • 12-10-2008, 2:25 AM In reply to

    Re: Variables in Application Space go Missing

    Hi David,

    Do you mean some ASP session or application variables are lost? This is expected to occur after an application pool recycling.

    The event you saw is caused by 'Recycle worker proccesses (in minutes)' setting in an application pool's property. The default setting is IIS will recycle a pool after its worker process instances have been running for 1740 mins.

    If this is just the cause, the ideal solution should be check the Variables existence and reload them from database if some of them are missing.

     

    WenJun Zhang - MSFT
    Sincerely
    Microsoft Online Community Support

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
Page 1 of 1 (4 items)
Microsoft Communities