How many files/file descriptors(FD) are opened by the BWEngine?
book
Article ID: KB0093728
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks
-
Not Applicable
-
Description
Resolution:
The number of FDs used by the BW engine will vary depending on the OS. Even if the engine is doing nothing it will load all resources from the CLASSPATH and LIBRARY PATH of the .tra file, which is around 500 files if used with the default and non-modified bwengine.tra.
If you can do a test on your Windows or Linux machine with a very simple test case containing one process definition (OnStartup->End) with the default bwengine.tra file by starting the project from the command line (bwengine <Project Path>) in both Windows and Linux. Check the total number of open files. You will be able to see that the count is around 500.
Depending on the classpath in the tra file (i.e. whether external third party JARs are included in the classpath) and what the application is doing (i.e. create TCP sockets etc.), the number of open files by the bwengine can vary and we cannot provide an estimate on the same.
Issue/Introduction
How many files/file descriptors(FD) are opened by the BWEngine?