Subject: routed eating all the cpu time
To: None <current-users@netbsd.org>
From: Markus Kilbinger <kilbi@rad.rwth-aachen.de>
List: current-users
Date: 05/30/2000 22:48:59
Hi!

I noticed the following (mis)behavior of 'routed' (-current) if an
interface has an alias ip address!?

My config:

# netstat -i
Name  Mtu   Network       Address              Ipkts Ierrs    Opkts Oerrs Colls
ex0   1500  <Link>        00:50:da:62:77:b1    70240     0    29037     0     0
ex0   1500  10.31.2/24    ip-addr-1            70240     0    29037     0     0
ex0   1500  10.31.31/24   ip-addr-2            70240     0    29037     0     0

# ps
  PID TT  STAT      TIME COMMAND
 6050 ??  Rs   186:01.04 /sbin/routed -s 

# top
load averages:  1.06,  1.08,  1.08                         22:43:50
18 processes:  1 runnable, 16 sleeping, 1 on processor
CPU states: 40.0% user,  0.0% nice, 60.0% system,  0.0% interrupt, 0.0% idle
Memory: 5236K Act, 3796K Inact, 3588K Wired, 99M Free, 514M Swap free

  PID USERNAME PRI NICE   SIZE   RES STATE     TIME   WCPU    CPU COMMAND
 6050 root      64    0   320K  296K run     186:54 99.02% 99.02% routed

What is 'routed' doing?

Is this:

- a bug in routed?

- due to an prohibited config of mine?

Markus.