You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
The hard code of set memory_limit need to be removed. The hard code make user can't change the memory limit value in /etc/php.ini. And lead to errors as below,
ERROR PHP ERROR: Allowed memory size of 536870912 bytes exhausted
To Reproduce
Steps to reproduce the behavior:
Monitoring a large number of devices with more 354k graphs.
Check the Clog.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
The hard code is not good solution, and make the value in /etc/php.ini not work. The lines of below, need to be removed.
My only concern with this is that it will allow PHP to consume all available memory which means that the CMD.PHP and POLLER.PHP could both invoke a bad user script that eats the resources.
netniV
changed the title
The hard code of set memory_limit need to be removed
PHP memory should be unlimited in scripts that need more memory than the default
Jun 2, 2019
We have this patched locally because we have a plug-in that exceeds the amount in poller.php, this was very confusing because in my opinion the limit should be set in php.ini, I'm glad with this change :)
Describe the bug
A clear and concise description of what the bug is.
The hard code of set memory_limit need to be removed. The hard code make user can't change the memory limit value in /etc/php.ini. And lead to errors as below,
ERROR PHP ERROR: Allowed memory size of 536870912 bytes exhausted
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The hard code is not good solution, and make the value in /etc/php.ini not work. The lines of below, need to be removed.
The text was updated successfully, but these errors were encountered: