I am working in C,C++ Telecom Provisioning application which is running in LINUX Red Hat Server. My application is running with several process like scmng,scspf, etc..
We have Log level setting for each process like 0,5,10,20.
If I set the FLOW level as 0, then it will not print any log info in log file.
If I set the FLOW level as 10, then it will just print only log info in log file.
If I set the FLOW level as 20, then it will print log plus time stamp in log file.
The issue is, one of the above process "scspf"(It is child process having 40 process) is utilizing the CPU as 100% when ever we set the FLOW level as 20.
If we set flow level to 0, then the CPU Utilization is 3 to 10 percent only.
In IBM AIX, it is not utilizing the CPU as 100% whenever we set the FLOW log as 20.
Please advice what is the root cause of this issue in Red Hat Server and how to rectify.