Re: bgplgd(8) handle timeout more gracefully

2022-08-12 Thread Claudio Jeker
On Fri, Aug 12, 2022 at 03:16:36PM +0200, Theo Buehler wrote: > On Fri, Aug 12, 2022 at 12:53:59PM +0200, Claudio Jeker wrote: > > After all this slowcgi timeout fixing, here a similar thing for bgplgd(8). > > If the timeout fires, kill the bgpctl command first with SIGTERM then with > > SIGKILL.

Re: bgplgd(8) handle timeout more gracefully

2022-08-12 Thread Theo Buehler
On Fri, Aug 12, 2022 at 12:53:59PM +0200, Claudio Jeker wrote: > After all this slowcgi timeout fixing, here a similar thing for bgplgd(8). > If the timeout fires, kill the bgpctl command first with SIGTERM then with > SIGKILL. If the kill fails, close and cleanup the connection. > I also reduced

bgplgd(8) handle timeout more gracefully

2022-08-12 Thread Claudio Jeker
After all this slowcgi timeout fixing, here a similar thing for bgplgd(8). If the timeout fires, kill the bgpctl command first with SIGTERM then with SIGKILL. If the kill fails, close and cleanup the connection. I also reduced the timeout to a more reasonable 30sec. Lets see how that goes. This