Run external script after accepting BGP update or withdraw

Vincent Bernat bernat at luffy.cx
Sun Jul 20 14:07:12 CEST 2014


 ❦ 20 juillet 2014 12:00 GMT, "Lauro, John" <jlauro at umflint.edu> :

>> At least, it should make your life easier by handling one route at a
>> time without locking. In the first example, parallel execution of such a
>> script would lead to a mangled log file.
>
> Actually, on any modern system append mode guarantees not to corrupt
> from parallel execution as long you are only adding a single whole
> line at time, and the file is not on a NFS mount.

Good to know. I suppose this is not a whole line but less than X bytes
(likely 4096).
-- 
panic("Oh boy, that early out of memory?");
	2.2.16 /usr/src/linux/arch/mips/mm/init.c



More information about the Bird-users mailing list