Bug 53530 - check_default_route () very slow on machines with many routes
Summary: check_default_route () very slow on machines with many routes
Status: CLOSED DUPLICATE of bug 66263
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts   
(Show other bugs)
Version: 7.1
Hardware: All Linux
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
Depends On:
TreeView+ depends on / blocked
Reported: 2001-09-10 23:25 UTC by Dan Hollis
Modified: 2014-03-17 02:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-21 18:48:08 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Dan Hollis 2001-09-10 23:25:38 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.9 i586; Nav)

Description of problem:
On redhat 7.1 systems configured as bgp routers, check_default_route() in
/etc/sysconfig/network-scripts/network-functions can take upwards of 5-10
minutes to execute... (think on the order of 150,000 routes...)

The obvious solution is to make check_default_route () use 'ip ro list
match' or something similar instead of the extremely slow and
costly piping 'route -n' into gawk.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. install redhat 7.1
2. setup zebra as a bgp peer and get 150,000 routes from another bgp peer
3. try to shutdown the box with ctrl-alt-del, go get some coffee because
its going to be a long wait... :-(

Additional info:

Comment 1 Terje Bless 2003-10-04 14:25:59 UTC
Isn't this a duplicate of Bug #66263 (which has been "CLOSED RAWHDE")?

Comment 2 Bill Nottingham 2003-10-06 05:34:43 UTC

*** This bug has been marked as a duplicate of 66263 ***

Comment 3 Red Hat Bugzilla 2006-02-21 18:48:08 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

Note You need to log in before you can comment on or make changes to this bug.