Foros del Web » Programación para mayores de 30 ;) » .NET »

Problemas en Servidor IIS

Estas en el tema de Problemas en Servidor IIS en el foro de .NET en Foros del Web. Buen día, no se si este sea el foro correcto para este tema, de ante mano pido una disculpa si no lo es, lo que ...
  #1 (permalink)  
Antiguo 13/01/2011, 09:40
 
Fecha de Ingreso: junio-2009
Mensajes: 115
Antigüedad: 14 años, 10 meses
Puntos: 1
Problemas en Servidor IIS

Buen día, no se si este sea el foro correcto para este tema, de ante mano pido una disculpa si no lo es, lo que pasa que mi servidor se esta reiniciando frecuentemente, mi aplicación esta echa con ASP,C#,AJAX,WEBSERVICE, microsoft nos dice que es culpa del código, con lo siguiente:

Crash rule for all IIS_COM+ related processes\w3wp__PID__3648__Date__01_07_2011__Time_ 11_41_44PM__662__Kernel32!ExitProcess.dmp]

System Uptime: 15 days 8:23:13.515
Process Uptime: 0 days 4:52:23.000

Overall size of managed heap is not large
GC Heap Size 0x6fe1cfc(117,316,860)

--Overall problem here is fragmentation

Virtual Memory Summary
Size of largest free VM block 5.71 MBytes
Free memory fragmentation 96.63%
Free Memory 169.48 MBytes (8.28% of Total Memory)
Reserved Memory 144.49 MBytes (7.06% of Total Memory)
Committed Memory 1.69 GBytes (84.67% of Total Memory)
Total Memory 2.00 GBytes
Largest free block at 0x00000000`7402a000


Deafult process heap is higly fragmented ..
Heap 1 - 0x00080000
Heap Name Default process heap
Heap Description This heap is created by default and shared by all modules in the process
Reserved memory 1.35 GBytes
Committed memory 1.35 GBytes (99.98% of reserved)
Uncommitted memory 336.00 KBytes (0.02% of reserved)
Number of heap segments 64 segments
Number of uncommitted ranges 24 range(s)
Size of largest uncommitted range 36.00 KBytes
Calculated heap fragmentation 89.29%


-- Looking for Dymanic assemblies as this cause fragmentatoion ..
!DDA
--------------------------------------
Total 5,243 Dynamic Assemblies, Total size: 0x0(0) bytes.
=======================================

Assembly: 0x6dbf08a0 [] Dynamic Module: 0x461f4e18 loaded at: 0x00000000 Size: 0x00000000(0)
Assembly: 0x6dbf08a0 [] Dynamic Module: 0x461f5198 loaded at: 0x00000000 Size: 0x00000000(0)

Seeing where the assemblis lives and its the Default process heap

0:000> !address 0x6dbf08a0
Usage: Heap
Allocation Base: 6d970000
Base Address: 6d970000
End Address: 6dc1b000
Region Size: 002ab000
Type: 00020000 MEM_PRIVATE
State: 00001000 MEM_COMMIT
Protect: 00000004 PAGE_READWRITE

-- Trying to find out what these are and cannot find any types defined in this

0:000> !dumpmodule -mt 1afa0010
Name: Unknown Module
Attributes: Reflection
Assembly: 2c1fef80
LoaderHeap: 00000000
TypeDefToMethodTableMap: 1af9c870
TypeRefToMethodTableMap: 1af9c884
MethodDefToDescMap: 1af9c898
FieldDefToDescMap: 1af9c8c0
MemberRefToDescMap: 1af9c8e8
FileReferencesMap: 1af9c924
AssemblyReferencesMap: 1af9c938

Types defined in this module

MT TypeDef Name
------------------------------------------------------------------------------
1afa03fc 0x02000002 <Unloaded Type>

Types referenced in this module

MT TypeRef Name
------------------------------------------------------------------------------
140c9b58 0x01000001 com.wily.isengard.registry.IRegistryService
01d96d3c 0x01000002 System.Object
11046cd0 0x01000003 NMock.IInvocationHandler
0f5c7630 0x01000004 System.Reflection.MethodInfo


0:000> !dumpmodule -mt 1afa4e3c
Name: Unknown Module
Attributes: Reflection
Assembly: 2c56f928
LoaderHeap: 00000000
TypeDefToMethodTableMap: 1bf63820
TypeRefToMethodTableMap: 1bf63834
MethodDefToDescMap: 1bf63848
FieldDefToDescMap: 1bf63870
MemberRefToDescMap: 1bf63898
FileReferencesMap: 1bf638d4
AssemblyReferencesMap: 1bf638e8

Types defined in this module

MT TypeDef Name
------------------------------------------------------------------------------
1afa5210 0x02000002 <Unloaded Type>

Types referenced in this module

MT TypeRef Name
------------------------------------------------------------------------------
13a50964 0x01000001 <Unloaded Type>
01d96d3c 0x01000002 System.Object
11046cd0 0x01000003 NMock.IInvocationHandler
0f5c7630 0x01000004 System.Reflection.MethodInfo

Summary
---------------------
the main problem with memory appears to be fragmentation due to the 5000 dynamic modules. The only evidence I can find are of the following types so the use of these should be investigated . If your developers when the problems started, check to see if it was when these were implemented. Ask the developers how they are using these ..
It could be even REFLECTION which is causing thousands of Dynamic Assemblies.

Types referenced in this module
MT TypeRef Name
------------------------------------------------------------------------------
140c9b58 0x01000001 com.wily.isengard.registry.IRegistryService
01d96d3c 0x01000002 System.Object
11046cd0 0x01000003 NMock.IInvocationHandler
0f5c7630 0x01000004 System.Reflection.MethodInfo

Other causes of Dynamic Assemblies Causes of this can be XmlSerilzation or "Script Blocks in Xlst transforms"
XmlSerilzation
SEE:http://blogs.msdn.com/b/tess/archive...15/532804.aspx

Ellos también nos comentan mucho sobre que nosotros estamos haciendo mucha fragmentación mientras que nosotros no hacemos eso en ningún momento hacemos.

Agradecería bastante algún comentario ó ayuda que me puedan dar.

El servidor esta mondatado en una máquina virtual y tiene windows server 2003, trabajamos sobre Visual Studio 2008, gracias.

Etiquetas: iis, servidores
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 19:50.