[OPEN-ILS-DEV] OpenSRF Router CPU Usage

Adam Ray aray at slcconline.edu
Wed Jul 22 12:39:49 EDT 2009


How does one go about killing all the extraneous router processes? I must not be killing it in the right way. I have stopped everything and here is the result: 

opensrf at evergreen:~$ osrf_ctl.sh -a stop_all 
Stopping OpenSRF C process 2217... 
Stopping OpenSRF C process 2218... 
Stopping OpenSRF C process 2219... 
Stopping OpenSRF C process 2220... 
Stopping OpenSRF C process 2226... 
Stopping OpenSRF C process 2227... 
Stopping OpenSRF Perl 
Stopping OpenSRF Router process 2141... 
/openils/bin/osrf_ctl.sh: line 133: kill: (2141) - No such process 
Stopping OpenSRF Router process 2142... 

top showed: 
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 
2152 opensrf 25 0 3776 824 552 R 100 0.0 1405:27 opensrf_router 
1 root 15 0 1948 660 568 S 0 0.0 0:00.15 init 
2 root RT 0 0 0 0 S 0 0.0 0:00.05 migration/0 
3 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/0 
4 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/0 
5 root 10 -5 0 0 0 S 0 0.0 0:00.00 events/0 
6 root 10 -5 0 0 0 S 0 0.0 0:00.00 khelper 
7 root 10 -5 0 0 0 S 0 0.0 0:00.00 kthread 
9 root 14 -5 0 0 0 S 0 0.0 0:00.00 xenwatch 
10 root 17 -5 0 0 0 S 0 0.0 0:00.01 xenbus 
15 root RT -5 0 0 0 S 0 0.0 0:00.00 migration/1 
16 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/1 
17 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/1 
18 root 10 -5 0 0 0 S 0 0.0 0:00.00 events/1 
19 root RT -5 0 0 0 S 0 0.0 0:00.01 migration/2 
20 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/2 
21 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/2 


Noting that the router didn't stop I ran: 
opensrf at evergreen:~$ killall opensrf_router 

Now top shows: 

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 
1 root 15 0 1948 660 568 S 0 0.0 0:00.15 init 
2 root RT 0 0 0 0 S 0 0.0 0:00.05 migration/0 
3 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/0 
4 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/0 
5 root 10 -5 0 0 0 S 0 0.0 0:00.00 events/0 
6 root 10 -5 0 0 0 S 0 0.0 0:00.00 khelper 
7 root 10 -5 0 0 0 S 0 0.0 0:00.00 kthread 
9 root 14 -5 0 0 0 S 0 0.0 0:00.00 xenwatch 
10 root 10 -5 0 0 0 S 0 0.0 0:00.01 xenbus 
15 root RT -5 0 0 0 S 0 0.0 0:00.00 migration/1 
16 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/1 
17 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/1 
18 root 10 -5 0 0 0 S 0 0.0 0:00.00 events/1 
19 root RT -5 0 0 0 S 0 0.0 0:00.01 migration/2 
20 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/2 
21 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/2 
22 root 10 -5 0 0 0 S 0 0.0 0:00.00 events/2 

So I ran: 
opensrf at evergreen:~$ osrf_ctl.sh -a start_all 
Starting OpenSRF Router 
Starting OpenSRF Perl 
Starting OpenSRF C (host=evergreen.slcc.ad) 

Now top shows: 

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 
11490 opensrf 25 0 3776 820 552 R 100 0.0 0:44.96 opensrf_router 
1 root 15 0 1948 660 568 S 0 0.0 0:00.15 init 
2 root RT 0 0 0 0 S 0 0.0 0:00.05 migration/0 
3 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/0 
4 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/0 
5 root 10 -5 0 0 0 S 0 0.0 0:00.00 events/0 
6 root 10 -5 0 0 0 S 0 0.0 0:00.00 khelper 
7 root 10 -5 0 0 0 S 0 0.0 0:00.00 kthread 
9 root 14 -5 0 0 0 S 0 0.0 0:00.00 xenwatch 
10 root 12 -5 0 0 0 S 0 0.0 0:00.01 xenbus 
15 root RT -5 0 0 0 S 0 0.0 0:00.00 migration/1 
16 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/1 
17 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/1 
18 root 10 -5 0 0 0 S 0 0.0 0:00.00 events/1 
19 root RT -5 0 0 0 S 0 0.0 0:00.01 migration/2 
20 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/2 
21 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/2 


Adam Ray 
SLCC IT Director 
(314) 837-6777 x1250 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20090722/2793cf28/attachment.htm 


More information about the Open-ils-dev mailing list