> Dennis also mentioned a registry tweak.  I'm guessing that 
> possibly this is contained in the tech tip that Steve posted. 

I didn't catch the nature of the errors, but the registry tweak may have to do with 
the Windows SharedSection parameter that relates to telnet service.  

Users that connect via telnet attach to a non-interactive desktop in Windows.  Each 
user requires some desktop heap -- a finite resource.  You can set the amount of 
desktop heap allocated to non-interactive desktop by tweaking the SharedSection 
parameter for Windows.  

The Windows SharedSection parameter is found in the registry at 
"HKEY_LOCAL_MACHINE/System/CurentControlSet/Control/SessionManager/SubSystem/Windows" 

The DWORD value for the Windows key will look something like this: 
"%SystemRoot%\system32\csrss.exe ObjectDirectory= \Windows SharedSection=1024,3072,512 
Windows=On SubSystemType=Windows 
ServerDll=basesrv,1ServerDll=winsrv:UserServerDllInitializat 
ion,3ServerDll=winsrv:ConServerDllInitialization,2 
ProfileControl=OffMaxRequestThreads=16" 

The SharedSection xxxx,yyyy,zzzz string is the parameter of interest.  The values of 
xxxx, yyyy, and zzzz are defined as follows:

xxxx is the size of the system heap in kbytes 

yyyy - is the size of the interactive desktop heap in kbytes -- that is, each desktop 
that is created is allocated an amount of yyyy kbytes of heap space.

zzzz - is the size of the non-interactive desktop heap in kbytes -- again, each 
non-interactive desktop that is created is allocated an amount of zzzz kbytes of heap 
space.

The non-interactive heap setting -- zzzz -- is the one that affect telnet. The default 
setting of zzzz when the OS is installed is blank.  The default value when zzzz is 
blank is 3072.

Note, on a system-wide basis there is a finite limit of 48MB of shared heap space.  

When B/E is installed, the value of zzzz is set to 512.  This reduces the size of the 
heap for each non-interactive desktop that is created -- including the non-interactive 
desktop used by the UV Telnet service.  The smaller the heap space of the 
non-interactive desktop for the UV telnet service, the fewer the number of connections 
that the service will support.

I would expect that if limited heap space is causing the errors in the registry, you 
would also be having some problems getting users connected, or having users abnormally 
disconnected.

If this is the case, you might increase the size of the heap space allocated to 
non-interactive desktops (zzzz) to a value of 1024.  You will need to reboot the 
system after making the change in order for them to be effective.

Note, because there is a finite limit of system-wide heap space, increasing the values 
of yyyy and zzzz can cause other problems (such are some services not starting).  How 
much system-wide heap space that is used is determined by the applications that create 
desktops and the size of those desktop.  Typically, non-interactive desktops are 
created by services and an interactive desktop created for the console user.

Note, the finite heap space limit of 48MB is a BIG reason why it is difficult to 
achieve high levels of user scalability for "terminal server-like" applications (such 
as some of the green screen software that runs on Universe and jBASE) on Windows 
servers.

Tom Firl
Columbia Ultimate


--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

Reply via email to