[GH-ISSUE #6] Any chance for Exchange 2013?!! #4

Closed
opened 2026-02-26 10:35:10 +03:00 by kerem · 10 comments
Owner

Originally created by @scorniglion on GitHub (Jul 5, 2013).
Original GitHub issue: https://github.com/Pro/dkim-exchange/issues/6

Hi there,

Sorry to be so cheeky, but I tried to recompile dkim-exchange with VS 2012, under .Net 4.0 target. The procedure went fine, but Exchange won't send any more emails…!

I'm not exactly sure where to look for in the hundreds of various log files.

Any chance of a hand there?

Thanks for your help.
Regards
Sebastien

Originally created by @scorniglion on GitHub (Jul 5, 2013). Original GitHub issue: https://github.com/Pro/dkim-exchange/issues/6 Hi there, Sorry to be so cheeky, but I tried to recompile dkim-exchange with VS 2012, under .Net 4.0 target. The procedure went fine, but Exchange won't send any more emails…! I'm not exactly sure where to look for in the hundreds of various log files. Any chance of a hand there? Thanks for your help. Regards Sebastien
kerem 2026-02-26 10:35:10 +03:00
  • closed this issue
  • added the
    invalid
    label
Author
Owner

@Pro commented on GitHub (Jul 5, 2013):

Hey!
Thanks for trying! This is most probably due to an exception thrown during execution...

If the code caused exceptions they should be logged in the EventLog (http://technet.microsoft.com/en-us/library/bb726966.aspx) not in log files.
Try to look there (Check administrative logs, application logs, think there is even one for Exchange) and then post the error message here. If you can't find any, write a response here and we can try out additional steps...

<!-- gh-comment-id:20520930 --> @Pro commented on GitHub (Jul 5, 2013): Hey! Thanks for trying! This is most probably due to an exception thrown during execution... If the code caused exceptions they should be logged in the EventLog (http://technet.microsoft.com/en-us/library/bb726966.aspx) not in log files. Try to look there (Check administrative logs, application logs, think there is even one for Exchange) and then post the error message here. If you can't find any, write a response here and we can try out additional steps...
Author
Owner

@Pro commented on GitHub (Jul 5, 2013):

Ah, I forgot:
Try also to filter for Event Source 'Exchange DKIM'
This will be created by executing the file "Create key.reg" contained in this repo.
Make sure that you did this step! (It's also mentioned in the readme file)

<!-- gh-comment-id:20521281 --> @Pro commented on GitHub (Jul 5, 2013): Ah, I forgot: Try also to filter for Event Source 'Exchange DKIM' This will be created by executing the file "Create key.reg" contained in this repo. Make sure that you did this step! (It's also mentioned in the readme file)
Author
Owner

@scorniglion commented on GitHub (Jul 5, 2013):

Ok. I had one stupid problem, my private key got named with a hidden ".txt" extension, I found it thanks to the Exchange DKIM filter.

But now, nothing related pops out in the Event Log.
I do get a lot of these though, even without dkim-exchange enabled:

Log Name: Application
Source: MSExchange Common
Date: 7/5/2013 4:28:44 PM
Event ID: 106
Task Category: General
Level: Error
Keywords: Classic
User: N/A
Computer: SQL.makeitdynamic.com
Description:
Performance counter updating error. Counter name is MailItem dehydrate total, category name is MSExchangeTransport Database. Optional code: 1. Exception: The exception thrown is : System.InvalidOperationException: Instance '_total' already exists with a lifetime of Process. It cannot be recreated or reused until it has been removed or until the process using it has exited.
at System.Diagnostics.SharedPerformanceCounter.FindInstance(Int32 instanceNameHashCode, String instanceName, CategoryEntry* categoryPointer, InstanceEntry** returnInstancePointerReference, Boolean activateUnusedInstances, PerformanceCounterInstanceLifetime lifetime, Boolean& foundFreeInstance)
at System.Diagnostics.SharedPerformanceCounter.GetCounter(String counterName, String instanceName, Boolean enableReuse, PerformanceCounterInstanceLifetime lifetime)
at System.Diagnostics.SharedPerformanceCounter..ctor(String catName, String counterName, String instanceName, PerformanceCounterInstanceLifetime lifetime)
at System.Diagnostics.PerformanceCounter.InitializeImpl()
at System.Diagnostics.PerformanceCounter.IncrementBy(Int64 value)
at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.IncrementBy(Int64 incrementValue)
Last worker process info : System.ArgumentException: Process with an Id of 36240 is not running.
at System.Diagnostics.Process.GetProcessById(Int32 processId)
at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.GetLastWorkerProcessInfo()
Processes running while Performance counter failed to update:
10772 MSExchangeTransportLogSearch
548 wininit
33612 conhost
5196 mssearch
848 nvwmi64
316 RavMonD
5584 SPWRITER
1272 msdtc
6012 sqlwriter
34884 iexplore
16780 conhost
2556 MSExchangeHMHost
34012 popwndexe
824 nvvsvc
5712 WmiPrvSE
37884 mmc
37120 InetMgr
3400 inetinfo
15248 w3wp
5984 conhost
3448 noderunner
13308 fdhost
1668 hostcontrollerservice
3820 rundll32
4248 msmdsrv
36140 RsTray
6400 Microsoft.Exchange.Directory.TopologyService
9416 MSExchangeMailboxReplication
3812 sqlservr
1656 nvwmi64
4240 Microsoft.Exchange.Pop3Service
13284 fdhost
12420 conhost
12848 fdlauncher
10692 MSExchangeThrottling
10260 Microsoft.Exchange.ServiceHost
1636 nvxdsync
37052 w3wp
340 smss
37836 cmd
3352 sqlservr
6792 Microsoft.Exchange.AntispamUpdateSvc
8084 Microsoft.Exchange.Imap4Service
756 svchost
11528 notepad
12524 rundll32
37816 EdgeTransport
9368 Microsoft.Exchange.Pop3
26176 winlogon
5916 SQLAGENT
7632 Microsoft.Exchange.Search.Service
4612 ReportingServicesService
36832 cmd
34776 iexplore
8484 MSExchangeMailboxAssistants
36928 powershell
2016 Microsoft.Office.Server.Conversions.LoadBalancer
3736 conhost
14916 SPUCWorkerProcessProxy
1576 c2wtshost
18384 svchost
3728 MSExchangeHMWorker
30448 dwm
29584 taskhost
13636 SPUCHostService
36908 conhost
8460 scanningprocess
5872 sqlbrowser
4576 WSSADMIN
33452 iexplore
1556 svchost
2848 noderunner
16364 w3wp
29568 notepad
3276 noderunner
1120 svchost
7148 WmiPrvSE
11208 w3wp
4560 svchost
13084 fdlauncher
34028 w3wp
2828 mqsvc
1100 svchost
5116 sftracing
660 lsm
584 winlogon
6256 Ec2Config
652 lsass
11424 UMWorkerProcess
35128 w3wp
9696 Microsoft.Exchange.Pop3Service
644 services
1504 spoolsv
2360 Microsoft.Exchange.Diagnostics.Service
8872 Microsoft.Exchange.Imap4
3220 noderunner
35600 iexplore
7524 Microsoft.Exchange.EdgeSyncSvc
13988 w3wp
1056 svchost
31212 explorer
13540 SPUCWorkerProcess
2760 sqlservr
4464 w3wp
9220 conhost
26028 devenv
4904 ReportingServicesService
3032 msmdsrv
36364 conhost
34208 w3wp
17724 conhost
1144 svchost
1016 RsMgrSvc
36788 csrss
5324 wsstracing
1008 LogonUI
5748 conhost
6176 XenGuestAgent
35064 w3wp
2716 updateservice
8748 conhost
556 csrss
7020 msexchangerepl
1416 TrustedInstaller
2088 sqlservr
11232 Microsoft.Exchange.Store.Worker
2272 MsDtsSrvr
8736 Microsoft.Exchange.Imap4
4852 rundll32
540 svchost
7004 Microsoft.Exchange.Pop3
21224 scanningprocess
12600 VSSVC
31988 Microsoft.Exchange.RpcClientAccess.Service
31552 MSExchangeTransport
1812 Microsoft.Office.Server.Conversions.Launcher
4396 mssearch
9272 conhost
5300 OWSTIMER
504 svchost
3520 ForefrontActiveDirectoryConnector
1364 fms
496 csrss
13196 VCDDaemon
8680 Microsoft.Exchange.Imap4Service
6092 WebAnalyticsService
12556 svchost
10432 MSExchangeSubmission
916 svchost
2208 rundll32
28928 rdpclip
8236 conhost
12972 svchost
1332 taskeng
4344 SMSvcHost
5636 SQLAGENT
10376 w3wp
6060 svchost
9076 Microsoft.Exchange.Store.Service
10368 umservice
6056 conhost
35428 w3wp
6912 MSExchangeDelivery
8204 scanningprocess
6048 WMSvc
17684 mssdmn
1304 svchost
872 nvSCPAPISvr
10784 Microsoft.Exchange.UM.CallRouter
13800 XenDpriv
28884 iexplore
12936 svchost
4 System
7760 MSExchangeFrontendTransport
0 Idle
Performance Counters Layout information: A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=0 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : inqueue(56145953) RefCount=1 SpinLock=0 Offset=48552, categoryName: MSExchangeTransport Database
A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=1 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : smtpin(81392C98) RefCount=1 SpinLock=0 Offset=44384, categoryName: MSExchangeTransport Database
A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=2 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : queue(B351294) RefCount=1 SpinLock=0 Offset=40216, categoryName: MSExchangeTransport Database
A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=0 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : cat event 8(ED0419E7) RefCount=1 SpinLock=0 Offset=36048, categoryName: MSExchangeTransport Database
A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=0 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : cat event 6(ED0419E9) RefCount=1 SpinLock=0 Offset=31880, categoryName: MSExchangeTransport Database
A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=0 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : cat event 3(ED0419EC) RefCount=1 SpinLock=0 Offset=27712, categoryName: MSExchangeTransport Database
A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=0 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : cat event 1(ED0419EE) RefCount=1 SpinLock=0 Offset=23544, categoryName: MSExchangeTransport Database
A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=3 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : cat(B874BB3) RefCount=1 SpinLock=0 Offset=19376, categoryName: MSExchangeTransport Database
A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=0 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : mail(7C6FB7CC) RefCount=1 SpinLock=0 Offset=15208, categoryName: MSExchangeTransport Database
A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=6 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : other(ADC98A1) RefCount=1 SpinLock=0 Offset=11040, categoryName: MSExchangeTransport Database
A process is holding onto a transport performance counter. processId : 10432, counter : datarow seeks total Value=0 SpinLock=0 Lifetime=Type: 1 ProcessId: 10432 StartupTime: 130170686519816083, currentInstance : _total(CFBEE918) RefCount=1 SpinLock=0 Offset=32, categoryName: MSExchangeTransport Database

Event Xml:



106
2
1
0x80000000000000

1123078
Application
SQL.makeitdynamic.com



1
MailItem dehydrate total
MSExchangeTransport Database
The exception thrown is : System.InvalidOperationException: Instance '_total' already exists with a lifetime of Process. It cannot be recreated or reused until it has been removed or until the process using it has exited.
at System.Diagnostics.SharedPerformanceCounter.FindInstance(Int32 instanceNameHashCode, String instanceName, CategoryEntry* categoryPointer, InstanceEntry** returnInstancePointerReference, Boolean activateUnusedInstances, PerformanceCounterInstanceLifetime lifetime, Boolean& foundFreeInstance)
at System.Diagnostics.SharedPerformanceCounter.GetCounter(String counterName, String instanceName, Boolean enableReuse, PerformanceCounterInstanceLifetime lifetime)
at System.Diagnostics.SharedPerformanceCounter..ctor(String catName, String counterName, String instanceName, PerformanceCounterInstanceLifetime lifetime)
at System.Diagnostics.PerformanceCounter.InitializeImpl()
at System.Diagnostics.PerformanceCounter.IncrementBy(Int64 value)
at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.IncrementBy(Int64 incrementValue)
Last worker process info : System.ArgumentException: Process with an Id of 36240 is not running.
at System.Diagnostics.Process.GetProcessById(Int32 processId)
at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.GetLastWorkerProcessInfo()
Processes running while Performance counter failed to update:
10772 MSExchangeTransportLogSearch
548 wininit
33612 conhost
5196 mssearch
848 nvwmi64
316 RavMonD
5584 SPWRITER
1272 msdtc
6012 sqlwriter
34884 iexplore
16780 conhost
2556 MSExchangeHMHost
34012 popwndexe
824 nvvsvc
5712 WmiPrvSE
37884 mmc
37120 InetMgr
3400 inetinfo
15248 w3wp
5984 conhost
3448 noderunner
13308 fdhost
1668 hostcontrollerservice
3820 rundll32
4248 msmdsrv
36140 RsTray
6400 Microsoft.Exchange.Directory.TopologyService
9416 MSExchangeMailboxReplication
3812 sqlservr
1656 nvwmi64
4240 Microsoft.Exchange.Pop3Service
13284 fdhost
12420 conhost
12848 fdlauncher
10692 MSExchangeThrottling
10260 Microsoft.Exchange.ServiceHost
1636 nvxdsync
37052 w3wp
340 smss
37836 cmd
3352 sqlservr
6792 Microsoft.Exchange.AntispamUpdateSvc
8084 Microsoft.Exchange.Imap4Service
756 svchost
11528 notepad
12524 rundll32
37816 EdgeTransport
9368 Microsoft.Exchange.Pop3
26176 winlogon
5916 SQLAGENT
7632 Microsoft.Exchange.Search.Service
4612 ReportingServicesService
36832 cmd
34776 iexplore
8484 MSExchangeMailboxAssistants
36928 powershell
2016 Microsoft.Office.Server.Conversions.LoadBalancer
3736 conhost
14916 SPUCWorkerProcessProxy
1576 c2wtshost
18384 svchost
3728 MSExchangeHMWorker
30448 dwm
29584 taskhost
13636 SPUCHostService
36908 conhost
8460 scanningprocess
5872 sqlbrowser
4576 WSSADMIN
33452 iexplore
1556 svchost
2848 noderunner
16364 w3wp
29568 notepad
3276 noderunner
1120 svchost
7148 WmiPrvSE
11208 w3wp
4560 svchost
13084 fdlauncher
34028 w3wp
2828 mqsvc
1100 svchost
5116 sftracing
660 lsm
584 winlogon
6256 Ec2Config
652 lsass
11424 UMWorkerProcess
35128 w3wp
9696 Microsoft.Exchange.Pop3Service
644 services
1504 spoolsv
2360 Microsoft.Exchange.Diagnostics.Service
8872 Microsoft.Exchange.Imap4
3220 noderunner
35600 iexplore
7524 Microsoft.Exchange.EdgeSyncSvc
13988 w3wp
1056 svchost
31212 explorer
13540 SPUCWorkerProcess
2760 sqlservr
4464 w3wp
9220 conhost
26028 devenv
4904 ReportingServicesService
3032 msmdsrv
36364 conhost
34208 w3wp
17724 conhost
1144 svchost
1016 RsMgrSvc
36788 csrss
5324 wsstracing
1008 LogonUI
5748 conhost
6176 XenGuestAgent
35064 w3wp
2716 updateservice
8748 conhost
556 csrss
7020 msexchangerepl
1416 TrustedInstaller
2088 sqlservr
11232 Microsoft.Exchange.Store.Worker
2272 MsDtsSrvr
8736 Microsoft.Exchange.Imap4
4852 rundll32
540 svchost
7004 Microsoft.Exchange.Pop3
21224 scanningprocess
12600 VSSVC
31988 Microsoft.Exchange.RpcClientAccess.Service
31552 MSExchangeTransport
1812 Microsoft.Office.Server.Conversions.Launcher
4396 mssearch
9272 conhost
5300 OWSTIMER
504 svchost
3520 ForefrontActiveDirectoryConnector
1364 fms
496 csrss
13196 VCDDaemon
8680 Microsoft.Exchange.Imap4Service
6092 WebAnalyticsService
12556 svchost
10432 MSExchangeSubmission
916 svchost
2208 rundll32
28928 rdpclip
8236 conhost
12972 svchost
1332 taskeng
4344 SMSvcHost
5636 SQLAGENT
10376 w3wp
6060 svchost
9076 Microsoft.Exchange.Store.Service
10368 umservice
6056 conhost
35428 w3wp
6912 MSExchangeDelivery
8204 scanningprocess
6048 WMSvc
17684 mssdmn
1304 svchost
872 nvSCPAPISvr
10784 Microsoft.Exchange.UM.CallRouter
13800 XenDpriv
28884 iexplore
12936 svchost
4 System
7760 MSExchangeFrontendTransport
0 Idle
Performance Counters Layout information: A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=0 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : inqueue(56145953) RefCount=1 SpinLock=0 Offset=48552, categoryName: MSExchangeTransport Database
A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=1 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : smtpin(81392C98) RefCount=1 SpinLock=0 Offset=44384, categoryName: MSExchangeTransport Database
A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=2 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : queue(B351294) RefCount=1 SpinLock=0 Offset=40216, categoryName: MSExchangeTransport Database
A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=0 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : cat event 8(ED0419E7) RefCount=1 SpinLock=0 Offset=36048, categoryName: MSExchangeTransport Database
A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=0 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : cat event 6(ED0419E9) RefCount=1 SpinLock=0 Offset=31880, categoryName: MSExchangeTransport Database
A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=0 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : cat event 3(ED0419EC) RefCount=1 SpinLock=0 Offset=27712, categoryName: MSExchangeTransport Database
A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=0 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : cat event 1(ED0419EE) RefCount=1 SpinLock=0 Offset=23544, categoryName: MSExchangeTransport Database
A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=3 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : cat(B874BB3) RefCount=1 SpinLock=0 Offset=19376, categoryName: MSExchangeTransport Database
A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=0 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : mail(7C6FB7CC) RefCount=1 SpinLock=0 Offset=15208, categoryName: MSExchangeTransport Database
A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=6 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : other(ADC98A1) RefCount=1 SpinLock=0 Offset=11040, categoryName: MSExchangeTransport Database
A process is holding onto a transport performance counter. processId : 10432, counter : datarow seeks total Value=0 SpinLock=0 Lifetime=Type: 1 ProcessId: 10432 StartupTime: 130170686519816083, currentInstance : _total(CFBEE918) RefCount=1 SpinLock=0 Offset=32, categoryName: MSExchangeTransport Database

Could it be related?

Thanks!

<!-- gh-comment-id:20522875 --> @scorniglion commented on GitHub (Jul 5, 2013): Ok. I had one stupid problem, my private key got named with a hidden ".txt" extension, I found it thanks to the Exchange DKIM filter. But now, nothing related pops out in the Event Log. I do get a lot of these though, even without dkim-exchange enabled: Log Name: Application Source: MSExchange Common Date: 7/5/2013 4:28:44 PM Event ID: 106 Task Category: General Level: Error Keywords: Classic User: N/A Computer: SQL.makeitdynamic.com Description: Performance counter updating error. Counter name is MailItem dehydrate total, category name is MSExchangeTransport Database. Optional code: 1. Exception: The exception thrown is : System.InvalidOperationException: Instance '_total' already exists with a lifetime of Process. It cannot be recreated or reused until it has been removed or until the process using it has exited. at System.Diagnostics.SharedPerformanceCounter.FindInstance(Int32 instanceNameHashCode, String instanceName, CategoryEntry\* categoryPointer, InstanceEntry*\* returnInstancePointerReference, Boolean activateUnusedInstances, PerformanceCounterInstanceLifetime lifetime, Boolean& foundFreeInstance) at System.Diagnostics.SharedPerformanceCounter.GetCounter(String counterName, String instanceName, Boolean enableReuse, PerformanceCounterInstanceLifetime lifetime) at System.Diagnostics.SharedPerformanceCounter..ctor(String catName, String counterName, String instanceName, PerformanceCounterInstanceLifetime lifetime) at System.Diagnostics.PerformanceCounter.InitializeImpl() at System.Diagnostics.PerformanceCounter.IncrementBy(Int64 value) at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.IncrementBy(Int64 incrementValue) Last worker process info : System.ArgumentException: Process with an Id of 36240 is not running. at System.Diagnostics.Process.GetProcessById(Int32 processId) at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.GetLastWorkerProcessInfo() Processes running while Performance counter failed to update: 10772 MSExchangeTransportLogSearch 548 wininit 33612 conhost 5196 mssearch 848 nvwmi64 316 RavMonD 5584 SPWRITER 1272 msdtc 6012 sqlwriter 34884 iexplore 16780 conhost 2556 MSExchangeHMHost 34012 popwndexe 824 nvvsvc 5712 WmiPrvSE 37884 mmc 37120 InetMgr 3400 inetinfo 15248 w3wp 5984 conhost 3448 noderunner 13308 fdhost 1668 hostcontrollerservice 3820 rundll32 4248 msmdsrv 36140 RsTray 6400 Microsoft.Exchange.Directory.TopologyService 9416 MSExchangeMailboxReplication 3812 sqlservr 1656 nvwmi64 4240 Microsoft.Exchange.Pop3Service 13284 fdhost 12420 conhost 12848 fdlauncher 10692 MSExchangeThrottling 10260 Microsoft.Exchange.ServiceHost 1636 nvxdsync 37052 w3wp 340 smss 37836 cmd 3352 sqlservr 6792 Microsoft.Exchange.AntispamUpdateSvc 8084 Microsoft.Exchange.Imap4Service 756 svchost 11528 notepad 12524 rundll32 37816 EdgeTransport 9368 Microsoft.Exchange.Pop3 26176 winlogon 5916 SQLAGENT 7632 Microsoft.Exchange.Search.Service 4612 ReportingServicesService 36832 cmd 34776 iexplore 8484 MSExchangeMailboxAssistants 36928 powershell 2016 Microsoft.Office.Server.Conversions.LoadBalancer 3736 conhost 14916 SPUCWorkerProcessProxy 1576 c2wtshost 18384 svchost 3728 MSExchangeHMWorker 30448 dwm 29584 taskhost 13636 SPUCHostService 36908 conhost 8460 scanningprocess 5872 sqlbrowser 4576 WSSADMIN 33452 iexplore 1556 svchost 2848 noderunner 16364 w3wp 29568 notepad 3276 noderunner 1120 svchost 7148 WmiPrvSE 11208 w3wp 4560 svchost 13084 fdlauncher 34028 w3wp 2828 mqsvc 1100 svchost 5116 sftracing 660 lsm 584 winlogon 6256 Ec2Config 652 lsass 11424 UMWorkerProcess 35128 w3wp 9696 Microsoft.Exchange.Pop3Service 644 services 1504 spoolsv 2360 Microsoft.Exchange.Diagnostics.Service 8872 Microsoft.Exchange.Imap4 3220 noderunner 35600 iexplore 7524 Microsoft.Exchange.EdgeSyncSvc 13988 w3wp 1056 svchost 31212 explorer 13540 SPUCWorkerProcess 2760 sqlservr 4464 w3wp 9220 conhost 26028 devenv 4904 ReportingServicesService 3032 msmdsrv 36364 conhost 34208 w3wp 17724 conhost 1144 svchost 1016 RsMgrSvc 36788 csrss 5324 wsstracing 1008 LogonUI 5748 conhost 6176 XenGuestAgent 35064 w3wp 2716 updateservice 8748 conhost 556 csrss 7020 msexchangerepl 1416 TrustedInstaller 2088 sqlservr 11232 Microsoft.Exchange.Store.Worker 2272 MsDtsSrvr 8736 Microsoft.Exchange.Imap4 4852 rundll32 540 svchost 7004 Microsoft.Exchange.Pop3 21224 scanningprocess 12600 VSSVC 31988 Microsoft.Exchange.RpcClientAccess.Service 31552 MSExchangeTransport 1812 Microsoft.Office.Server.Conversions.Launcher 4396 mssearch 9272 conhost 5300 OWSTIMER 504 svchost 3520 ForefrontActiveDirectoryConnector 1364 fms 496 csrss 13196 VCDDaemon 8680 Microsoft.Exchange.Imap4Service 6092 WebAnalyticsService 12556 svchost 10432 MSExchangeSubmission 916 svchost 2208 rundll32 28928 rdpclip 8236 conhost 12972 svchost 1332 taskeng 4344 SMSvcHost 5636 SQLAGENT 10376 w3wp 6060 svchost 9076 Microsoft.Exchange.Store.Service 10368 umservice 6056 conhost 35428 w3wp 6912 MSExchangeDelivery 8204 scanningprocess 6048 WMSvc 17684 mssdmn 1304 svchost 872 nvSCPAPISvr 10784 Microsoft.Exchange.UM.CallRouter 13800 XenDpriv 28884 iexplore 12936 svchost 4 System 7760 MSExchangeFrontendTransport 0 Idle Performance Counters Layout information: A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=0 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : inqueue(56145953) RefCount=1 SpinLock=0 Offset=48552, categoryName: MSExchangeTransport Database A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=1 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : smtpin(81392C98) RefCount=1 SpinLock=0 Offset=44384, categoryName: MSExchangeTransport Database A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=2 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : queue(B351294) RefCount=1 SpinLock=0 Offset=40216, categoryName: MSExchangeTransport Database A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=0 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : cat event 8(ED0419E7) RefCount=1 SpinLock=0 Offset=36048, categoryName: MSExchangeTransport Database A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=0 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : cat event 6(ED0419E9) RefCount=1 SpinLock=0 Offset=31880, categoryName: MSExchangeTransport Database A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=0 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : cat event 3(ED0419EC) RefCount=1 SpinLock=0 Offset=27712, categoryName: MSExchangeTransport Database A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=0 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : cat event 1(ED0419EE) RefCount=1 SpinLock=0 Offset=23544, categoryName: MSExchangeTransport Database A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=3 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : cat(B874BB3) RefCount=1 SpinLock=0 Offset=19376, categoryName: MSExchangeTransport Database A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=0 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : mail(7C6FB7CC) RefCount=1 SpinLock=0 Offset=15208, categoryName: MSExchangeTransport Database A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=6 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : other(ADC98A1) RefCount=1 SpinLock=0 Offset=11040, categoryName: MSExchangeTransport Database A process is holding onto a transport performance counter. processId : 10432, counter : datarow seeks total Value=0 SpinLock=0 Lifetime=Type: 1 ProcessId: 10432 StartupTime: 130170686519816083, currentInstance : _total(CFBEE918) RefCount=1 SpinLock=0 Offset=32, categoryName: MSExchangeTransport Database Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="MSExchange Common" /> <EventID Qualifiers="49156">106</EventID> <Level>2</Level> <Task>1</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2013-07-05T14:28:44.000000000Z" /> <EventRecordID>1123078</EventRecordID> <Channel>Application</Channel> <Computer>SQL.makeitdynamic.com</Computer> <Security /> </System> <EventData> <Data>1</Data> <Data>MailItem dehydrate total</Data> <Data>MSExchangeTransport Database</Data> <Data>The exception thrown is : System.InvalidOperationException: Instance '_total' already exists with a lifetime of Process. It cannot be recreated or reused until it has been removed or until the process using it has exited. at System.Diagnostics.SharedPerformanceCounter.FindInstance(Int32 instanceNameHashCode, String instanceName, CategoryEntry\* categoryPointer, InstanceEntry*\* returnInstancePointerReference, Boolean activateUnusedInstances, PerformanceCounterInstanceLifetime lifetime, Boolean&amp; foundFreeInstance) at System.Diagnostics.SharedPerformanceCounter.GetCounter(String counterName, String instanceName, Boolean enableReuse, PerformanceCounterInstanceLifetime lifetime) at System.Diagnostics.SharedPerformanceCounter..ctor(String catName, String counterName, String instanceName, PerformanceCounterInstanceLifetime lifetime) at System.Diagnostics.PerformanceCounter.InitializeImpl() at System.Diagnostics.PerformanceCounter.IncrementBy(Int64 value) at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.IncrementBy(Int64 incrementValue) Last worker process info : System.ArgumentException: Process with an Id of 36240 is not running. at System.Diagnostics.Process.GetProcessById(Int32 processId) at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.GetLastWorkerProcessInfo() Processes running while Performance counter failed to update: 10772 MSExchangeTransportLogSearch 548 wininit 33612 conhost 5196 mssearch 848 nvwmi64 316 RavMonD 5584 SPWRITER 1272 msdtc 6012 sqlwriter 34884 iexplore 16780 conhost 2556 MSExchangeHMHost 34012 popwndexe 824 nvvsvc 5712 WmiPrvSE 37884 mmc 37120 InetMgr 3400 inetinfo 15248 w3wp 5984 conhost 3448 noderunner 13308 fdhost 1668 hostcontrollerservice 3820 rundll32 4248 msmdsrv 36140 RsTray 6400 Microsoft.Exchange.Directory.TopologyService 9416 MSExchangeMailboxReplication 3812 sqlservr 1656 nvwmi64 4240 Microsoft.Exchange.Pop3Service 13284 fdhost 12420 conhost 12848 fdlauncher 10692 MSExchangeThrottling 10260 Microsoft.Exchange.ServiceHost 1636 nvxdsync 37052 w3wp 340 smss 37836 cmd 3352 sqlservr 6792 Microsoft.Exchange.AntispamUpdateSvc 8084 Microsoft.Exchange.Imap4Service 756 svchost 11528 notepad 12524 rundll32 37816 EdgeTransport 9368 Microsoft.Exchange.Pop3 26176 winlogon 5916 SQLAGENT 7632 Microsoft.Exchange.Search.Service 4612 ReportingServicesService 36832 cmd 34776 iexplore 8484 MSExchangeMailboxAssistants 36928 powershell 2016 Microsoft.Office.Server.Conversions.LoadBalancer 3736 conhost 14916 SPUCWorkerProcessProxy 1576 c2wtshost 18384 svchost 3728 MSExchangeHMWorker 30448 dwm 29584 taskhost 13636 SPUCHostService 36908 conhost 8460 scanningprocess 5872 sqlbrowser 4576 WSSADMIN 33452 iexplore 1556 svchost 2848 noderunner 16364 w3wp 29568 notepad 3276 noderunner 1120 svchost 7148 WmiPrvSE 11208 w3wp 4560 svchost 13084 fdlauncher 34028 w3wp 2828 mqsvc 1100 svchost 5116 sftracing 660 lsm 584 winlogon 6256 Ec2Config 652 lsass 11424 UMWorkerProcess 35128 w3wp 9696 Microsoft.Exchange.Pop3Service 644 services 1504 spoolsv 2360 Microsoft.Exchange.Diagnostics.Service 8872 Microsoft.Exchange.Imap4 3220 noderunner 35600 iexplore 7524 Microsoft.Exchange.EdgeSyncSvc 13988 w3wp 1056 svchost 31212 explorer 13540 SPUCWorkerProcess 2760 sqlservr 4464 w3wp 9220 conhost 26028 devenv 4904 ReportingServicesService 3032 msmdsrv 36364 conhost 34208 w3wp 17724 conhost 1144 svchost 1016 RsMgrSvc 36788 csrss 5324 wsstracing 1008 LogonUI 5748 conhost 6176 XenGuestAgent 35064 w3wp 2716 updateservice 8748 conhost 556 csrss 7020 msexchangerepl 1416 TrustedInstaller 2088 sqlservr 11232 Microsoft.Exchange.Store.Worker 2272 MsDtsSrvr 8736 Microsoft.Exchange.Imap4 4852 rundll32 540 svchost 7004 Microsoft.Exchange.Pop3 21224 scanningprocess 12600 VSSVC 31988 Microsoft.Exchange.RpcClientAccess.Service 31552 MSExchangeTransport 1812 Microsoft.Office.Server.Conversions.Launcher 4396 mssearch 9272 conhost 5300 OWSTIMER 504 svchost 3520 ForefrontActiveDirectoryConnector 1364 fms 496 csrss 13196 VCDDaemon 8680 Microsoft.Exchange.Imap4Service 6092 WebAnalyticsService 12556 svchost 10432 MSExchangeSubmission 916 svchost 2208 rundll32 28928 rdpclip 8236 conhost 12972 svchost 1332 taskeng 4344 SMSvcHost 5636 SQLAGENT 10376 w3wp 6060 svchost 9076 Microsoft.Exchange.Store.Service 10368 umservice 6056 conhost 35428 w3wp 6912 MSExchangeDelivery 8204 scanningprocess 6048 WMSvc 17684 mssdmn 1304 svchost 872 nvSCPAPISvr 10784 Microsoft.Exchange.UM.CallRouter 13800 XenDpriv 28884 iexplore 12936 svchost 4 System 7760 MSExchangeFrontendTransport 0 Idle Performance Counters Layout information: A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=0 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : inqueue(56145953) RefCount=1 SpinLock=0 Offset=48552, categoryName: MSExchangeTransport Database A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=1 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : smtpin(81392C98) RefCount=1 SpinLock=0 Offset=44384, categoryName: MSExchangeTransport Database A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=2 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : queue(B351294) RefCount=1 SpinLock=0 Offset=40216, categoryName: MSExchangeTransport Database A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=0 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : cat event 8(ED0419E7) RefCount=1 SpinLock=0 Offset=36048, categoryName: MSExchangeTransport Database A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=0 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : cat event 6(ED0419E9) RefCount=1 SpinLock=0 Offset=31880, categoryName: MSExchangeTransport Database A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=0 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : cat event 3(ED0419EC) RefCount=1 SpinLock=0 Offset=27712, categoryName: MSExchangeTransport Database A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=0 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : cat event 1(ED0419EE) RefCount=1 SpinLock=0 Offset=23544, categoryName: MSExchangeTransport Database A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=3 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : cat(B874BB3) RefCount=1 SpinLock=0 Offset=19376, categoryName: MSExchangeTransport Database A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=0 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : mail(7C6FB7CC) RefCount=1 SpinLock=0 Offset=15208, categoryName: MSExchangeTransport Database A process is holding onto a transport performance counter. processId : 37816, counter : datarow seeks total Value=6 SpinLock=0 Lifetime=Type: 1 ProcessId: 37816 StartupTime: 130175081051672477, currentInstance : other(ADC98A1) RefCount=1 SpinLock=0 Offset=11040, categoryName: MSExchangeTransport Database A process is holding onto a transport performance counter. processId : 10432, counter : datarow seeks total Value=0 SpinLock=0 Lifetime=Type: 1 ProcessId: 10432 StartupTime: 130170686519816083, currentInstance : _total(CFBEE918) RefCount=1 SpinLock=0 Offset=32, categoryName: MSExchangeTransport Database </Data> </EventData> </Event> Could it be related? Thanks!
Author
Owner

@Pro commented on GitHub (Jul 5, 2013):

Hmm, strange error, never seen it before.
Did you already try to restart the Exchange Transport Agent (In services.msc).
Or maybe there are somehow two instances running : http://social.msdn.microsoft.com/Forums/vstudio/en-US/ccb93e1f-bfd0-47dc-b119-dd8b0748477f/logging-into-a-configurtion-service

NOTE:
if changed something in the code to get it working it would be nice to send a merge request.
It would also help other users if you can commit the compiled .dll for Exchange 2013. Thanks!

<!-- gh-comment-id:20523331 --> @Pro commented on GitHub (Jul 5, 2013): Hmm, strange error, never seen it before. Did you already try to restart the Exchange Transport Agent (In services.msc). Or maybe there are somehow two instances running : http://social.msdn.microsoft.com/Forums/vstudio/en-US/ccb93e1f-bfd0-47dc-b119-dd8b0748477f/logging-into-a-configurtion-service NOTE: if changed something in the code to get it working it would be nice to send a merge request. It would also help other users if you can commit the compiled .dll for Exchange 2013. Thanks!
Author
Owner

@scorniglion commented on GitHub (Jul 5, 2013):

Found the problem on the web: it's got to do with Perf Counters, I don't believe it will affect DKIM
FYI: http://www.ntsystems.it/post/Exchange-2013-clean-install-but-many-MSExchange-Common-106-errors.aspx

I haven't touched anything to the code, single-handedly the .Net version target (to 4.0).

<!-- gh-comment-id:20523996 --> @scorniglion commented on GitHub (Jul 5, 2013): Found the problem on the web: it's got to do with Perf Counters, I don't believe it will affect DKIM FYI: http://www.ntsystems.it/post/Exchange-2013-clean-install-but-many-MSExchange-Common-106-errors.aspx I haven't touched anything to the code, single-handedly the .Net version target (to 4.0).
Author
Owner

@scorniglion commented on GitHub (Jul 5, 2013):

Hi there. The Perf Counters must have been a problem: it's working like a charm now!!!
Thanks for your quick support

<!-- gh-comment-id:20525420 --> @scorniglion commented on GitHub (Jul 5, 2013): Hi there. The Perf Counters must have been a problem: it's working like a charm now!!! Thanks for your quick support
Author
Owner

@Pro commented on GitHub (Nov 26, 2013):

Today I commited a new install script. This should fix common install problems.
Simply follow the the instructions here: https://github.com/Pro/dkim-exchange#update-from-version-05 or install from scratch https://github.com/Pro/dkim-exchange#installing-the-transport-agent

In a few days I'll also push newly compiled version for Exchange 2013 (after it's installed in Virtual Box and tested)

<!-- gh-comment-id:29335046 --> @Pro commented on GitHub (Nov 26, 2013): Today I commited a new install script. This should fix common install problems. Simply follow the the instructions here: https://github.com/Pro/dkim-exchange#update-from-version-05 or install from scratch https://github.com/Pro/dkim-exchange#installing-the-transport-agent In a few days I'll also push newly compiled version for Exchange 2013 (after it's installed in Virtual Box and tested)
Author
Owner

@Pro commented on GitHub (Nov 27, 2013):

The "official" Exchange 2013 dll is now available and tested on Windows Server 2012 R2.

<!-- gh-comment-id:29385909 --> @Pro commented on GitHub (Nov 27, 2013): The "official" Exchange 2013 dll is now available and tested on Windows Server 2012 R2.
Author
Owner

@scorniglion commented on GitHub (Nov 27, 2013):

Thanks for letting me know, we¹ll try it out on our deployment and keep you
posted too.

Just to make sure: did you have to make any changes to the code base for
Exchange 2013, as I didn¹t have to do anything but change the framework
target and ³recompile² with the previous version?

<!-- gh-comment-id:29387751 --> @scorniglion commented on GitHub (Nov 27, 2013): Thanks for letting me know, we¹ll try it out on our deployment and keep you posted too. Just to make sure: did you have to make any changes to the code base for Exchange 2013, as I didn¹t have to do anything but change the framework target and ³recompile² with the previous version?
Author
Owner

@Pro commented on GitHub (Nov 27, 2013):

No, I didn't change anything in the functionality of the code but changed handling of the configuration file (code cleanup). Thus you should follow https://github.com/Pro/dkim-exchange#update-from-version-05
It would have been enough to change the target framework to .Net 4.0 to successfully compile.
Please post any issues here on github (open a new one). Thanks for testing!

<!-- gh-comment-id:29388084 --> @Pro commented on GitHub (Nov 27, 2013): No, I didn't change anything in the functionality of the code but changed handling of the configuration file (code cleanup). Thus you should follow https://github.com/Pro/dkim-exchange#update-from-version-05 It would have been enough to change the target framework to .Net 4.0 to successfully compile. Please post any issues here on github (open a new one). Thanks for testing!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dkim-exchange-Pro#4
No description provided.