You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an application which makes uses of firebird embedded. There are five instances of this application in IIS all in the same Application Pool.
Whenever one of the sites in the pool is stopped or recycled the other four websites will then have a thread each that uses 100% of the CPU for the core it's running on (I can't tell if it's a new thread of an existing one that jumps to 100%) . So there are four threads using 100% CPU of four cores.
I've been using Process Explorer to try and find out more. The threads all have a call stack that looks mostly like this:
ntoskrnl.exe!KiCpuId+0xb6
ntoskrnl.exe!KeWaitForMutexObject+0x13c0
ntoskrnl.exe!KeUpdateRunTime+0x51
ntdll.dll!NtWaitForSingleObject+0xa
KERNELBASE.dll!WaitForSingleObjectEx+0x9a
fbembed.dll!BLOB_edit+0x3430c
fbembed.dll!BLOB_edit+0x1faa6c
fbembed.dll!BLOB_edit+0x1fb5f9
fbembed.dll!isc_dsql_execute_immediate+0x1c1
MSVCR80.dll!endthreadex+0x47
MSVCR80.dll!endthreadex+0x104
KERNEL32.DLL!BaseThreadInitThunk+0x1a
ntdll.dll!RtlUserThreadStart+0x21
This is running in IIS7 and IIS8 with .NET framework version is 2.0
I think firebird is trying to acquire some kind of lock?
The text was updated successfully, but these errors were encountered:
Submitted by: Icemedia (icemedia)
http://stackoverflow.com/questions/16029488/multiple-websites-in-iis-with-native-dll-use-100-or-core-cpu
I have an application which makes uses of firebird embedded. There are five instances of this application in IIS all in the same Application Pool.
Whenever one of the sites in the pool is stopped or recycled the other four websites will then have a thread each that uses 100% of the CPU for the core it's running on (I can't tell if it's a new thread of an existing one that jumps to 100%) . So there are four threads using 100% CPU of four cores.
I've been using Process Explorer to try and find out more. The threads all have a call stack that looks mostly like this:
ntoskrnl.exe!KiCpuId+0xb6
ntoskrnl.exe!KeWaitForMutexObject+0x13c0
ntoskrnl.exe!KeUpdateRunTime+0x51
ntdll.dll!NtWaitForSingleObject+0xa
KERNELBASE.dll!WaitForSingleObjectEx+0x9a
fbembed.dll!BLOB_edit+0x3430c
fbembed.dll!BLOB_edit+0x1faa6c
fbembed.dll!BLOB_edit+0x1fb5f9
fbembed.dll!isc_dsql_execute_immediate+0x1c1
MSVCR80.dll!endthreadex+0x47
MSVCR80.dll!endthreadex+0x104
KERNEL32.DLL!BaseThreadInitThunk+0x1a
ntdll.dll!RtlUserThreadStart+0x21
This is running in IIS7 and IIS8 with .NET framework version is 2.0
I think firebird is trying to acquire some kind of lock?
The text was updated successfully, but these errors were encountered: