Memory Issue when creating Process

Memory Issue when creating Process

Summary

Problem creating process with itadmin

Crash in call to IT_get_group_name_impl

Character limit on user group information

Environment

Orbix 6.3.x, supported Unix platforms

Question/Problem Description

Under certain circumstances, "itadmin process create" calls fail due to memory issues, when obtaining a user's group information. This article describes the cause of this problem and how to resolve it.

Error Message

The stack trace for the crashing thread will contain a call to "IT_get_group_name_impl".

Cause

On Unix platforms, when registering a new process (for example, using "itadmin process create"), Orbix obtains some information on the process’ user, including information on the user’s group.

As part of this, Orbix allocates a buffer of 1024 characters to store various fields in the group structure (For example, the group name, group password and group members).

Should those various fields in the group structure contain more than 1024 characters, the itadmin command will fail.

Workaround

This issue is avoided, if the group's information requires less than 1024 characters.

To determine how many characters are in a group structure’s fields, please check that groups’ entry in the "/etc/group" file.

Tags (1)

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2018-03-29 14:13
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.