Using OLE based components

There are reports that OLE-based components (for example, ADO components) can leak Windows handles when used in an ISAPI application. The leaked handles have been observed to be Windows USER objects.

To avoid this behavior, set the AsyncMode to true in the uniGUI ISAPI application.

How to set AsyncMode

You can set AsyncMode in ServerModule -> ISAPIOptions:

clip0103

Detecting USER object leaks

Not all OLE components will cause such leaks. You can detect leaks by monitoring the Server Control Panel for a steady increase in USER objects regardless of the number of sessions:

clip0173

If you observe a persistent increase in USER objects over time, this can indicate a handle leak in your application.

Resolution

If a handle leak is detected, set AsyncMode to True to resolve the issue.