[Mono-dev] Assembly loader load several times the same dll

APS dev.malst at apsystems.it
Mon Sep 21 12:04:41 EDT 2009


This it's clear to me but I've only one application and running it 
(with or without batch compilation) I can see in logs that an 
assembly is added to domain the first time it's found

Mono-INFO: Assembly Loader probing location: 
'/var/www/hypersic/bin/templatelibrary.dll'.
Mono-INFO: Assembly Loader shadow-copied assembly to: 
'/tmp/apache-temp-aspnet-0/ddd13fb8/assembly/shadow/3c8e4077/5cab6a9f_60252ae8_00000001/templatelibrary.dll'.
Mono-INFO: Image addref templatelibrary 0x3367100 -> 
/tmp/apache-temp-aspnet-0/ddd13fb8/assembly/shadow/3c8e4077/5cab6a9f_60252ae8_00000001/templatelibrary.dll 
0x3365ab0: 2

Mono-INFO: Assembly templatelibrary 0x3367100 added to domain 
8ce83063, ref_count=1

Mono-INFO: Assembly Loader loaded assembly from location: 
'/var/www/hypersic/bin/templatelibrary.dll'.
Mono-INFO: Config attempting to parse: 
'/tmp/apache-temp-aspnet-0/ddd13fb8/assembly/shadow/3c8e4077/5cab6a9f_60252ae8_00000001/templatelibrary.dll.config'.
Mono-INFO: Config attempting to parse: 
'/usr/local/etc/mono/assemblies/templatelibrary/templatelibrary.config'.
Mono-INFO: Config attempting to parse: 
'/var/www/.mono/assemblies/templatelibrary/templatelibrary.config'.

but after that I have many log entries like tha and the same assembly 
appears more than one time.

Mono-INFO: Assembly Loader probing location: 
'/var/www/hypersic/bin/templatelibrary.dll'.
Mono-INFO: Assembly Loader shadow-copied assembly to: 
'/tmp/apache-temp-aspnet-0/ddd13fb8/assembly/shadow/3c8e4077/5cab6a9f_60252ae8_00000001/templatelibrary.dll'.

As I have slow-loading issues and most of the loading time is spent 
in this second type of log entries, I would like to know if it's a 
standard behaviour or it's a mistake due to some conifguration error.
Thanks again.

At 14.31 21/09/2009, you wrote:
>On Mon, 2009-09-21 at 14:06 +0200, APS wrote:
> > No hints?
>
>Each assembly is loaded once per application domain and each asp.net
>application runs in its own domain...
>
>-Gonzalo
>
>
>
>--
>Il messaggio e' stato analizzato alla ricerca di virus o
>contenuti pericolosi da MailScanner, ed e'
>risultato non infetto.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090921/6be0a226/attachment-0001.html 


More information about the Mono-devel-list mailing list