Click here to Skip to main content
15,889,595 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

How many worker process is created for single website hosted in IIS when numbers of client giving request to same website.
Becosz As i was going to increase session time by application Pool in IIS but as per my knowledge worker process will restart after 20 min(Default) then what will happen to other request.Please Clarify my doubts.
Posted
Updated 20-Aug-12 17:40pm
v2
Comments
riteshsingh_jsr 21-Aug-12 0:14am    
As per my knowledge, we can increase our session expire time through web.congig file.
Himanshu Yadav 21-Aug-12 1:34am    
Hi Ritesh,
i am agree with you but my question is how many worker process will be created per website?

You have a configuration on AppPool(IIS 7) to specify number of Worker Process a app pool can use. By default it is configured as 1.

Start IIS -> Select App Pool--> Right click and Choose Advanced Setting --> Process Model (Section) -> MAx number of Worker Process.

Cheers,
Balaji
 
Share this answer
 
Comments
Himanshu Yadav 21-Aug-12 3:21am    
Hi,
I want to know how many worker process is created for an application?If number of client is accessing same application.
Balaji Prabu AL 21-Aug-12 3:34am    
Number of worker process created will be decided by the configuration i have mentioned. Let's take this E.g, You have configured number of worker process as 10. Say if First user access your application, IIS will create 1 worker process and will serve the request. If 2 user requests reaches IIS as same time, then IIS will create another Worker process (1+1 = 2 worker process at current scenario).

Once the request is completed, Worker process will be idle for certain duration(this is also configured in IIS).

So number of worker process is decided upon the Max number of Worker process you configure for your Application Pool and also number of concurrent request your application receives

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900