Hello,Not entirely sure if I am posting in the correct forum so please forgive me if I didn't.My company uses Microsoft Telnet on Windows Server 2008 R2 to run a packing application. We often run into the 'no more connections allowed to telnet server' error. The max connections parameter is set to 240, and we never seem to hit 240 beforewe hit this wall.It looks like there are always conhost.exe processes that hang open and do not close by themselves. How can we solve this?We have a program that manages the connections and only allows 4 at the telnet login at once (per the MS design). The packing application runs after getting past the MS telnet login.
It also terminates the connections after a period of inactivity, but theseconhost.exe processes get stuck sometimes.Thanks for any help. Hi TJ Satterly,Each telnet session creates a new process under non-interactive desktop heap. We see that with on the following article:Desktop Heap OverviewDesktop Heap, part 2can refer the following simple configuration to increase the desktop heap.Steps to increase the non-interactive desktop heap:-1.
Open regedit.msc2. Browse to following HKEYLOCALMACHINESYSTEMCurrentControlSetControlSession ManagerSubSystems3.
Double click, String value “Windows” and Search for ObjectDirectory=Windows SharedSection=1024. Change the 3rd value from 768 to 4096. Reboot the server and test the telnet sessionsI’m glad to be of help to you! Hi TJ Satterly,Each telnet session creates a new process under non-interactive desktop heap.
We see that with on the following article:Desktop Heap OverviewDesktop Heap, part 2can refer the following simple configuration to increase the desktop heap.Steps to increase the non-interactive desktop heap:-1. Open regedit.msc2. Browse to following HKEYLOCALMACHINESYSTEMCurrentControlSetControlSession ManagerSubSystems3.
Double click, String value “Windows” and Search for ObjectDirectory=Windows SharedSection=1024. Change the 3rd value from 768 to 4096. Reboot the server and test the telnet sessionsI’m glad to be of help to you!