Jorge_Saafigueroa Absent Member.
Absent Member.
1914 views

/tmp directory destination

orb_<PID>_0 files are being created in the /tmp directory.

Is there a property that I can set the change the destination of this files to another directory of my choice?

 

Thanks

0 Likes
5 Replies
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

RE: /tmp directory destination

Hi Jorge,

Thank you for raising this question. Which version of VisiBroker are you running and on which OS?


Pat
Micro Focus SupportLine
0 Likes
Jorge_Saafigueroa Absent Member.
Absent Member.

RE: /tmp directory destination

VB 8.5 SP4 on RHEL 7.3
0 Likes
Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

RE: /tmp directory destination

Thank you for the version information.

Out of curiosity, why do you wish to change the directory for these (named pipe) files?

It is possible to specify a new “tmp” directory with the following property:

vbroker.orb.liop.local.tmpDir=<New TMP Directory>

However, I would advise caution. Why do you want to do this? Perhaps there is a better solution.


Pat
Micro Focus SupportLine
0 Likes
Jorge_Saafigueroa Absent Member.
Absent Member.

RE: /tmp directory destination

Pat,

Thank you for your quick answer.
We had a request to investigate the possibility of eliminating all use of the /tmp directory within our application and Visisbroker pipe files is one of the last pieces to this exercise.

What are your concerns to advise caution with the use of this property?

Thanks,
Jorge
0 Likes
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

RE: /tmp directory destination

Hi Jorge,

As LIOP is based on shared memory, all CORBA processes wishing to use this approach mush have access to the TMP directory. If a CORBA process does not have access to the new TMP directory, LIOP communication will not be possible.

Additionally, the property "vbroker.orb.liop.local.tmpDir" is applicable to VisiBroker C++ only. It does not apply to VisiBroker Java applications.


Pat
Micro Focus SupportLine
0 Likes
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.