Web Analytics Made Easy -
StatCounter
Friday, November 15, 2024 4:24:32 PM

Event ID: 8 - An error occurred while dispatching a duplicated socket: this handle is now leaked in the process.

5 years ago
#165 Quote
Does anyone know what this means?

Windows 7 connected to Server 2016 Foundation Server

Log Name:      System
Source:        SMSvcHost 4.0.0.0
Date:          17/09/2019 07:16:43
Event ID:      8
Task Category: Sharing Service
Level:         Error
Keywords:      Classic
User:          LOCAL SERVICE
Computer:      pc.domain.local
Description:
An error occurred while dispatching a duplicated socket: this handle is now leaked in the process.
ID: 3392
Source: System.ServiceModel.Activation.TcpWorkerProcess/36610825
Exception: System.ServiceModel.ServiceActivationException: An error occurred while duplicating a socket. See inner exception for more information. ---> System.Net.Sockets.SocketException: An invalid argument was supplied
   at System.Net.Sockets.Socket.DuplicateAndClose(Int32 targetProcessId)
   at System.ServiceModel.Channels.SocketConnection.DuplicateAndClose(Int32 targetProcessId)
   at System.ServiceModel.Activation.TcpWorkerProcess.DuplicateConnection(ListenerSessionConnection session)
   --- End of inner exception stack trace ---
   at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
   at System.ServiceModel.Activation.WorkerProcess.EndDispatchSession(IAsyncResult result)
  Process Name: SMSvcHost
Process ID: 2160
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="SMSvcHost 4.0.0.0" />
    <EventID Qualifiers="49156">8</EventID>
    <Level>2</Level>
    <Task>13</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2019-09-17T06:16:43.000000000Z" />
    <EventRecordID>496366</EventRecordID>
    <Channel>System</Channel>
    <Computer>pc.domain.local</Computer>
    <Security UserID="S-1-5-19" />
  </System>
  <EventData>
    <Data>3392</Data>
    <Data>System.ServiceModel.Activation.TcpWorkerProcess/36610825</Data>
    <Data>System.ServiceModel.ServiceActivationException: An error occurred while duplicating a socket. See inner exception for more information. ---&gt; System.Net.Sockets.SocketException: An invalid argument was supplied
   at System.Net.Sockets.Socket.DuplicateAndClose(Int32 targetProcessId)
   at System.ServiceModel.Channels.SocketConnection.DuplicateAndClose(Int32 targetProcessId)
   at System.ServiceModel.Activation.TcpWorkerProcess.DuplicateConnection(ListenerSessionConnection session)
   --- End of inner exception stack trace ---
   at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
   at System.ServiceModel.Activation.WorkerProcess.EndDispatchSession(IAsyncResult result)</Data>
    <Data>SMSvcHost</Data>
    <Data>2160</Data>
  </EventData>
</Event>
0
4 years ago
#209 Quote
According to MS this is a fix to that problem:

https://support.microsoft.com/en-us/kb/2536618 but there is nothing there...

The issue is that when the SMSvcHost.exe process is duplicated for browser or similar request trying to access the IIS server, the system is given one minute to duplicate the named pipe, or the pipe is deleted and the service rejected, which causes this Event ID 8

Best suggestion is to try deleting and recreating the site or resource so that the pipe properties are recreated also and see if the problem remains.
0