The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Need help in wrting Load Script for a Load-Resume type of load. ankitgupta Shell Programming and Scripting 1 11-10-2006 12:46 AM
High cpu load average squid04 Red Hat 2 09-27-2006 09:07 AM
HIgh Load jyoti HP-UX 4 05-01-2006 03:31 AM
Sun: High kernel usage & very high load averages lorrainenineill UNIX for Advanced & Expert Users 4 02-06-2006 12:32 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 04-20-2005
Frank2004 Frank2004 is offline
Registered User
  
 

Join Date: Jun 2004
Location: Beijing, China
Posts: 54
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.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:57 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0