1825002 Members
2648 Online
109678 Solutions
New Discussion юеВ

CPU load High

 
SOLVED
Go to solution
sam_25_1
Frequent Advisor

CPU load High

I found the following processes running in the HP-UX 10.20 server

CPUload processes
89.76 diaglogd
8.23 diagmond

What are these processes?
As these processes are utilizing lot of CPU load, I have taken charge of the setup recently so dont know much as of now.

I would be greatful if you'll could help me out

RG
sam
7 REPLIES 7
Pete Randall
Outstanding Contributor
Solution

Re: CPU load High

They are diagnostics daemons. Stop and restart them:

/sbin/init.d/diagnostic stop
/sbin/init.d/diagnostic start


Pete

Pete
sam_25_1
Frequent Advisor

Re: CPU load High

Hi ,
Thanks a lot for your speedy reply.
I sincerely appreciate it.
At the moment diaglogd daemon is showing 93% at this moment. if i stop and start will it affect any other running processes. how could we get it down permanently.

Hope to hear from u soon.

SAM.
Steven E. Protter
Exalted Contributor

Re: CPU load High

Shalom,

This is likely fixed in a patch update. Though your system is out of support, you can get the last bi-annual 10.20 patch from this site:

http://www12.itrc.hp.com/service/patch/mainPage.do

You may need to search and add patches for the diagnostic subsystem in addition.

If possible, I recommend the ftp script method of patch download.

I'd also recommend replacing the system at some point with something that has OS and hardware support.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Pete Randall
Outstanding Contributor

Re: CPU load High

Sam,

No harm in stopping/restarting, at least in my experience. I have seen the exact same circumstances where the diag processes are consuming massive amounts of CPU. Stopping and restarting them restores them to a normal state and their CPU usage also returns to normal.


Pete

Pete
sam_25_1
Frequent Advisor

Re: CPU load High

I stopped and started the diagnostic tool but still %cpu is 96 for the process from top command, what is the consequence of this ?

what is the Dianostic tool used for ?


SAM
Pete Randall
Outstanding Contributor

Re: CPU load High

It monitors hardware state in order to notify you of a problem. Maybe you have an issue with your hardware which is causing diagnostics to run so much. Any yellow lights appearing on your server or its associated hardware? Any messages in syslog? In dmesg output?


Pete

Pete
sam_25_1
Frequent Advisor

Re: CPU load High

Hi Pete,

Thanks a lot for your inputs. I tried the dmesg and got the following message.
DIAGNOSTIC SYSTEM WARNING:
The diagnostic logging facility has started receiving excessive
errors from the I/O subsystem. I/O error entries will be lost
until the cause of the excessive I/O logging is corrected.
If the DEMLOG daemon is not active, use the DIAGSYSTEM command
in SYSDIAG to start it.
If the DEMLOG daemon is active, use the LOGTOOL utility in SYSDIAG
to determine which I/O subsystem is logging excessive errors.

sysmap: rmap ovflo, lost [44586l,44639l)
sysmap: rmap ovflo, lost [44584l,44585l)
sysmap: rmap ovflo, lost [44570l,44571l)
sysmap: rmap ovflo, lost [44567l,44568l)
sysmap: rmap ovflo, lost [44554l,44558l)




The top command displays the follwoing output

System: Wed Feb 6 14:57:06 2008
Load averages: 0.75, 0.96, 1.14
472 processes: 470 sleeping, 2 running
Cpu states:
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 0.70 40.8% 0.0% 37.3% 21.9% 0.0% 0.0% 0.0% 0.0%
1 0.81 25.1% 0.0% 58.8% 16.1% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 0.75 33.0% 0.0% 48.1% 18.9% 0.0% 0.0% 0.0% 0.0%

Memory: 227020K (36584K) real, 253440K (55816K) virtual, 21172K free Page# 1/11

CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
1 rroot 28573 root 218 10 252K 228K run 188:53 99.61 99.43 diaglogd
0 pty/ttyq8 23727 dikunj 148 20 5684K 2472K sleep 0:44 11.71 11.69 _progres
0 rroot 27942 root 154 10 248K 320K sleep 15:52 8.60 8.59 diagmond

This is the output of the syslog command

6 10:38:29 server1 sshd[5024]: Bad protocol version identification 'Big-Brother-Monitor-1.9i' from 172.16.18.98
Feb 6 10:43:32 server1 sshd[6610]: Bad protocol version identification 'Big-Brother-Monitor-1.9i' from 172.16.18.98
Feb 6 10:48:33 sshd[8315]: Bad protocol version identification 'Big-Brother-Monitor-1.9i' from 172.16.18.98
Feb 6 10:53:32 server1 sshd[10502]: Bad protocol version identification 'Big-Brother-Monitor-1.9i' from 172.16.18.98
Feb 6 10:58:30 server1 sshd[13161]: Bad protocol version identification 'Big-Brother-Monitor-1.9i' from 172.16.18.98
Feb 6 11:03:31 server1 sshd[14874]: Bad protocol version identification 'Big-Brother-Monitor-1.9i' from 172.16.18.98
Feb 6 11:08:29 server1 sshd[16978]: Bad protocol version identification 'Big-Brother-Monitor-1.9i' from 172.16.18.98

Please help me out, thanks once again for your speedy reply..