IIS close all sessions when the w3wp's worker process have many thread [Answered]RSS

3 replies

Last post Mar 06, 2013 09:37 PM by lextm

  • IIS close all sessions when the w3wp's worker process have many thread

    Mar 05, 2013 11:23 AM|mao.orozco|LINK

    Hi to all,

    I have a trouble with the IIS 6.0 in the application pool, I have one worker process and three applications, when the threads number is close at 1.200 then, the sessions are closed, like a recycle, but that happen sometimes and the sessions are recycled but in the task manager the w3wp process have no change, the thread´s number still up to 1.200

    I have to kill the w3wp process and then everything go normal.

    The sessions that I talking about, is the web sessions, the users are logged and when the event happen, the session are closed and everybody out.

    I kill w3wp process and startup the IIS services everyday, but my problem still happen.

    I want to know wich could be the reason of my problem, the transacction level has no grown significantly, so there is not the cause.

    I will be gratefull for you help.

    kind regards,

    Mao Orozco

  • Re: IIS close all sessions when the w3wp's worker process have many thread

    Mar 06, 2013 01:37 AM|lextm|LINK

    Your observation of the problem is still above the surface, so your description does not reveal much useful information at all.

    Please understand that sessions are really application specific, the application framework you use (ASP.NET, PHP, or any other) has the responsibilities to correctly maintain them, not IIS. Therefore, you need to be a master of that framework (or find an expert to be by your side) so as to correctly troubleshoot the root cause step by step.

    There are many articles you can search and read so as to understand why it is so complicated,

    http://blogs.msdn.com/b/amenon/archive/2007/08/21/troubleshooting-session-loss.aspx

    And wish you good luck.

    Lex Li
    Affordable IIS Consulting Services at https://support.lextudio.com/services/consulting.html
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: IIS close all sessions when the w3wp's worker process have many thread

    Mar 06, 2013 09:27 AM|mao.orozco|LINK

    thanks for reply, I´m using ASP.NET and I know that application must be manager the state of the sessions, actually the timeout for the sessions is 480 minutes and they are working perfectly, but sometimes, some days, all sessions just are closed at the same time like when the ApplicationPool send a recycle event, that is my problem.

    Yesterday I created a ApplicationPool for each web application in producction enviroment, so the IIS start one w3wp process for each ApplicationPool.

    Maybe this could be a solution, because I beleive there is something wrong with the w3wp threads

    Thank you very much, I will be greatful if you can get me a help.

    kind regards.

    Mao Orozco

  • Re: IIS close all sessions when the w3wp's worker process have many thread

    Mar 06, 2013 09:37 PM|lextm|LINK

    You either help yourself, or contact Microsoft support via http://support.microsoft.com

    Session lost is always the hardest category of issues to troubleshoot, and without access to your environment and application code, it is almost impossible for an outsider to offer any valuable assistance.

    Lex Li
    Affordable IIS Consulting Services at https://support.lextudio.com/services/consulting.html
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.