[ixpmanager] FATAL Error in IRRDB Prefix Update

Barry O'Donovan barry.odonovan at inex.ie
Mon Oct 26 20:10:56 GMT 2020


Hi Shahab,

I'm not sure what we can do here. As Nick has mentioned a couple of 
times, from what you are providing, this does not look like an issue 
with IXP Manager.

Also, this runs fine for me on the command line:

bgpq3 -6 -S 'RIPE' -l pl -j -m 48 'as-af81net'


I can't imagine playing with kernel net parameters is required here either.

At this point here:

https://github.com/inex/IXP-Manager/blob/master/app/Utils/Bgpq3.php#L168

you could add a line that says:

echo "$cmd\n";

and capture the bgpq3 commands as they are run by IXP Manager.

You could then put these into a script and see if they run separately 
without issue outside of IXP Manager.

  - Barry



Shahab Vahabzadeh wrote on 26/10/2020 05:48:
> Dear Nick,
> I am still dealing with this issue, I am getting this error only for 
> customers with more that 2K prefix.
> I think something like timeout :-) because of this cron job is not 
> working totally.
> Can u assist?
> 
> root at members:/srv/ixpmanager# cat /etc/sysctl.conf
> 
> net.ipv4.tcp_window_scaling=1
> 
> net.core.rmem_max=2097152
> 
> net.core.wmem_max=2097152
> 
> net.ipv4.tcp_rmem="4096 87380 2097152"
> 
> net.ipv4.tcp_wmem="4096 65536 2097152"
> 
> 
> root at members:/srv/ixpmanager# php artisan irrdb:update-prefix-db
> 
> FATAL ERROR:select timeout
> 
> 
> In Bgpq3.php line 172:
> 
> Error executing BGPQ3 with: /usr/bin/bgpq3 -6 -S 'RIPE' -l pl -j -m 48 
> 'as-af81net'
> 
> 
> 
> 
> 
> On Wed, Aug 5, 2020 at 9:52 PM Nick Hilliard (INEX) <nick at inex.ie 
> <mailto:nick at inex.ie>> wrote:
> 
>     Hi Shahab,
> 
>     Shahab Vahabzadeh wrote on 02/08/2020 22:34:
>>     No Nick,
>>     Something wrong between PHP and BGPQ3, Look here:
>>
>>     root at members:/srv/ixpmanager# php artisan irrdb:update-prefix-db
>>
>>     ERROR:Invalid source(s) 'RIPE':
>>
> 
>     that's a bgpq3 error.  Something is going wrong when bgpq3 is
>     communicating with whois.radb.net <http://whois.radb.net>.  When I
>     looked at this a couple of days ago, it was giving some transient
>     error.  Are you still seeing a problem here?
> 
>     Nick
> 
>>     In Bgpq3.php line 172:
>>
>>     Error executing BGPQ3 with: /usr/bin/bgpq3 -6 -S 'RIPE' -l pl -j
>>     -m 48 'as-af81net'
>>
>>
>>
>>     root at members:/srv/ixpmanager# /usr/bin/bgpq3 -6 -S 'RIPE' -l pl -j
>>     -m 48 'as-af81net'
>>
>>     { "pl": [
>>
>>     { "prefix": "2001:678:9c8::\/48", "exact": true },
>>
>>     { "prefix": "2001:678:9d4::\/48", "exact": true },
>>
>>     { "prefix": "2001:678:9e0::\/48", "exact": true },
>>
>>     { "prefix": "2001:678:a80::\/48", "exact": true },
>>
>>     { "prefix": "2001:16c0::\/32", "exact": true },
>>
>>     { "prefix": "2001:16c0:2::\/48", "exact": true },
>>
>>     { "prefix": "2001:16c0:50::\/48", "exact": true },
>>
>>     { "prefix": "2001:16c0:1234::\/48", "exact": true },
>>
>>     { "prefix": "2001:4c88::\/32", "exact": true },
>>
>>     { "prefix": "2a00:1ce0::\/32", "exact": true },
>>
>>     { "prefix": "2a00:4000::\/48", "exact": true },
>>
>>     { "prefix": "2a00:6380::\/32", "exact": true },
>>
>>     { "prefix": "2a00:6d60::\/32", "exact": true },
>>
>>     { "prefix": "2a00:7040::\/32", "exact": true },
>>
>>     { "prefix": "2a00:76c0::\/32", "exact": true }
>>
>>
>>
>>
>>     How come? Command is working separately but not working in script,
>>     and everytime it stops executing in one member (Single Source even).
>>
>>     Thanks
>>
>>
>>     On Mon, Aug 3, 2020 at 1:20 AM Nick Hilliard (INEX) <nick at inex.ie
>>     <mailto:nick at inex.ie>> wrote:
>>
>>         Shahab Vahabzadeh wrote on 02/08/2020 18:36:
>>         > FATAL ERROR:select timeout
>>         >
>>         > In Bgpq3.php line 172:
>>         >
>>         > Error executing BGPQ3 with: /usr/bin/bgpq3 -S
>>         'RIPE,RIPE-NONAUTH' -l pl
>>         > -j -m 24 'AS-ASIATECH'
>>
>>         this is definitely a problem with reachability to
>>         whois.radb.net <http://whois.radb.net>. If it
>>         continues, maybe you could check your routing to the IP
>>         address, or
>>         email support at radb.net <mailto:support at radb.net>?
>>
>>         Nick
>>
>>
>>
>>     -- 
>>
>>     Cheers, Shahab
> 
> 
> 
> -- 
> 
> Cheers, Shahab
> 
> 
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> Unsubscribe or change options here: https://www.inex.ie/mailman/listinfo/ixpmanager
> 


-- 

Kind regards,
Barry O'Donovan
INEX Operations

https://www.inex.ie/support/
+353 1 531 3339




More information about the ixpmanager mailing list