Application high CPU load


 
Thread Tools Search this Thread
Operating Systems AIX Application high CPU load
# 1  
Old 04-20-2005
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 followings:

thread_waitlock(0x20862148) = 0
thread_waitlock(0x20862148) = 0
thread_waitlock(0x20862148) = 0
thread_waitlock(0x20862148) = 0
thread_waitlock(0x20862148) = 0
thread_waitlock(0x20862148) = 0
thread_waitlock(0x20862148) = 0
kread(545661256, 0x00000224, 0) = 8
kread(11, " 015 >18\0\0\0\001\0\0\0".., 552) = 552
thread_twakeup(108837, 1073741824) = 0
= 1073741824
thread_unlock(0xF0A3A384) = 0
= 1
thread_setmystate_fast(0x4000000C, 0x00000000, 0x00000000, 0x00000000, 0x40000000, 0x1001A925, 0x1001A925, 0x060E7A00) = 0x00000000
thread_twakeup(108837, 268435456) = 0
= 268435456
thread_unlock(0xF0A3A384) = 0
= 1
thread_setmystate_fast(0x40000005, 0x00000000, 0x00000000, 0x00000000, 0x40000000, 0x0001A925, 0x00000000, 0x060E7A00) = 0x00000000
sendto(9, 0x201FFE48, 756, 0, 0x2001A3F0, 16) = 756
sendto(9, 0x2001A6D8, 204, 0, 0x2001A3F0, 16) = 204
sendto(9, 0x2001A6D8, 204, 0, 0x2001A3F0, 16) = 204
sendto(9, 0x2001A6D8, 204, 0, 0x2001A3F0, 16) = 204
sendto(9, 0x2001A6D8, 204, 0, 0x2001A3F0, 16) = 204
kread(11, "\0\001 ,\0\0\0 x", 8) = 8
kread(11, "\0\0\0\0\0\0\0\001\0\0\0".., 120) = 120
thread_twakeup(108837, 1073741824) = 0
= 1073741824
thread_unlock(0xF0A3A384) = 0
= 1
thread_setmystate_fast(0x4000000C, 0x00000000, 0x00000000, 0x00000000, 0x40000000, 0x1001A925, 0x1001A925, 0x060E7A00) = 0x00000000
thread_twakeup(108837, 268435456) = 0
= 268435456
thread_unlock(0xF0A3A384) = 0
= 1
thread_setmystate_fast(0x40000005, 0x00000000, 0x00000000, 0x00000000, 0x40000000, 0x0001A925, 0x00000000, 0x060E7A00) = 0x00000000
sendto(9, 0x202000B4, 324, 0, 0x2001A3F0, 16) = 324
sendto(9, 0x2001A6D8, 204, 0, 0x2001A3F0, 16) = 204
sendto(9, 0x2001A6D8, 204, 0, 0x2001A3F0, 16) = 204
sendto(9, 0x2001A6D8, 204, 0, 0x2001A3F0, 16) = 204
sendto(9, 0x2001A6D8, 204, 0, 0x2001A3F0, 16) = 204
kread(11, "\0\001 ,\0\0\0 8", 8) = 8
kread(11, " 0038C\b\0\0\0\007\0\0\0".., 56) = 56
thread_twakeup(108837, 1073741824) = 0
= 1073741824
thread_unlock(0xF0A3A384) = 0
= 1
thread_setmystate_fast(0x4000000C, 0x00000000, 0x00000000, 0x00000000, 0x40000000, 0x1001A925, 0x1001A925, 0x060E7A00) = 0x00000000
thread_twakeup(108837, 268435456) = 0
= 268435456
thread_unlock(0xF0A3A384) = 0
= 1
thread_setmystate_fast(0x40000005, 0x00000000, 0x00000000, 0x00000000, 0x40000000, 0x0001A925, 0x00000000, 0x060E7A00) = 0x00000000
sendto(9, 0x20200320, 260, 0, 0x2001A3F0, 16) = 260
sendto(9, 0x2001A6D8, 204, 0, 0x2001A3F0, 16) = 204
sendto(9, 0x2001A6D8, 204, 0, 0x2001A3F0, 16) = 204
sendto(9, 0x2001A6D8, 204, 0, 0x2001A3F0, 16) = 204
sendto(9, 0x2001A6D8, 204, 0, 0x2001A3F0, 16) = 204
kread(11, "\0\001 ,\0\0\0 8", 8) = 8
kread(11, " 0038F ╘0\0\0\007\0\0\0".., 56) = 56
thread_twakeup(108837, 1073741824) = 0
= 1073741824
thread_unlock(0xF0A3A384) = 0
= 1
thread_setmystate_fast(0x4000000C, 0x00000000, 0x00000000, 0x00000000, 0x40000000, 0x1001A925, 0x1001A925, 0x060E7A00) = 0x00000000
thread_twakeup(108837, 268435456) = 0
= 268435456
thread_unlock(0xF0A3A384) = 0
= 1
thread_setmystate_fast(0x40000005, 0x00000000, 0x00000000, 0x00000000, 0x40000000, 0x0001A925, 0x00000000, 0x060E7A00) = 0x00000000
sendto(9, 0x2020058C, 260, 0, 0x2001A3F0, 16) = 260
sendto(9, 0x2001A6D8, 204, 0, 0x2001A3F0, 16) = 204



The function "sendto" call is our application's routine. Hope for help and some suggestion, thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

I have a 12 core Linux cpu but the load is really high on this box, hovering around 50.

I have a 12 core linux cpu but the load is really high on this box, hovering around 50. What configuration changes do we need to make so that system have no bottleneck. (13 Replies)
Discussion started by: Moon1234
13 Replies

2. Shell Programming and Scripting

Restart debian server if one specific process has more than 10 seconds have high cpu load

Hi, could someone give me an example for a debian server script? I need to check a process if the process has a high cpu load (top). If yes the whole server needs to reboot. Thats it, nothing more. ;) Hope someone could help me. Regards woisch (2 Replies)
Discussion started by: woisch
2 Replies

3. Shell Programming and Scripting

what would a script include to find CPU's %system time high and user time high?

Hi , I am trying to :wall: my head while scripting ..I am really new to this stuff , never did it before :( . how to find cpu's system high time and user time high in a script?? thanks , help would be appreciated ! :) (9 Replies)
Discussion started by: sushwey
9 Replies

4. Red Hat

apache high cpu load on high traffic

i have a Intel Quad Core Xeon X3440 (4 x 2.53GHz, 8MB Cache, Hyper Threaded) with 16gig and 1tb harddrive with a 1gb port and my apache is causing my cpu to go up to 100% on all four cores heres my http.config <IfModule prefork.c> StartServers 10 MinSpareServers 10 MaxSpareServers 15... (4 Replies)
Discussion started by: awww
4 Replies

5. UNIX for Advanced & Expert Users

High availability/Load balancing

Hi folks, (Sorry I don't know what its technology is termed exactly. High Availability OR load balancing) What I'm going to explore is as follows:- For example, on Physical Servers; Server-1 - LAMP, a working server Server-2 - LAMP, for redundancy While Server-1 is working all... (3 Replies)
Discussion started by: satimis
3 Replies

6. UNIX for Advanced & Expert Users

What's a high load for my system?

I'm not sure if this belong in dummies or advanced so I made my best guess. Go easy on me if I get it wrong. I'm trying to determine what a high load for my system is. I run a php/mysql web server with a dedicated host. The host has a Intel Xeon 3110 (Dual Core) processor. Our load seems to... (5 Replies)
Discussion started by: vanguard
5 Replies

7. Red Hat

High cpu load average

Hi Buddies, Thanx for reading my first post... After googling a lot and searching so many forums I am feeling down a bit... Please don't mind my ignorence, and my grammer ... :) My server is running RHEL 2.6.9-5.EL. The cpu load is going higher than roof, almost 100 sometimes. I am... (2 Replies)
Discussion started by: squid04
2 Replies

8. HP-UX

HIgh Load

Hi All. In my production server the load is very high. normally it used to be less than 1,but now it is more than 5. I am new to unix all together. I want to know what is the reason behind high load. and if it is high what is the impact? (4 Replies)
Discussion started by: jyoti
4 Replies

9. UNIX for Advanced & Expert Users

Sun: High kernel usage & very high load averages

Hi, I am seeing very high kernel usage and very high load averages on my system (Although we are not loading much data to our database). Here is the output of top...does anyone know what i should be looking at? Thanks, Lorraine last pid: 13144; load averages: 22.32, 19.81, 16.78 ... (4 Replies)
Discussion started by: lorrainenineill
4 Replies
Login or Register to Ask a Question