Sponsored Content
Operating Systems Solaris This application is eating up the CPU Post 302084676 by izy100 on Friday 11th of August 2006 10:19:36 PM
Old 08-11-2006
See my reply inline:

If my application is not stressing the CPU , why it consumes 50 % in prstat.
>> Even if it is 100% CPU util, it doesn't mean that you don't have enough CPU resources. You run out of cpu ONLY when there is a queue of runnable processess waiting for CPU time slice. In short, 100% CPU util means the CPU is working hard for your processes (doesn't mean there is not enough).


In all the other servers where I have same application installed it consumes only 5 -10% of CPU. Even in this bad server initially when i start it uses 5-10% of CPU when I start doing some action in the IdM application it rises to 50% and is slower.
>> See my reply above. 50% does not mean much.

The other inhouse applications deployed on the same server work well even if the CPU consumption is 50 %.
>> Exactly. If other application on the same server has no performance problem running, this means you have ample CPU resources on the SAME server.

If javasrvr consume 5-10% , the application works fine as it is in other servers, but when it rises to 50 % the application stops working in this bad server.
>> My guess is there is some performance bug with a particular function that is triggering the workload. You have to talk to the developer of the application and get them to draw some workflow diagram to understand where is the problem.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Hosting Service Eating Space

Dear Group, I am not much used to UNIX. The company I am hosting wiht refuses to help me with this trouble, but as near as I can see, it is NOT my trouble. I have had this service for over a year. I just renewed for another year and all of a sudden the disk quota has been disappearing. I... (3 Replies)
Discussion started by: cindy
3 Replies

2. UNIX for Dummies Questions & Answers

Eating memory

Hello I run Gentoo Linux on my computer: Athlon XP 1700+ ~1,46 mhz 512 mb ram After a while, my computer works really slow, and when I cat /proc/meminfo, I see that I only have 8mb of 512 mb free! How is that possible? I dont run anything I can think of that eats that amount of... (4 Replies)
Discussion started by: Maestin
4 Replies

3. Shell Programming and Scripting

swap space and cpu usage for an application

Hi, How do i get the swap space used and cpu usage for a particular application ? thanks una (2 Replies)
Discussion started by: una
2 Replies

4. AIX

Application high CPU load

after a long period of running, the network application's CPU load in our syst em increase slowly, the failed at the end. we use "truss" tool to trace the process, found that it processes something like "semop" ,"semctl","thread_waitlock","kread" kernel call . The trace log file looks like the... (0 Replies)
Discussion started by: Frank2004
0 Replies

5. What is on Your Mind?

What are you eating ?

Hi, guys ! I was wondering... how many of you are vegetarians ? and why ? (31 Replies)
Discussion started by: Sergiu-IT
31 Replies

6. Programming

Application occupying CPU resources

Dear all, I have a pro c application running in the unix environement. This pro c program actually trigger by a java application from sun workstation. Recently, when we released a new proc c application and notice that the application occupying the CPU resources even through we check that the... (1 Reply)
Discussion started by: ghho
1 Replies

7. Shell Programming and Scripting

[bash] IF is eating my loops

Hi! Could someone explain me why the below code is printing the contents of IF block 5 times instead of 0? #!/bin/bash VAR1="something" VAR2="something" for((i=0;i<10;i++)) do if(($VAR1=~$VAR2)) then echo VAR1: $VAR1 echo... (3 Replies)
Discussion started by: machinogodzilla
3 Replies

8. Programming

C++ application: how to access AIX process and cpu information?

Hi, may be this is an AIX noob question: my current C++ application runs on Linux and is quite memory consuming. Therefore, the application writes a logfile after it has finished containing memory information, CPU information, information on the running other processes besides my application... (0 Replies)
Discussion started by: DarthVader77
0 Replies

9. Shell Programming and Scripting

awk eating too much memory?

Hi all, using AWK iam sorting auniq data from a file the file size is 8GB, while running that script , the over all cpu usage will be nearly 8 how to avoid this ?? any other alternate is available for awk? Thanks in Advance Anish kumar.V (13 Replies)
Discussion started by: anishkumarv
13 Replies

10. AIX

AIX core,cpu and application list

Hi All , I am trying to pull out below things from AIX machine (any type) 1. number of physical processor 2. number of logical processsors 3. Total number of processors (physical plus logical) 4. total number of cores 5. list of installed applications with versions and vendor name ... (1 Reply)
Discussion started by: omkar.jadhav
1 Replies
XtAppAddActionHook(3)                                              XT FUNCTIONS                                              XtAppAddActionHook(3)

NAME
XtAppAddActionHook, XtRemoveActionHook - register an action hook procedure SYNTAX
XtActionHookId XtAppAddActionHook(XtAppContext app_context, XtActionHookProc proc, XtPointer client_data); void XtRemoveActionHook(XtActionHookId id); ARGUMENTS
app_context Specifies the application context. proc Specifies the action hook procedure. num_args Specifies the application-specific data to be passed to the action hook. DESCRIPTION
XtAppAddActionHook adds the specified procedure to the front of a list maintained in the application context. In the future, when an action routine is about to be invoked for any widget in this application context, either through the translation manager or via XtCallActionProc, the action hohok procedures will be called in reverse order of registration jut prior to invoking the action routine. Action hook procedures are removed automatically and the XtActionHookId s destroyed when the application context in which they were added is destroyed. XtRemoveActionHook removes the specified action hook procedure from the list in which it was registered. SEE ALSO
X Toolkit Intrinsics - C Language Interface Xlib - C Language X Interface X Version 11 libXt 1.1.3 XtAppAddActionHook(3)
All times are GMT -4. The time now is 08:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy