Multiple websites in IIS with native dll use 100% or core CPU
-------------------------------------------------------------

                 Key: DNET-493
                 URL: http://tracker.firebirdsql.org/browse/DNET-493
             Project: .NET Data provider
          Issue Type: Bug
          Components: ADO.NET Provider
    Affects Versions: 2.5.0
         Environment: Windows 7, IIS7
            Reporter: Icemedia
            Assignee: Jiri Cincura


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? 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to