ASP .Net multiple Application Pools, and log file locking
Paul Caskey
pcaskey at internet2.edu
Wed Aug 5 08:23:25 EDT 2015
You could always just turn off logging for native.log. It has very little useful information in it.
> -----Original Message-----
> From: dev [mailto:dev-bounces at shibboleth.net] On Behalf Of Martin Robinson
> Sent: Wednesday, August 05, 2015 5:02 AM
> To: Shib Dev
> Subject: ASP .Net multiple Application Pools, and log file locking
>
> I have Shibboleth SP running under IIS 6.
>
> My Default Web Site contains a number of ASP .Net applications running under
> several Application Pools.
>
> This results in multiple copies of the Shibboleth ISAPI Filter being loaded - one
> per w3wp process. This seems to result in the native.log file growing
> indefinitely, and the automatic rollover of log files (as configured in
> native.logger etc) does not happen. This is because there are multiple open
> handles to these files, and no process can rename/delete these files due to the
> open handles from the other processes.
>
> I believe that log4j has a 'MinimalLock' locking mode that might get round this?
> How do I configure this in native.logger, or is there a better solution?
>
> Thanks,
>
> Martin Robinson
>
>
> --
> To unsubscribe from this list send an email to dev-unsubscribe at shibboleth.net
More information about the dev
mailing list