I have an HP-UX system running HP-UX B.11.31 U ia64 1161301486 and it has a weird process called "svhptdaemon" that's using 100% of the CPU. Anyon knows what this process is? I've tried googling the answer but even Google doesn't know
CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
1 ? 28 root 152 20 72K 64K run 23992:09 100.40 100.23 svhptdaemon
Thanks but it doesn't really help. Such a weird process. I cannot stand HP-UX.
I can't kill this process either. Kill nor Kill -9 options work. If I run which svhptdaemon - no entries. Rebooting the server, the process starts up again. Must find it!
That explains why it cannot be killed.
While I have never met a svhptdaemon myself on HP-UX 11.31. Maybe it is associated with a certain function.
The kernel processes have PID 0. Can be listed with
pgrep -l -P 0
or
ps -ef | awk '$3==0'
Is there high %sys in sar 1 100 or vmstat 1 ?
Are there kernel messages in /var/adm/syslog/syslog.log ?
How do you attribute the 50% sys usage to that one process? That is for all processes is it not? BTW - when ANY process runs it spends time in kernel code (sys) when invoking a syscall, .e.g. open(). That means vmstat and sar would normally show a summed % sys for all processes system wide.
Doesn't mean that the daemon is or is not using most of that %.
Using tools such as lsof or truss , if you have them installed.
truss -rall -wall -p PID
Examine the calls, perhaps some file is missing and program runs continuously in loops or similar issues (could explain the large %sys usage)
Also issue a find to perhaps to locate from which script is that spawned as rbatte suggested.
Something in the line of :
find /sbin/init.d -type f -exec egrep "svhptdaemon|svhpt" {} /dev/null \;
If you get a match, examine that script for possibility to disable that and what that is actually.
Perhaps i can offer more assistance in couple of days when i get to hpux box.
Unfortunately I don't have lsof nor truss installed on this box.
I issued the find command but it came back with no results.
---------- Post updated at 04:04 PM ---------- Previous update was at 03:57 PM ----------
I decided to run find on the entire / fs. This came up, not sure what to make of it. This came from a file in the /tmp directory. /tmp/toolset/spin.0509
Running Threads (TSRUNPROC) and idle Processors
===============================================
TICKS TICKS I TICKS
SINCE SINCE C SINCE NREADY
TID PID PPID RUN IDLE PRI SPU STATE S MIGR FR LO AL COMMAND
------- ----- ----- --------- --------- ---- --- ----- - --------- -- -- -- -------
9822392 9922 9804 0 414 231 0 SYS ? 1104611 7 0 -- crashinfo
Processor #0
TICKS TICKS I TICKS
SINCE SINCE C SINCE NREADY
TID PID PPID RUN IDLE PRI SPU STATE S MIGR FR LO AL COMMAND
------- ----- ----- --------- --------- ---- --- ----- - --------- -- -- -- -------
57 28 0 425067099 425067099 152 1 SYS ? 425067116 0 7 -- svhptdaemon
I can only guess that shptdaemon belongs to some clustering software.
And it is certainly misbehaving.
Please contact HPE support! Or Oracle if you run the Oracle RAC software.