KBI 220069 Job Stays In Pending State On J1 Screen

Version

All

Date

18 Nov 1999

Summary

User submits a job and it stays in Pending state.

Technical Background

When a process is created desktop heap spaced is needed.

When the desktop heap is corrupted or exhausted, the CreateProcess API and the CreateProcessAsUser API can hang without warning.

Any Argent or third-party product can be affected.

The desktop heap size is determined at boot time by registry entry:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\SubSystems\Windows

Note carefully the blank in ‘Session Manager’ leaf

The value of this entry is typically:

%SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows SharedSection=1024,3072,3072 Windows=On SubSystemType=Windows ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off MaxRequestThreads=16

The important part is ‘SharedSession’. Argent recommends a setting of 1024,3072,3072.

If the production schedule allows, it needs the system to reboot after editing this registry entry.

Resolution

This is a Microsoft issue and not an Argent issue