Applications fail to start randomly on Windows platforms.

Applications fail to start randomly on Windows platforms.

book

Article ID: KB0087363

calendar_today

Updated On:

Products Versions
TIBCO Administrator -
Not Applicable -

Description

Resolution:
Description:
========
On Windows platforms, some applications may fail to start from the Admin GUI if there are large amount of instances deployed on a single Windows machine. The instances which fail to start are random. It is not always the same instances which will not start. No problem is seen when starting these instances from the command line. No error or exception appear in the tsm.log.


Environment:
=========
All Windows


Cause:
=====
This behavior may appear when running out of Windows desktop heap.

On Microsoft Windows operating systems, the desktop heap is reserved for interactive Windows stations and non-interactive Windows stations. An active Windows station would be a graphical user interface that a user is running on the desktop. A non-interactive station is a process that is running without a graphical user interface. This is for all Windows-based applications that are running on a Windows system. The desktop heap is used for all objects (windows, icons, menus, etc....).

Some more information about Windows desktop heap:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;184802
http://blogs.msdn.com/b/ntdebugging/archive/2007/01/04/desktop-heap-overview.aspx
http://www-01.ibm.com/support/docview.wss?uid=swg21142584


Resolution:
=======
1). Start the applications from the command line.

2). Start the Hawk agent from the command line instead of as a Windows service.

3). Modify the “Log on” account in the property dialog of the TRA Hawk Agent service so that the TRA Hawk Agent service will not be started using the SYSTEM account.

4). Increase the desktop heap of the "Default" desktop in the noninteractive service Windows station.

Open windows registry item HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\SubSystems\Windows, increase the third value of SharedSection (for example, from “1024,3072,512” to “1024,3072,1024”), then reboot the machine.

NOTE: Backup the registry.

Issue/Introduction

Applications fail to start randomly on Windows platforms.