04-20-2016 08:34 AM
im polling call manager processes and im finding that for the most part they are in the "Sleeping State" at first I thought that I was matching the wrong code up but then i double/triple checked it against docs and against the counter description in the API.
I want to make sure that this isnt a bug and is normal. its not that i never see other states, i do but most proccesses are sleeping including call manger.
Im assuming that perhaps the threads are active while the master process is sleeping but I wanted to confirm that this isnt a bug in the api/docs.
d
04-20-2016 09:18 AM
I believe this is quite normal, especially for a system not under load. Compare to the CUCM CLI command (i.e. top) for 'show process load':
admin:show process load
top - 09:14:08 up 8 days, 13:40, 1 user, load average: 0.21, 0.16, 0.09
Tasks: 241 total, 1 running, 240 sleeping, 0 stopped, 0 zombie
Cpu(s): 4.8%us, 3.6%sy, 0.0%ni, 91.5%id, 0.0%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 5994176k total, 5871080k used, 123096k free, 243736k buffers
Swap: 2047992k total, 182228k used, 1865764k free, 1988068k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
21231 Administ 30 10 1261m 95m 13m S 27.4 1.6 0:04.41 java
6353 ccmbase 20 0 371m 128m 30m S 2.0 2.2 156:02.04 ccm
10021 ccmservi 20 0 439m 81m 6096 S 2.0 1.4 17:13.01 UserSyncService
10256 ctftp 20 0 646m 53m 6928 S 2.0 0.9 149:54.05 ctftp
13036 root 20 0 34744 4916 2612 S 2.0 0.1 4:50.74 clm
23879 Administ 30 10 15032 1316 896 R 2.0 0.0 0:00.01 top
1 root 20 0 19364 1472 1164 S 0.0 0.0 1:11.58 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root RT 0 0 0 0 S 0.0 0.0 0:14.67 migration/0
4 root 20 0 0 0 0 S 0.0 0.0 1:57.13 ksoftirqd/0
Where the 'S' columns shows 's' for Sleep, for most processes
06-01-2016 03:33 PM
okay thanks...i see the same thing on my linux servers...
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: