Operating System - HP-UX
1752807 Members
5804 Online
108789 Solutions
New Discussion

Re: STM processes consuming most of the CPU

 
shikhar_1
Regular Advisor

STM processes consuming most of the CPU

Hi All,

 

  ?   24724 root     154 20 12088K   308K sleep  743:43  0.72  0.72 stm
  ?   20499 root     154 20 12088K   300K sleep  670:59  0.72  0.72 stm
  ?   19969 root     154 20 12088K   300K sleep  595:17  0.72  0.71 stm
  ?    5244 root     154 20 12104K   300K sleep  634:16  0.71  0.71 stm
  ?   16423 root     154 20 12088K   316K sleep  126:01  0.71  0.71 stm
  ?   10498 root     154 20 12088K   300K sleep  296:32  0.71  0.71 stm
  ?   13970 root     154 20 12088K   300K sleep  709:47  0.71  0.71 stm
  ?   16737 root     154 20 12088K   300K sleep  530:13  0.71  0.71 stm
  ?   13801 root     154 20 12088K   464K sleep   35:05  0.70  0.70 stm
  ?   19361 root     154 20 12088K   300K sleep  602:16  0.70  0.70 stm
  ?   12349 root     154 20 12088K   300K sleep  763:35  0.70  0.70 stm
  ?   22400 root     154 20 12088K   320K sleep   61:44  0.70  0.70 stm
  ?   14705 root     154 20 12088K   300K sleep  714:42  0.70  0.70 stm
  ?   12006 root     154 20 12088K   316K sleep  418:08  0.69  0.69 stm
  ?   12135 root     154 20 12088K   300K sleep  335:51  0.69  0.69 stm
  ?   10863 root     154 20 11400K   208K sleep  389:03  0.69  0.69 stm
  ?    9692 root     154 20 12088K   316K sleep  503:57  0.69  0.69 stm
  ?    3900 root     154 20 12088K   316K sleep  105:41  0.68  0.68 stm
  ?    6532 root     154 20 12088K   300K sleep  429:39  0.68  0.68 stm
  ?   11606 root     154 20 12088K   300K sleep  459:36  0.68  0.68 stm
  ?   16928 root     154 20 12088K   300K sleep  487:14  0.68  0.68 stm
  ?    9258 root     154 20 12088K   300K sleep  648:22  0.68  0.68 stm
  ?   17177 root     154 20 12088K   768K sleep   14:36  0.68  0.68 stm
  ?   26999 root     154 20 12088K   316K sleep  235:02  0.68  0.68 stm
  ?   11918 root     154 20 12088K   316K sleep  393:37  0.68  0.68 stm
  ?   12103 root     154 20 12088K   316K sleep  560:09  0.68  0.68 stm
  ?   20604 root     154 20 12088K   288K sleep  686:08  0.68  0.68 stm
  ?   24572 root     154 20 12088K   316K sleep  585:34  0.68  0.67 stm
  ?    1800 root     154 20 12088K   316K sleep  120:42  0.67  0.66 stm
  ?    5476 root     154 20 12088K   300K sleep  647:35  0.66  0.66 stm

 

There are lots of stm processes running on the server which is consuming most of the cpu.

Anyone please let us know whats the issue with this? Why so many stm processes are running? How can we remediate this isue?

 

# ps -ef | grep diag
    root 25824 14342  0 07:45:38 pts/2     0:00 grep diag
    root 24918 10494  0 07:43:38 ?         0:00 /usr/sbin/stm/uut/bin/sys/diagmond
    root 24645 10494  0 07:42:31 ?         0:00 /usr/sbin/stm/uut/bin/sys/diagmond
    root 10494     1  0  Dec 17  ?        10:51 /usr/sbin/stm/uut/bin/sys/diagmond
    root 10738 10494  0  Dec 17  ?         1:57 diaglogd


5 REPLIES 5
Torsten.
Acclaimed Contributor

Re: STM processes consuming most of the CPU

It could be a problem of an older diagnostics version.

 

What version do you run???

 

Meanwhile try to restart the diagmond daemon.


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
shikhar_1
Regular Advisor

Re: STM processes consuming most of the CPU

restarted the diag. But no luck. Still lots of stm processes are running on the server.

Matti_Kurkela
Honored Contributor

Re: STM processes consuming most of the CPU

Some enterprise monitoring software might be running STM to try and check the health status of the hardware.

 

I know at least reasonably recent versions of the Hardware Sentry KM for BMC Patrol monitoring system can do this.

 

My guess would be that whatever process is starting the STM is not getting the answers it's looking for before it times out, leaving an extra process running.

 

Run "ps -ef |grep stm" and look for stm processes with a parent process ID (PPID) of something other than 1. What is the name of that parent process?

MK
Torsten.
Acclaimed Contributor

Re: STM processes consuming most of the CPU

And again, what version is running?

(start cstm end exit again, note down the version or use swlist)

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Patrick Wallek
Honored Contributor

Re: STM processes consuming most of the CPU

In the mean time I would go ahead and kill those STM processes.  Once they are all gone you may be able to troubleshoot what is starting them a little easier.