Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Afrodude Posted November 5, 2021 Posted November 5, 2021 (edited) The new "Moderator Activity" getting HTTP error 500. All statics are running fine but this one. I have disabled all apps, plugins, and also cleared system cache, yet same results. Edited November 5, 2021 by Afrodude
Marc Posted November 5, 2021 Posted November 5, 2021 Please ensure the account on file has full unrestricted access. We can then take a look at that for you
Afrodude Posted November 5, 2021 Author Posted November 5, 2021 58 minutes ago, Marc Stridgen said: Please ensure the account on file has full unrestricted access. We can then take a look at that for you I will see what I can do about this because last time you guys logged to the ACP you disabled everything and reset the editor which cause a 3 hours work because we have many custom buttons, and left without notice. Moreover, the bug wasn't related to any of this. In the main while. I have found another bug. I don't believe this one should look like this.
Afrodude Posted November 5, 2021 Author Posted November 5, 2021 It's now full unrestricted access account, and please stay away from the editor because it has nothing to do with this.
Marc Posted November 5, 2021 Posted November 5, 2021 47 minutes ago, Afrodude said: It's now full unrestricted access account, and please stay away from the editor because it has nothing to do with this. Just to let you know here, we may disable customisations temporarily in order to ascertain what is causing issues on the site. Please could you confirm you understand this, as this includes the editor
Afrodude Posted November 5, 2021 Author Posted November 5, 2021 18 minutes ago, Marc Stridgen said: Just to let you know here, we may disable customizations temporarily in order to ascertain what is causing issues on the site. Please could you confirm you understand this, as this includes the editor Well I have done that already disabling all the third-party customizations, and the results were still the same. You can go ahead do what you need to do, but I am sure the results will still remind the same.
Marc Posted November 5, 2021 Posted November 5, 2021 Given this is an error being thrown at server level, please can you check your server error logs for the underlying error being logged?
Afrodude Posted November 5, 2021 Author Posted November 5, 2021 1 hour ago, Marc Stridgen said: Given this is an error being thrown at server level, please can you check your server error logs for the underlying error being logged? 2021/11/05 08:21:48 [error] 142110#142110: *161 FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 132336864 bytes) in /forums/uploads/cache/template_0_46b82e53682bf97617c36aa125473bea_global.php on line 1393" while reading response header from upstream, client: 108.102.201.998, server: sites.com, request: "GET /admin/?app=core&module=stats&controller=moderators HTTP/2.0", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "sites.com", referrer: "https://sites.com/admin/?app=core&module=promotion&controller=promote"
IveLeft... Posted November 5, 2021 Posted November 5, 2021 (edited) Increase your php memory limit on the server Edited November 5, 2021 by Muddy Boots
Afrodude Posted November 5, 2021 Author Posted November 5, 2021 9 minutes ago, Muddy Boots said: Increase your php memory limit on the server I tried, and I have it now to 512M. Same issue.
Jim M Posted November 5, 2021 Posted November 5, 2021 Could you please post the updated server error log entry? There may be further information there.
Afrodude Posted November 5, 2021 Author Posted November 5, 2021 Perhaps the issue is related to "Moderator Logs" if the "Moderator Activity" collecting data from there to show it on the static. I have a lot of logs, and I have "Prune Settings" set to never. Total pages of "Moderator Logs" is 17626 pages, and each page has a lot .....
Marc Posted November 5, 2021 Posted November 5, 2021 Thats quite possible. If you increase it yet further, does it then work?
Afrodude Posted November 5, 2021 Author Posted November 5, 2021 4 hours ago, Marc Stridgen said: If you increase it yet further, does it then work? Increase what exactly ?
Jim M Posted November 5, 2021 Posted November 5, 2021 1 minute ago, Afrodude said: Increase what exactly ? PHP's memory limit on your server beyond what you did previously.
Afrodude Posted November 5, 2021 Author Posted November 5, 2021 4 minutes ago, Jim M said: PHP's memory limit on your server beyond what you did previously. More than 512M ?
Randy Calvert Posted November 5, 2021 Posted November 5, 2021 Out of curiosity... after increasing the memory, did you make sure to restart Apache and PHP (if PHP is running as it's own standalone service)? I have a habit of restarting Apache, but forgetting about PHP-FPM. One way to be absolutely certain is just to quickly reboot the entire server.
Afrodude Posted November 5, 2021 Author Posted November 5, 2021 4 minutes ago, Randy Calvert said: I have a habit of restarting Apache, but forgetting about PHP-FPM. One way to be absolutely certain is just to quickly reboot the entire server. I do restart them together. 🙂 @Jim M I increased it to 2048M which is a lot. The result is it starts to load, yet gone to error HTTP 500. 5 hours ago, Afrodude said: Perhaps the issue is related to "Moderator Logs" if the "Moderator Activity" collecting data from there to show it on the static. I have a lot of logs, and I have "Prune Settings" set to never. Total pages of "Moderator Logs" is 17626 pages, and each page has a lot ..... As I mentioned here the issue is that IPS system php script can't handle that much of the logs, and it happened once with @Adriano Faria with one of his application that I left the logs for more than 3 years. He fixed it, so the "Moderator Activity" can't handle the 17626 pages of "Moderator Logs". I believe you should pass this one to the developers in order to take a look.
Adriano Faria Posted November 5, 2021 Posted November 5, 2021 (edited) ... NEVERMIND... I misunderstood and linked to a wrong plugin to clean logs. Edited November 5, 2021 by Adriano Faria
Afrodude Posted November 5, 2021 Author Posted November 5, 2021 Just now, Adriano Faria said: Why don't you clean all the log entries? Well I need to keep them in order to monitor the old and new staff actions.
Adriano Faria Posted November 5, 2021 Posted November 5, 2021 3 minutes ago, Afrodude said: Well I need to keep them in order to monitor the old and new staff actions. I linked a wrong plugin (to clean system error logs).
Marc Posted November 8, 2021 Posted November 8, 2021 I have just created a ticket for you on this so that we can take a closer look for you and see whats going on
Afrodude Posted November 12, 2021 Author Posted November 12, 2021 On 11/8/2021 at 1:49 AM, Marc Stridgen said: I have just created a ticket for you on this so that we can take a closer look for you and see whats going on Daneil informed me by email that after his investigation, he successfully located the issue, and he is working on a solution/fix at this moment for this bug.
Solution Marc Posted December 7, 2021 Solution Posted December 7, 2021 This has now been resolved in the 4.6.9 version which has just been released. Please feel free to let us know if you are seeing any issues after upgrading
Recommended Posts