[ixpmanager] Route server not reflecting prefixes.
Sam Malyon
Sam at commsphere.com.au
Thu Apr 16 15:04:34 IST 2020
Hey Barry,
Pretty much right on the money.
[2020-04-16 13:40:10] production.ERROR: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4194312 bytes) {"userId":1,"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalErrorException(code: 1): Allowed memory size of 134217728 bytes exhausted (tried to allocate 4194312 bytes) at /srv/ixpmanager/vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/ScalarHydrator.php:52)
It’s a large server running this site so It got a little more to futureproof for a bit.
The RS's updated correctly, but we are still not receiving any routes on one of our private routers.. So there must be another issue at play here.
Any other ideas?
-Sam
-----Original Message-----
From: Barry O'Donovan <barry.odonovan at inex.ie>
Sent: Thursday, 16 April 2020 11:41 PM
To: INEX IXP Manager Users Mailing List <ixpmanager at inex.ie>; Sam Malyon <Sam at commsphere.com.au>
Cc: Nick Hilliard (INEX) <nick at inex.ie>
Subject: Re: [ixpmanager] Route server not reflecting prefixes.
Sam,
this is going to be a memory issue. Once you add AS6939 into the mix, you end up with ~1million prefixes.
You need to find which php.ini is being used by your webserver:
In IXP Manager, left hand menu, click 'PHP Info' under IXP UTILITIES at the bottom.
In the first box, you'll have something like:
Loaded Configuration File /etc/php/7.3/apache2/php.ini
Set memory limit to:
; Maximum amount of memory a script may consume (128MB) ; http://php.net/memory-limit memory_limit = 2G
And then restart Apache2 (or php-fpm if using Nginx).
- Barry
Sam Malyon wrote on 16/04/2020 14:27:
> Hey Nick,
>
> I got it getting the prefixes down correctly now from IRRDB, but when it tries to create the config to hand off to the routers, it just says error 500 and stops working after 30 seconds.
>
> Hurricane Electric: [IPv4: 619894 total; 0 stale; 619885 new; DB
> updated] [IPv6: 214641 total; 0 stale; 214640 new; DB updated] Valve
> Corporation: [IPv4: 64 total; 0 stale; 0 new; DB updated] [IPv6: 290
> total; 0 stale; 0 new; DB updated]
>
> -Sam
>
>
> -----Original Message-----
> From: ixpmanager <ixpmanager-bounces at inex.ie> On Behalf Of Sam Malyon
> Sent: Thursday, 16 April 2020 10:27 PM
> To: Nick Hilliard (INEX) <nick at inex.ie>; INEX IXP Manager Users
> Mailing List <ixpmanager at inex.ie>
> Subject: Re: [ixpmanager] Route server not reflecting prefixes.
>
> Hey Nick,
>
> I set that up, which it already was, just needed to be seeded etc. and I got the below, is that correct the correct response I should be getting??
> I don't believe HE or Valve should have any problems here, and I'm not getting any prefixes. And it seems the IRRDB update says there are no prefixes.
>
> Both CIX networks are internal (one RS and the other unused at the
> moment.)
>
> samuel at portal:/srv/ixpmanager$ sudo php artisan irrdb:update-prefix-db CIX-AUS Route Servers: [IPv4: 0 total; 0 stale; 0 new; DB updated] [IPv6: 0 total; 0 stale; 0 new; DB updated]
> Customer not a RS client or IRRDB filtered. Prefixes, if any, wiped from database.
> CommSphere: [IPv4: 0 total; 0 stale; 0 new; DB not updated] [IPv6: 0
> total; 0 stale; 0 new; DB not updated]
> CIX: [IPv4: 0 total; 0 stale; 0 new; DB updated] [IPv6: 0 total; 0 stale; 0 new; DB updated]
> Customer not a RS client or IRRDB filtered. Prefixes, if any, wiped from database.
> Hurricane Electric: [IPv4: 0 total; 0 stale; 0 new; DB not updated]
> [IPv6: 0 total; 0 stale; 0 new; DB not updated] Valve Corporation:
> [IPv4: 0 total; 0 stale; 0 new; DB not updated] [IPv6: 0 total; 0
> stale; 0 new; DB not updated]
>
> -Sam
>
>
> -----Original Message-----
> From: Nick Hilliard (INEX) <nick at inex.ie>
> Sent: Thursday, 16 April 2020 9:40 PM
> To: INEX IXP Manager Users Mailing List <ixpmanager at inex.ie>; Sam
> Malyon <Sam at commsphere.com.au>
> Subject: Re: [ixpmanager] Route server not reflecting prefixes.
>
> Sam Malyon wrote on 16/04/2020 12:30:
>> So we have 3 peers on one of the route servers testing it and it
>> accepts routes just fine, but the problem is that it is not reflecting them.
>
> the configuration is telling you what the problem is:
>
> > # Deny everything because the IRR database returned nothing
>
> Check out the IRRDB configuration documentation:
>
> https://docs.ixpmanager.org/features/irrdb/
>
> This will explain how to set up IRRDB filtering, which should sort the problem for you.
>
> Nick
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> Unsubscribe or change options here:
> https://www.inex.ie/mailman/listinfo/ixpmanager
> _______________________________________________
> 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