Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple websites in IIS with native dll use 100% or core CPU [DNET493] #479

Closed
firebird-automations opened this issue Apr 16, 2013 · 2 comments

Comments

@firebird-automations
Copy link

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?

@firebird-automations
Copy link
Author

Commented by: @cincuranet

What Firebird server you're using? Try to reproduce the bug with latest FirebirdClient.

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Open [ 1 ] => Closed [ 6 ]

resolution: Incomplete [ 4 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants