[ixpmanager] PHP memory_limit
Barry O'Donovan
barry.odonovan at inex.ie
Wed Feb 17 15:45:03 GMT 2021
Hi Ian,
Ian Chilton wrote on 17/02/2021 10:45:
> Hit a problem where, on a new deployment, member pages couldn’t be
> loaded because it was hitting the default PHP memory_limit of 128M.
>
> There doesn’t seem to be any mention in the docs about increasing that?
> - we should add a note to the installation pages?
Good call as this is a FAQ. Recorded now:
https://github.com/inex/IXP-Manager/issues/693
> I found a this post:
> https://www.inex.ie/pipermail/ixpmanager/2020-April/002623.html
>
> Is 2G the recommended [and what INEX run]?
2G is what INEX run, yes.
Recommended really depends on your size (or, more specifically, the
amount of memory required to generate your route server configuration.
The code is memory inefficient here and we have internal tickets to fix
that.
You'd probably be fine with 512M for a small IX but for large route
server configs with lots of member prefixes, >=2G is required.
> How much RAM do you give your frontend IXPM box?
4G
> If it ever uses even half that and you get a few concurrent users,
> that’s quickly going to add up.
It's not an issue in practice (shared mem for a lot of things) - the
issue is route server conf generation as above.
- Barry
More information about the ixpmanager
mailing list