[quagga-dev 6428] Re: ospfd 99.11 problems cleaning up routes on termination

Laverdiere,Phil Phil_Laverdiere at securecomputing.com
Thu Feb 19 15:12:32 GMT 2009


I am not talking about a crash.  ospfd has a sigterm function that catches
the terminate signal and attempts to do a "clean" shutdown.  Its just not so
clean.

Phil

-----Original Message-----
From: Jeremy Jackson [mailto:jerj at coplanar.net] 
Sent: Wednesday, February 18, 2009 7:23 PM
To: Laverdiere,Phil
Subject: Re: [quagga-dev 6427] ospfd 99.11 problems cleaning up routes on
termination

On Wed, 2009-02-18 at 18:11 -0600, Laverdiere,Phil wrote:
> I am seeing that ospfd is failing to delete all of its routes when I 
> send it a sigterm.

I think that's a known issue, zebra should really track what daemon made
each route, and if connection to it drops, delete them.


> I have about 1240 routes created by ospfd, and it leaves about 300 int 
> the route table.
> 
> From traces, it shows that ospfd is trying to send route deletes to 
> zebra, but the last 300 don't make it.

You can't count on a "clean" crash where the daemon cleans up after itsself.

--
Jeremy Jackson
Coplanar Networks
(519)489-4903
http://www.coplanar.net
jerj at coplanar.net




More information about the Quagga-dev mailing list