C
cameron
I have a page that needs to process aproximately 7000 LDAP entries and
does 10-12 SQL DB calls per entry. It is a busy, busy page. I have it
schedualed to run every night at 4 am server time. It runs for about 2
hours, processing a smidge over 4000 of the entries and then borks with
the error:
[AppDomainUnloadedException]: Attempted to access an unloaded AppDomain.
The IIS logs shows a status of 200 for that page, the Event Viewer shows
nothing unusual around that time, I can run the script in the
development environment without issue, (can not run the script during
the day on the production environment due to the load it places on the
server).
I was thinking that it might be a setting in the machine.config file
that recycles the process:
Timeout = infinite
requestlimit = infinite
memorylimit = 85
responseDeadlockInterval = 00:03:00
We have sripts that check the memory usage every 5 min and that is with
in acceptable ranges. The only one that could be causing it is the
responseDeadlockInterval - is there anyway to verify this? Does it log
it somewhere that the process is being spanked due to some condition? I
really do not want to be playing with these values on a production
server without knowing for sure that it is the cause.
The server is a Windows 2000 box.
Thanks.
-Cam
does 10-12 SQL DB calls per entry. It is a busy, busy page. I have it
schedualed to run every night at 4 am server time. It runs for about 2
hours, processing a smidge over 4000 of the entries and then borks with
the error:
[AppDomainUnloadedException]: Attempted to access an unloaded AppDomain.
The IIS logs shows a status of 200 for that page, the Event Viewer shows
nothing unusual around that time, I can run the script in the
development environment without issue, (can not run the script during
the day on the production environment due to the load it places on the
server).
I was thinking that it might be a setting in the machine.config file
that recycles the process:
Timeout = infinite
requestlimit = infinite
memorylimit = 85
responseDeadlockInterval = 00:03:00
We have sripts that check the memory usage every 5 min and that is with
in acceptable ranges. The only one that could be causing it is the
responseDeadlockInterval - is there anyway to verify this? Does it log
it somewhere that the process is being spanked due to some condition? I
really do not want to be playing with these values on a production
server without knowing for sure that it is the cause.
The server is a Windows 2000 box.
Thanks.
-Cam