Forcing fast stop of IIS 7.5 or app pool The 2019 Stack Overflow Developer Survey Results Are InIntermittently, IIS7 requests get stuck in WindowsAuthenticationModuleiis 7 app pool user privilegeHow much memory does an IIS 7 app pool consume?How do you start/stop IIS 7 app pool from cmd line if there are spaces in the app pool name?Recycle remote IIS app pool from the command line?procdump on w3wp.exe: Only part of a ReadProcessMemory or WriteProcessMemory request was completedIIS 7.5 application pool CPU configurationWhat can stop IIS7 from restarting an ASP.NET app when uppdating a dll in the bin folder?IIS 7.5 extremely slow, intermittently no responseWhy does scripting with appcmd behave differently than using IIS GUI?

Why was M87 targeted for the Event Horizon Telescope instead of Sagittarius A*?

How can I define good in a religion that claims no moral authority?

"as much details as you can remember"

Why are there uneven bright areas in this photo of black hole?

How to notate time signature switching consistently every measure

Can we generate random numbers using irrational numbers like π and e?

What information about me do stores get via my credit card?

Can withdrawing asylum be illegal?

Relationship between Gromov-Witten and Taubes' Gromov invariant

Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?

What do these terms in Caesar's Gallic wars mean?

What is the most efficient way to store a numeric range?

Accepted by European university, rejected by all American ones I applied to? Possible reasons?

What's the name of these plastic connectors

Output the Arecibo Message

Geography at the pixel level

How to type a long/em dash `—`

How to translate "being like"?

Did Scotland spend $250,000 for the slogan "Welcome to Scotland"?

A word that means fill it to the required quantity

Is Cinnamon a desktop environment or a window manager? (Or both?)

How to display lines in a file like ls displays files in a directory?

Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?

Straighten subgroup lattice



Forcing fast stop of IIS 7.5 or app pool



The 2019 Stack Overflow Developer Survey Results Are InIntermittently, IIS7 requests get stuck in WindowsAuthenticationModuleiis 7 app pool user privilegeHow much memory does an IIS 7 app pool consume?How do you start/stop IIS 7 app pool from cmd line if there are spaces in the app pool name?Recycle remote IIS app pool from the command line?procdump on w3wp.exe: Only part of a ReadProcessMemory or WriteProcessMemory request was completedIIS 7.5 application pool CPU configurationWhat can stop IIS7 from restarting an ASP.NET app when uppdating a dll in the bin folder?IIS 7.5 extremely slow, intermittently no responseWhy does scripting with appcmd behave differently than using IIS GUI?



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















We have a busy webserver handling around 1000 asp.net requests/second.



We have a deploy script which copies compiled asp.net from our development box.



The script first stops IIS on the production server, copies the code, then restarts.



We use the following command to stop the app pool for the site:



%windir%system32inetsrvappcmd stop apppool /apppool.name:ourappname



The problem is that this stops accepting new requests but waits for existing requests to complete. There are usually a handful of requests that take up to a minute to finish, during which time no new requests are served. So for the sake of fulfilling a dozen or so requests, we miss out on serving the 1000 * 60 = 60,000 requests that have come in during the minute or so while we're waiting for 12-20 to complete. This is dumb.



What we would LOVE to do is force an app pool stop within x seconds. This doesn't seem to be possible. Is there a better way to accomplish what we're doing i.e. fast stop of iis 7?










share|improve this question






























    1















    We have a busy webserver handling around 1000 asp.net requests/second.



    We have a deploy script which copies compiled asp.net from our development box.



    The script first stops IIS on the production server, copies the code, then restarts.



    We use the following command to stop the app pool for the site:



    %windir%system32inetsrvappcmd stop apppool /apppool.name:ourappname



    The problem is that this stops accepting new requests but waits for existing requests to complete. There are usually a handful of requests that take up to a minute to finish, during which time no new requests are served. So for the sake of fulfilling a dozen or so requests, we miss out on serving the 1000 * 60 = 60,000 requests that have come in during the minute or so while we're waiting for 12-20 to complete. This is dumb.



    What we would LOVE to do is force an app pool stop within x seconds. This doesn't seem to be possible. Is there a better way to accomplish what we're doing i.e. fast stop of iis 7?










    share|improve this question


























      1












      1








      1








      We have a busy webserver handling around 1000 asp.net requests/second.



      We have a deploy script which copies compiled asp.net from our development box.



      The script first stops IIS on the production server, copies the code, then restarts.



      We use the following command to stop the app pool for the site:



      %windir%system32inetsrvappcmd stop apppool /apppool.name:ourappname



      The problem is that this stops accepting new requests but waits for existing requests to complete. There are usually a handful of requests that take up to a minute to finish, during which time no new requests are served. So for the sake of fulfilling a dozen or so requests, we miss out on serving the 1000 * 60 = 60,000 requests that have come in during the minute or so while we're waiting for 12-20 to complete. This is dumb.



      What we would LOVE to do is force an app pool stop within x seconds. This doesn't seem to be possible. Is there a better way to accomplish what we're doing i.e. fast stop of iis 7?










      share|improve this question
















      We have a busy webserver handling around 1000 asp.net requests/second.



      We have a deploy script which copies compiled asp.net from our development box.



      The script first stops IIS on the production server, copies the code, then restarts.



      We use the following command to stop the app pool for the site:



      %windir%system32inetsrvappcmd stop apppool /apppool.name:ourappname



      The problem is that this stops accepting new requests but waits for existing requests to complete. There are usually a handful of requests that take up to a minute to finish, during which time no new requests are served. So for the sake of fulfilling a dozen or so requests, we miss out on serving the 1000 * 60 = 60,000 requests that have come in during the minute or so while we're waiting for 12-20 to complete. This is dumb.



      What we would LOVE to do is force an app pool stop within x seconds. This doesn't seem to be possible. Is there a better way to accomplish what we're doing i.e. fast stop of iis 7?







      iis-7






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Sep 28 '15 at 2:50









      Michael Hampton

      174k27320647




      174k27320647










      asked Oct 1 '13 at 10:30









      WantFasterStopWantFasterStop

      62




      62




















          1 Answer
          1






          active

          oldest

          votes


















          0














          Why do you need to stop and restart the app pool? Updating files in the bin directory will cause the app pool to restart at the relevant points. Once you've completed the deploy saving a change to the web.config file would cause a restart of the app pool if you've not updated anything in bin.



          If you do need to bring it down then you can do that at the IIS level (the w3wp service).



          net stop w3wp
          #Deploy
          net start w3wp





          share|improve this answer























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "2"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f542912%2fforcing-fast-stop-of-iis-7-5-or-app-pool%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Why do you need to stop and restart the app pool? Updating files in the bin directory will cause the app pool to restart at the relevant points. Once you've completed the deploy saving a change to the web.config file would cause a restart of the app pool if you've not updated anything in bin.



            If you do need to bring it down then you can do that at the IIS level (the w3wp service).



            net stop w3wp
            #Deploy
            net start w3wp





            share|improve this answer



























              0














              Why do you need to stop and restart the app pool? Updating files in the bin directory will cause the app pool to restart at the relevant points. Once you've completed the deploy saving a change to the web.config file would cause a restart of the app pool if you've not updated anything in bin.



              If you do need to bring it down then you can do that at the IIS level (the w3wp service).



              net stop w3wp
              #Deploy
              net start w3wp





              share|improve this answer

























                0












                0








                0







                Why do you need to stop and restart the app pool? Updating files in the bin directory will cause the app pool to restart at the relevant points. Once you've completed the deploy saving a change to the web.config file would cause a restart of the app pool if you've not updated anything in bin.



                If you do need to bring it down then you can do that at the IIS level (the w3wp service).



                net stop w3wp
                #Deploy
                net start w3wp





                share|improve this answer













                Why do you need to stop and restart the app pool? Updating files in the bin directory will cause the app pool to restart at the relevant points. Once you've completed the deploy saving a change to the web.config file would cause a restart of the app pool if you've not updated anything in bin.



                If you do need to bring it down then you can do that at the IIS level (the w3wp service).



                net stop w3wp
                #Deploy
                net start w3wp






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Oct 11 '13 at 2:38









                Matthew SteeplesMatthew Steeples

                1,2451917




                1,2451917



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Server Fault!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f542912%2fforcing-fast-stop-of-iis-7-5-or-app-pool%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

                    What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

                    Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos