CF and IIS Reset Together?

Ask a Question related to Coldfusion Server Administration, Design and Development.

  1. #1

    Default CF and IIS Reset Together?

    Wouldn't it be a good idea to restart ColdFusion and reset IIS during a CF outage? This assumes all web sites are CF-based.
    mprest Guest

  2. Similar Questions and Discussions

    1. reset password
      I forget my coldfusion server 6.1 administrator password. How can I get into it? Thank you jli@igi-usa.com
    2. reset id
      I can't remember exactly but i think if you check the field and then click on 'operations' you can change the auto-increment there. Ross
    3. Using reset() and mysql_data_seek()
      I was trying to make a page were I have printing out an array of results from a MYSQL query, then for interest, printed out the same results...
    4. How to reset
      I actually posted here before several months ago and got a good solution but I can't remember it or find the old post. Someone here gave...
    5. DFS reset(s)
      I am using a Windows XP Pro computer on a Windows 2000 Active Directory domain. The admin has scripts setup to use 2-mapped drives (J: and K:)that...
  3. #2

    Default Re: CF and IIS Reset Together?

    Why? The two have nothing to do with each other.

    Unless the connector has died, I wouldn't bother IIS.
    ke4pym Guest

  4. #3

    Default Re: CF and IIS Reset Together?

    To give IIS a gentle tap, right-click on the site in the IIS snap-in, and press
    Refresh. To give it a nudge, right-click on the site's application pool and
    press Recycle. All said, take Ke4pym's advice.



    BKBK Guest

  5. #4

    Default Re: CF and IIS Reset Together?

    I disagree, but I suppose it depends on what environment you work in. I work
    in a webhosting datacenter and at any given time there are multiple alerts on
    the monitors. I have seen plenty of instances where restarting ColdFusion by
    itself didn't bring a site back up, and I just don't have the time to not
    restart both and wait to see if just restarting ColdFusion was enough.

    Mike

    RelentlessMike Guest

  6. #5

    Default Re: CF and IIS Reset Together?

    I too have seen times where restarting CF doesn't bring the site back up. But
    9 times out of 10 (especially with the MX series) the connector has died.

    I've gathered my observations by looking at the logs for the connector and the
    CF logs (as well as JRun logs) during and after an outage.

    And when the connector dies, you don't have to necessarly restart all of IIS.
    Just that web site (assuming you've got more than one virtual host on the
    machine).

    Just because CF dies doesn't mean you have to automagically restart IIS (or
    any other web server you may be running at the time). If you do, you've got
    problems elsewhere and should probably address them.

    ke4pym Guest

  7. #6

    Default Re: CF and IIS Reset Together?

    I support multiple CF sites and servers. I've seen two levels of CF failures;
    one where restarting CF gets the sites back, the second where you have to
    restart CF and reset IIS.

    At 3AM, when CF (JVM) bombs, my idea was to use a monitor like NetIQ,
    ipMonitor, What'sUpGold to restart CF and reset IIS. On servers with only CF
    sites, it would seem logical to reset everything (CF and IIS). Since the JVM is
    crapped, all sites are shot.

    I wanted to automate the restart process so I can get all the sites up as
    quickly as possible.

    One thing I have noticed as well is that IIS does recycle apps, i.e.
    ColdFusion automatically. It was curious to see in my CF Server logs
    (cf_folder\logs\server.log) where ColdFusion was restarted and I didn't restart
    it.

    mprest Guest

  8. #7

    Default Re: CF and IIS Reset Together?

    See, here's the thing, if you've got a straight ColdFusion site, IIS doesn't do
    jack. It hands the request off to the connector and then CF does the work. In
    this case, IIS is nothing more than an HTTP server (all bets are off when you
    throw IIS into application server mode).

    IIS has nothing to do with the JVM running ColdFusion. It cant even talk to
    it without the help of the connector. Unless the JVM does something stupid and
    corrupts the whole memory stack, this just does not happen (again, unless
    you've got other problems).

    As far as ColdFusion restarting, it can be configured to restart itself. IIS
    isn't going to do that. Well, except perhaps if you're running BlueDragon.asp.
    :) You can configure W2k3 to restart a crashed service. But that won't do
    you a lot of good if the JVM dies but doesnt end its process.

    Let me know how getting NetIQ to automate all this goes for ya. :)

    Also, I'm not saying it is a bad idea to restart IIS. But usually, it is
    unnecessary. If you're that worried about it, schedule a regular reboot time
    for the system and do it then.

    If it crashes in between your reboot times, fix your code so CF doesn't crash
    (usually easier said than done).

    ke4pym Guest

  9. #8

    Default Re: CF and IIS Reset Together?

    You said "As far as ColdFusion restarting, it can be configured to restart
    itself."

    How do you do that? About every other day, my CF MX 7 server starts queuing
    tasks until it gets up into the hundreds, and I have to restart it. Is there
    an easy way to have it automatically restart when it goes off into the weeds
    like that?



    BigDMorris Guest

  10. #9

    Default Re: CF and IIS Reset Together?

    Is there an easy way to have it automatically restart when it goes off into the
    weeds like that?
    Assuming you're on Windows, follow the following steps

    - open Services in Administrative Tools (via Control Panel)
    - right-click on ColdFusion MX 7 Application Server and select Properties
    - press the Recovery tab




    BKBK Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139