|
Home > Archive > IIS Server > January 2004 > IIS 5 stops reponding under moderate load - ISAPI ADO app
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
IIS 5 stops reponding under moderate load - ISAPI ADO app
|
|
| =?Utf-8?B?RG91ZyBNdW5kYXk=?= 2004-01-29, 5:37 am |
| I have an ISAPI app on a client's IIS server (W2k, IIS 5, sp4), which, when under load from a number of web users (no more than 40 - but all during the same several hours) IIS stops responding to any request. We have tried to restart IIS and Unload the e
xecutable, but the only way to get IIS back up is to reboot the server. Then everthing is fine for the rest of the day. We have another ISAPI app that does not access ADO which has been in use for months on the same server with no problems. It was only
when we added the new ISAPI app that accesses a SQLserver via ADO that the problem began.
I've checked the logfile log, but no errors are recorded. (just love IIS), no errors in the Event viewer, and nothing is returned to the browser, other than the standard browser timeout message.
There was one instance where I saw the hang happen, I restarted IIS - which seem to restart, but still no reponse from IIS, but I did then notice "500 ISAPI out of process" errors in the IIS logfile. I assume that this was caused by IIS being cleared, bu
t some other condition was preventing the ISAPI's to work - maybe the ADO connection??
Thanks in advance for any suggestions anyone might have on this problem.
Regards,
Doug Munday
| |
| Pat [MSFT] 2004-01-29, 1:35 pm |
| Next time it hangs, run IISState against the process hosting the ISAPI and
we can take a look and see what the issue is:
iisstate -p <pid of process> <enter>
pat
"Doug Munday" <anonymous@discussions.microsoft.com> wrote in message
news:D70DC317-53AD-443F-8B01-23AD2469B61A@microsoft.com...quote:
> I have an ISAPI app on a client's IIS server (W2k, IIS 5, sp4), which,
when under load from a number of web users (no more than 40 - but all during
the same several hours) IIS stops responding to any request. We have tried
to restart IIS and Unload the executable, but the only way to get IIS back
up is to reboot the server. Then everthing is fine for the rest of the day.
We have another ISAPI app that does not access ADO which has been in use for
months on the same server with no problems. It was only when we added the
new ISAPI app that accesses a SQLserver via ADO that the problem began.quote:
> I've checked the logfile log, but no errors are recorded. (just love IIS),
no errors in the Event viewer, and nothing is returned to the browser, other
than the standard browser timeout message.quote:
>
> There was one instance where I saw the hang happen, I restarted IIS -
which seem to restart, but still no reponse from IIS, but I did then notice
"500 ISAPI out of process" errors in the IIS logfile. I assume that this
was caused by IIS being cleared, but some other condition was preventing the
ISAPI's to work - maybe the ADO connection??quote:
>
> Thanks in advance for any suggestions anyone might have on this problem.
>
> Regards,
> Doug Munday
>
| |
|
| Doug,
If your server is crashing or hanging you might want to
download our ReJuvin8 tool. It's free for the first
15-days. It can keep your site running despite problems.
It's designed to detect problems then restart or reboot.
It can restart ANY programs, services, or processes in
precise order. It doesn't fix bugs but it does give you some
breathing room while you are finding them. ReJuvin8 also
gives you email and telephone alert messages and graphic
status reports. It runs as a Windows Service.
It can also test, alert, and report on URLs running anywhere
on any server on your net connection. So if you use multiple
servers you can use them to watch each other, too.
ReJuvin8 has both an automatic and a custom mode. In the
auto mode you make all the settings by pointing and
clicking. This will handle most applications.
The custom mode uses heartbeat synch files to get absolute
detection that key processes are working. Tools and
instructions are provided to help you do this. We also offer
customization as a contract service.
Charles
Get ReJuvin8 at: http://www.rejuvin8.net?ac=ch1
"Doug Munday" <anonymous@discussions.microsoft.com> wrote in message
news:D70DC317-53AD-443F-8B01-23AD2469B61A@microsoft.com...quote:
> I have an ISAPI app on a client's IIS server (W2k, IIS 5, sp4), which,
when under load from a number of web users (no more than 40 - but all during
the same several hours) IIS stops responding to any request. We have tried
to restart IIS and Unload the executable, but the only way to get IIS back
up is to reboot the server. Then everthing is fine for the rest of the day.
We have another ISAPI app that does not access ADO which has been in use for
months on the same server with no problems. It was only when we added the
new ISAPI app that accesses a SQLserver via ADO that the problem began.quote:
> I've checked the logfile log, but no errors are recorded. (just love IIS),
no errors in the Event viewer, and nothing is returned to the browser, other
than the standard browser timeout message.quote:
>
> There was one instance where I saw the hang happen, I restarted IIS -
which seem to restart, but still no reponse from IIS, but I did then notice
"500 ISAPI out of process" errors in the IIS logfile. I assume that this
was caused by IIS being cleared, but some other condition was preventing the
ISAPI's to work - maybe the ADO connection??quote:
>
> Thanks in advance for any suggestions anyone might have on this problem.
>
> Regards,
> Doug Munday
>
| |
|
| Doug ,
If your server is crashing or hanging you might want to
download our ReJuvin8 tool. It's free for the first
15-days. It can keep your site running despite problems.
It's designed to detect problems then restart or reboot.
It can restart ANY programs, services, or processes in
precise order. It doesn't fix bugs but it does give you some
breathing room while you are finding them. ReJuvin8 also
gives you email and telephone alert messages and graphic
status reports. It runs as a Windows Service.
It can also test, alert, and report on URLs running anywhere
on any server on your net connection. So if you use multiple
servers you can use them to watch each other, too.
ReJuvin8 has both an automatic and a custom mode. In the
auto mode you make all the settings by pointing and
clicking. This will handle most applications.
The custom mode uses heartbeat synch files to get absolute
detection that key processes are working. Tools and
instructions are provided to help you do this. We also offer
customization as a contract service.
Charles
Get ReJuvin8 at: http://www.rejuvin8.net?ac=ch1
Also, see it and reviews at
http://www.hotscripts.com/cgi-bin/s...uvin8&catid=all
"Doug Munday" <anonymous@discussions.microsoft.com> wrote in message
news:D70DC317-53AD-443F-8B01-23AD2469B61A@microsoft.com...quote:
> I have an ISAPI app on a client's IIS server (W2k, IIS 5, sp4), which,
when under load from a number of web users (no more than 40 - but all during
the same several hours) IIS stops responding to any request. We have tried
to restart IIS and Unload the executable, but the only way to get IIS back
up is to reboot the server. Then everthing is fine for the rest of the day.
We have another ISAPI app that does not access ADO which has been in use for
months on the same server with no problems. It was only when we added the
new ISAPI app that accesses a SQLserver via ADO that the problem began.quote:
> I've checked the logfile log, but no errors are recorded. (just love IIS),
no errors in the Event viewer, and nothing is returned to the browser, other
than the standard browser timeout message.quote:
>
> There was one instance where I saw the hang happen, I restarted IIS -
which seem to restart, but still no reponse from IIS, but I did then notice
"500 ISAPI out of process" errors in the IIS logfile. I assume that this
was caused by IIS being cleared, but some other condition was preventing the
ISAPI's to work - maybe the ADO connection??quote:
>
> Thanks in advance for any suggestions anyone might have on this problem.
>
> Regards,
> Doug Munday
>
| |
| David Wang [Msft] 2004-01-30, 1:34 pm |
| IIS State, as suggested by Pat, will allow us to get a clearer picture of
what is going on with your webserver and allow us to point fingers.
I would like to make one observation -- when you run custom ISAPI code on
the webserver, the ISAPI code OWNS THE WEBSERVER. This includes logging
(ISAPI code can choose to lie to IIS and log everything as 200 OK when it's
returning any response that it wants), event logs (IIS can only report when
the ISAPI crashes, which is often a dicey proposition in itself; the ISAPI
is responsible for reporting its own errors better), and a badly written
ISAPI can easily crash/hang the web server. What do you expect the web
server to do when it's already allowed the ISAPI free reign to do whatever
it wants???
Running bad ISAPIs that crash IIS and prevent it from writing to its log
file is a possibility in your case... and I think you have already
determined that this ISAPI application is involved with the problem -- so
the "funny behaviors" will likely fix themselves when you fix the source of
the problems.
--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Doug Munday" <anonymous@discussions.microsoft.com> wrote in message
news:D70DC317-53AD-443F-8B01-23AD2469B61A@microsoft.com...
I have an ISAPI app on a client's IIS server (W2k, IIS 5, sp4), which, when
under load from a number of web users (no more than 40 - but all during the
same several hours) IIS stops responding to any request. We have tried to
restart IIS and Unload the executable, but the only way to get IIS back up
is to reboot the server. Then everthing is fine for the rest of the day.
We have another ISAPI app that does not access ADO which has been in use for
months on the same server with no problems. It was only when we added the
new ISAPI app that accesses a SQLserver via ADO that the problem began.
I've checked the logfile log, but no errors are recorded. (just love IIS),
no errors in the Event viewer, and nothing is returned to the browser, other
than the standard browser timeout message.
There was one instance where I saw the hang happen, I restarted IIS - which
seem to restart, but still no reponse from IIS, but I did then notice "500
ISAPI out of process" errors in the IIS logfile. I assume that this was
caused by IIS being cleared, but some other condition was preventing the
ISAPI's to work - maybe the ADO connection??
Thanks in advance for any suggestions anyone might have on this problem.
Regards,
Doug Munday
|
|
|
|
|