locked
singleinstance server flowthrottle RRS feed

  • Question

  • I have a singleinstance server with ConcurrencyMode.Multiple web server hags after few calls after getting dump I see that FlowThrottle capacity is reached why would this be the case for single instance server?

    I can increase using this in config file <serviceThrottling maxConcurrentCalls="500" maxConcurrentSessions="500" maxConcurrentInstances="500" />

    but I dont understand why this would happen for single instance server

    System.ServiceModel.Dispatcher.ServiceThrottle

    MethodTable: 50a0f738
    EEClass: 506724bc
    Size: 36(0x24) bytes
     (C:\Windows\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll)
    Fields:
          MT    Field   Offset                 Type VT     Attr    Value Name
    50a0f77c  400377e        4 ...cher.FlowThrottle  0 instance 1d52cc24 calls
    50a0f77c  400377f        8 ...cher.FlowThrottle  0 instance 1d52cc94 sessions
    509cb0ac  4003780        c ...her.QuotaThrottle  0 instance 00000000 dynamic
    50a0f77c  4003781       10 ...cher.FlowThrottle  0 instance 00000000 instanceContexts
    50a0eda0  4003782       14 ...l.ServiceHostBase  0 instance 1d52ca84 host
    55294708  4003783       1c       System.Boolean  1 instance        1 isActive
    552c0858  4003784       18        System.Object  0 instance 1d52cbf8 thisLock
    0:054> !do 1d52cc24 
    Name: System.ServiceModel.Dispatcher.FlowThrottle
    MethodTable: 50a0f77c
    EEClass: 50672528
    Size: 36(0x24) bytes
     (C:\Windows\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll)
    Fields:
          MT    Field   Offset                 Type VT     Attr    Value Name
    552c2e88  4003556       18         System.Int32  1 instance       16 capacity
    552c2e88  4003557       1c         System.Int32  1 instance        0 count
    552c0858  4003558        4        System.Object  0 instance 1d52cc48 mutex
    552aeb9c  4003559        8 ...ding.WaitCallback  0 instance 1d52cc04 release
    00000000  400355a        c                       0 instance 1d52cc54 waiters
    552c0c3c  400355b       10        System.String  0 instance 198aed80 propertyName
    552c0c3c  400355c       14        System.String  0 instance 198aedb8 configName
    0:054> !do 1d52cc94 
    Name: System.ServiceModel.Dispatcher.FlowThrottle
    MethodTable: 50a0f77c
    EEClass: 50672528
    Size: 36(0x24) bytes
     (C:\Windows\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll)
    Fields:
          MT    Field   Offset                 Type VT     Attr    Value Name
    552c2e88  4003556       18         System.Int32  1 instance       10 capacity
    552c2e88  4003557       1c         System.Int32  1 instance       10 count
    552c0858  4003558        4        System.Object  0 instance 1d52ccb8 mutex
    552aeb9c  4003559        8 ...ding.WaitCallback  0 instance 1d52cc74 release
    00000000  400355a        c                       0 instance 1d52ccc4 waiters
    552c0c3c  400355b       10        System.String  0 instance 198aee70 propertyName
    552c0c3c  400355c       14        System.String  0 instance 198aeeac configName
    0:054> !do 102c3718 

    Wednesday, August 8, 2012 7:39 PM

Answers