Re: WebGarden on IIS 6.0

From: Jeremy Smith (godtoall_at_hotmail.com)
Date: 11/18/04

  • Next message: Jeremy Smith: "Re: question about intranet site"
    Date: 18 Nov 2004 13:20:59 -0800
    
    

    "DrBytes" <DrBytes@discussions.microsoft.com> wrote in message news:<4026F5F4-D160-4D80-B864-15CA89EA1768@microsoft.com>...
    > Hi all, I posted this on the ASP.NET newsgroup earlier and there it was
    > suggested to repost my problem here.
    > ---
    > Hello, I have a question about webgardens.
    > As I understand it, a webgarden is physically one box with multiple
    > processors in it.
    > In the MSDN documentation about webgardens they mention :
    > "If webGarden is set to true, by default, all CPUs are enabled and ASP.NET
    > starts one process for each CPU"
    >
    > Ok.. So this means that when I have a box with 2 processors it will actually
    > create a worker process for every CPU.
    > Does this mean that this box will have 2 sessions to manage?
    I believe what they are saying is Web Garden has multiple worker
    processes "w3wp.exe" and the number of ASP.net processor per CPU, runs
    inside the same memory space of the one w3wp.exe.
    Example: when you look at the Application Pools Properties
    --Performance Tab, you will see that the default is only 1 w3wp.exe
    and if you have 2 processors, you will have 2 aspnet_wp.exe running in
    the same memory space that is create by the w3wp.exe. InProc stores
    the session state in the share memory of the w3wp.exe.

    By default, you shouldn't have any InProc session state problem,
    unless the w3wp.exe crashes or gets recycled. Which you can see in the
    Application event log. By Default, all Application Pool's worker
    processes get recycled every 1740mins. Which means session state will
    be lost. I would highly recommend change the default to recycle the
    worker process, during off hours times, if possible.

    >
    > I know there is MSSQL and StateServer to store session in 1 place and share
    > them across CPU's but I would rather use the InProc equivalent on this box,
    > just to make sure that there is only one session created that spans the 2
    > CPUs.
    > Does anybody know how to accomplish this not using SQLServer or StateServer?

    If you ever determine to change the default Web garden to more then
    one w3wp.exe, you will need to change to MSSQL or StateServer. For my
    environment, we choose to go to StateServer, Since our hardware wasn't
    being used to it fullest and a single w3wp.exe was at it limit. We saw
    a huge increase in load capacity, by added more w3wp.exe to our
    applications.

    >
    > thanks in advance,
    > --yves

    I hope this was helpful. you can also get the above info from the IIS
    6.0 Resource kit 05_CHAPTER_2_Deploying_ASP.NET_Applications_in_IIS_6.0.doc


  • Next message: Jeremy Smith: "Re: question about intranet site"

    Relevant Pages

    • Re: Session inconsistencies IIS6
      ... "Egbert has one for ASP as well." ... session state gets lost when you move ... Worker process recycling via a variety of triggers. ... > Im trying to find why my hosted server won't maintain session state. ...
      (microsoft.public.inetserver.asp.general)
    • Re: Session inconsistencies IIS6
      ... "Egbert has one for ASP as well." ... session state gets lost when you move ... Worker process recycling via a variety of triggers. ... > Im trying to find why my hosted server won't maintain session state. ...
      (microsoft.public.inetserver.iis)
    • Re: Session inconsistencies IIS6
      ... session state is a blob of memory that is not explicitly shared ... and things that trigger this include: ... Worker process recycling via a variety of triggers. ... Im trying to find why my hosted server won't maintain session state. ...
      (microsoft.public.inetserver.iis)
    • Re: Session inconsistencies IIS6
      ... session state is a blob of memory that is not explicitly shared ... and things that trigger this include: ... Worker process recycling via a variety of triggers. ... Im trying to find why my hosted server won't maintain session state. ...
      (microsoft.public.inetserver.asp.general)
    • Re: InProc vs StateServer
      ... > Unable to serialize the session state. ... > objects or MarshalByRef objects are not permitted when session state mode ... To store session state to stateServer and or Sql Server, ...
      (microsoft.public.dotnet.framework.aspnet)

    Loading