For some time I periodically (and seeming randomly) get the following 500 error on my site (running phpBB 3.3.11):
Typically if I simply manually reload the page, it will work again. I contacted my hosting provider and they said it was "memory related". I presume they increased memory limit to 512M as the current entry in php.ini says:
It seems that the error now occurs less frequently (I think,..) but still periodically happens. They of course said that this change would "fix" the problem but clearly it hasn't, or at least not completely. It's hard to replicate as it may occur like 1 in 20 page loads, but again, not consistently. Multiple users have reported it so it's not just me.
When looking at the "CGI error logs" in the control panel, there are no errors listed.
I suppose my question is whether 512M is enough? Is there perhaps another issue (I can post the entire php.ini file if needed)?
Any ideas would be appreciated. Thank you.
Typically if I simply manually reload the page, it will work again. I contacted my hosting provider and they said it was "memory related". I presume they increased memory limit to 512M as the current entry in php.ini says:
Code:
; Maximum amount of memory a script may consume (128MB); http://php.net/memory-limitmemory_limit = 512M
When looking at the "CGI error logs" in the control panel, there are no errors listed.
I suppose my question is whether 512M is enough? Is there perhaps another issue (I can post the entire php.ini file if needed)?
Any ideas would be appreciated. Thank you.
Statistics: Posted by invenio — Sat Mar 09, 2024 1:26 am