Process States - Cisco CRS-1 - Carrier Routing System Router Troubleshooting Manual

Ios xr troubleshooting guide
Hide thumbs Also See for CRS-1 - Carrier Routing System Router:
Table of Contents

Advertisement

Process States

Process restart is typically used as the first level of failure recovery. If the checkpointed data is not
corrupted, the crashed process can recover after it is restarted. If multiple restarts of a mandatory process
fail or if peer processes cannot recover from a crashed process restart the standby card becomes active.
For a non-mandatory process, if the number of respawns per minute is reached then the sysmgr stops to
restart the process and the application has to be restarted manually.
Each process not triggered by configuration is, by default, started as 'mandatory' (critical for router to
function) process. If a mandatory process crashes five times within a five minute window, an RP
switchover is triggered if the standby RP is ready. The show processes all command lists all processes
and process state including mandatory flag. The mandatory flag can be switched OFF. The process
mandatory {on | off} {executable-name | job-id} [location node-id] command is used to switch on and
off the mandatory flag.
Process States
Within the Cisco IOS XR software there are servers that provide the services and clients that use the
services. A specific process can have a number of threads that provide the same service. Another process
can have a number of clients that may require a specific service at any point in time. Access to the servers
is not always available, and if a client requests access to a service it will wait for the server to be free.
When this happens the client is blocked. The client may be blocked because its waiting for a resource
such as a mutex or it may be blocked because the server has not replied.
In the following example, the show process ospf command is used to check the status of the threads in
the ospf process.
RP/0/RP0/CPU0:router# show processes ospf
Max. spawns per minute: 12
JID
272
272
272
272
272
272
272
-------------------------------------------------------------------------------
Cisco IOS XR Troubleshooting Guide for the Cisco CRS-1 Router
8-180
Job Id: 250
PID: 299228
Executable path: /disk0/hfr-rout-3.4.0/bin/ospf
Instance #: 1
Version ID: 00.00.0000
Respawn: ON
Respawn count: 1
Last started: Wed Nov
Process state: Run
Package state: Normal
Started on config: cfg/gl/ipv4-ospf/proc/100/ord_f/default/ord_a/routerid
core: TEXT SHAREDMEM MAINMEM
Max. core: 0
Placement: ON
startup_path: /pkg/startup/ospf.startup
Ready: 3.356s
Available: 7.363s
Process cpu time: 2.648 user, 0.186 kernel, 2.834 total
TID
Stack pri state
1
60K
10 Receive
2
60K
10 Receive
3
60K
10 Receive
4
60K
10 Receive
5
60K
10 Receive
6
60K
10 Condvar
7
60K
10 Receive
Chapter 8
8 15:45:59 2006
HR:MM:SS:MSEC NAME
0:00:00:0563 ospf
0:00:00:0017 ospf
0:00:00:0035 ospf
0:00:02:0029 ospf
0:00:00:0003 ospf
0:00:00:0001 ospf
0:00:00:0000 ospf
Process Monitoring and Troubleshooting
OL-21483-02

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents