High CPU utilization by a pro*C process


 
Thread Tools Search this Thread
Operating Systems AIX High CPU utilization by a pro*C process
# 1  
Old 03-23-2010
High CPU utilization by a pro*C process

Hi ,
we upgarded our AIX from 5.3 to 6.1 and upgraded our xlc compiler from ver 6.0 to 9.0 .
After this upgrade one of our pro*C program is utilizing around 20% of the CPU. Before upgarde its using only 0.2 %.
when i try to debug using the truss command i got the below error.

Code:
 
$ truss -tkill -p 2937230
kill(1491256, 0)                                Err#1  EPERM
kill(1491256, 0)                                Err#1  EPERM
kill(1491256, 0)                                Err#1  EPERM

Regds
Mugunthan

Last edited by zaxxon; 03-24-2010 at 07:24 AM.. Reason: use code tags please, ty
# 2  
Old 03-24-2010
Can you maybe try explaining what the process is doing? Is it very I/O intensice or very CPU intensive? Is it waiting for user input?
# 3  
Old 03-25-2010
Hi ,
This program is used to print labels. But when we debug using topas the I/O looks good. only CPU utilization is going high.
It is not waiting for any manual inputs.
This process reads messages from MQ and prints the labels. and this program was running fine before we did the upgrade.


Regds
Mugunthan
# 4  
Old 03-28-2010
It may well still be running fine, it could be that the wait for MQ messages is handled differently. Are you experienceing any kind of slow downs in the system with anything else?
# 5  
Old 03-30-2010
Hi ,
Still now we dont have face any slow on the system. Also we dont have any business impact. Only thing is its occupying high CPU utilization.
For the same source code we have two different binaries for this program ( which we are discussing ).
One of the binary running fine without any high cpu utilization issue ( compiled during march 2009 )and the other binary running with high cpu utilization ( Newly compiled ). Both binary size looks different.
Both of them were compiled in teh AIX 6.1 with the xlc compiler version 9.0.0.8

I cant see did we changed any compilation options between these two binaries.

If any one help us to know is there a way to find the compilation option used during compilation ?

Regds
Mugunthan
# 6  
Old 03-31-2010
Not once the file is built, there is no way to see the options used.

Has anything been updated on the development box between March 2009 and now? A Technical Level, a Service pack, an update to MQ? These could all cause a difference in an executable like you describe.
# 7  
Old 03-31-2010
Hi ,
I don't see any changes on teh OSlevel, Service pack, MQ, etc... on the dev box where the compiler is installed.
Only change i can see is there is a upgrade on the xlc runtime level has been changed between these binaries created.

Runtime chaged xlc details :
$ lslpp -la | grep -i xlc
xlC.aix61.rte 10.1.0.0 COMMITTED XL C/C++ Runtime for AIX 6.1
xlC.rte 10.1.0.0 COMMITTED XL C/C++ Runtime

Regds
Mugunthan
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Kswapd high cpu utilization.

Hi, Please suggest how to troubleshoot, kswapd is utilizing high cpu? also wanted to know which parameters are important and needs to be added with sar command for monitoring the performance of Linux (Oracle 5.8 -64 bit Please guide me. I am facing the issue where server is getting... (0 Replies)
Discussion started by: manoj.solaris
0 Replies

2. Red Hat

High CPU Utilization

Hi Experts, I need to understand few basic things regarding top command result from one of the node i have collected: Cpu0 : 4.6%us, 2.0%sy, 0.0%ni, 91.4%id, 1.3%wa, 0.3%hi, 0.3%si, 0.0%st Cpu1 : 0.0%us, 0.3%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu2 : ... (5 Replies)
Discussion started by: mackjack87
5 Replies

3. UNIX for Advanced & Expert Users

[Solved] High CPU utilization

Hi, i am observing few processes taking high CPU and when i got some more detials about them it looks like this PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 9452 xmp 25 0 16736 1224 860 R 100.0 0.0 903:54.18 ffmpeg -i - 9777 xmp 25 0 16736 1224 ... (1 Reply)
Discussion started by: Siddheshk
1 Replies

4. Shell Programming and Scripting

Gzip with high CPU utilization

Hello all, I am very new to unix and trying to solve this problem. I have cluster of 3 nodes. when I run TOP command on each server, I see a two GZIP processess with very high CPU utilization even,if I don't go backups or unzipping. Can somebody tell me what is the problem, I don't want... (1 Reply)
Discussion started by: nnani
1 Replies

5. UNIX for Advanced & Expert Users

high cpu utilization

good morning. just wanted to ask if there's a way to check what causes the high cpu utilization of a server for the past 2 months? My jffnms report resulted to high utilization for a specific server last month. is there a way to check via a command line? thanks (9 Replies)
Discussion started by: lhareigh890
9 Replies

6. Shell Programming and Scripting

script to check high cpu utilization for java process

Hello Team, I need help in preparing script to check for high cpu utilisation for java process. I have many java process on my system which consumes high cpu so i have to monitor it using script. ---------- Post updated 12-10-10 at 02:21 AM ---------- Previous update was 12-09-10 at... (1 Reply)
Discussion started by: coolguyamy
1 Replies

7. Solaris

vsh is high - cpu utilization

Hi, I am working on a solaris app processor and the vsh goes high from time to time. I have executed various ps commands and switches and have found that it looks like the rlogind daemon is terminating vsh and not cleaning up after itself. There are also something like 10 zombies hanging around... (2 Replies)
Discussion started by: troystevens
2 Replies

8. Shell Programming and Scripting

High CPU Utilization of the script

There is a script which processes the incoming files from a particular directory and sleeps if it doesnt find any. Currently, i have been told that eventhough there are no files to process, the CPU utilization is very high. An independent evaluation by advisory specialist has found this script does... (2 Replies)
Discussion started by: nandu
2 Replies

9. AIX

High CPU utilization

Hi am facing high cpu utilization on my sybase server. I have P550 Number Of Processors: 4 Processor Clock Speed: 1656 MHz CPU Type: 64-bit Kernel Type: 32-bit LPAR Info: 1 65-D837E Memory Size: 7840 MB in topas it shows Name PID CPU% PgSp Owner dataserv 565264 ... (1 Reply)
Discussion started by: vjm
1 Replies

10. Solaris

High CPU Utilization

Good morning, I need some help figuring out what's eating up my cpu. My application can't get enough cpu to do its job. this is a sunfire V440 2CPU's at 1/593 GHZ with 8GB of memory. In the morning hours the box is at less than 3%. I can't figure out what else is using the CPU. We use foglight and... (2 Replies)
Discussion started by: bbouhaik
2 Replies
Login or Register to Ask a Question