What is your value for php memory_limit. I read on internet "Golden rule, give to php what is he consume not more not less".
We have four web server with 8Go ram for each instance. We have very hight traffic. Actualy we have set the memory_limit to 128 Mo and we plan to raise to 512 Mo.
I think it's to much, few pages consumes memories (export data, import data, upload image....), i'm not sure that increasing the memory for the whole php scripts is in good approach.
I would like to have your views on the issue.
I would go for 512.
While you have a valid point about not making this larger than it needs to be, some Moodle processes do use large amounts of memory. They are rare but they will (obviously) not work if memory is restricted.
Moodle/PHP doesn't seem to have significant issues with memory leaks and the like so I wouldn't worry too much.
Thank you Howard.
I am at the opinion that this is for each script that runs. Meaning that if ten people hit a script that uses 512mb it will bring your server down
If you want consistent performance across all users this should be lower rather than higher.
128MB should be fine
PS imagine 60 people doing a quiz and each user (script that runs), is allowed to use up 512MB