Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Max Number of Asynchronous Sockets

Max Number of Asynchronous Sockets

Scheduled Pinned Locked Moved .NET (Core and Framework)
helpcsharpdotnetwindows-adminannouncement
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Subby Dev
    wrote on last edited by
    #1

    Hi, I have developed a windows service which starts multiple processes on a client machine and communicates with those. I use multiple sockets and asynchronous communication. This service may require to start multiple processes and to handle communication with those. But I have seen that when the number of client processes reaches 24 the service starts reporting following error. I am assuming this is related to threadpool because total concurrent threads reach at max (25) after 24 processes including one main thread (24+1). Event Type: Error Event Source: .NET Runtime Event Category: None Event ID: 0 Date: 9/8/2006 Time: 11:05:38 AM User: N/A Description: The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: .NET Runtime version 1.1.4322.573- .NET Framework Initialization Error: C:\WINNT\Microsoft.NET\Framework\v1.1.4322\mscorwks.dll could not be loaded. I have tried setting maximum num of worker threads and IO Completion threads using SetMaxThreads method exposed by ICorThreadPool interface, but no help. Any helping comment much appreciated. Thanks in advance, :)

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups