Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

kproc process with 98% CPU 1

Status
Not open for further replies.

cadanir

Programmer
Mar 19, 2003
4
FR
We have a problem with our AIX 4.3.3.0: the system is very slow.
There is a 'kproc' process with 98% CPU time, I want to know if this is a normal situation on AIX ?

Thanks for your help.

'ls gv' give something like this (PID 516 with 98 %CPU):

PID TTY STAT TIME PGIN SIZE RSS LIM TSIZ TRS %CPU %MEM COMMAND
0 - A 0:46 7 12 14932 xx 0 14920 0.0 6.0 swapper
1 - A 0:14 152 636 728 32768 25 36 0.0 0.0 /etc/init
516 - A 8319:56 0 8 14928 xx 0 14920 98.9 6.0 kproc
774 - A 0:03 0 16 14936 xx 0 14920 0.0 6.0 kproc

and the freeware command 'top' :
PID USER PRI NICE SIZE RES STAT TIME CPU% COMMAND
516 root 127 21 8k 14M run 5+18:29 98.5/98.9 Kernel (wait)

Booting will change nothing.
We can't kill the process with PID 516.

How to know to which 'kernel thread' correspond this process ?

Is the '98 %CPU' normal ?

Starting Oracle is very slow. When oracle is started, we try to connect with SqlPlus, the connection is very slow, but when we are connected, sql commands are fast (meaning that the problem is not Oracle). Cobol applications are very slow to start too, but when the program is started, response time become normal.

Thank you for your advice to this problem.
 

The 98% kproc is unfortunately normal since the pSeries processors does have a halt command. Don't worry about that.

If it's slow to connect but fast to operate it's likely a DNS problem. Is your DNS incl. reverse zone working correctly??

Cheers Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
The command is "ps gv"

ps = Shows current status of processes
g = Displays all processes
v = Displays the PGIN, SIZE, RSS, LIM, TSIZ, TRS, %CPU, %MEM fields.


Regards
 
Thank you very much for your help

We effectively have some LAN problems.

We will verify our DNS servers.


 
The kproc is the process the system executes when it is doing nothing, so it is also called the wait-process. You will always find at least on such process per processor, and all these kprocs have unique defined pids. Certainly you cant kill. 98% wait simply means your system is mostly
getting bored..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top