bitnami / vms

Bitnami VMs
https://bitnami.com
Other
200 stars 44 forks source link

[Silverstripe] Bitnami image - Php-fpm out of memory #1501

Closed Ankurv2 closed 1 month ago

Ankurv2 commented 2 months ago

Platform

Azure

bndiagnostic ID know more about bndiagnostic ID

ef3fe9cb-f509-80b2-75fe-b06a0a992a5e

bndiagnostic output

Apache possible issues found PHP no issues found

bndiagnostic was not useful. Could you please tell us why?

NA

Describe your issue as much as you can

I am not very familiar with the Linux Every couple of weeks our bitnami silverstripe vm crashes with Out of memory error and kills php-fpm process. Any help to diagnose the issue or the process consuming the memory? there is no swap file and ram size is 16GB

jotamartos commented 2 months ago

suggest you take a look at these guides to know if there is any performance issue or if there is a bot/attacker accessing your site with malicious intentions

https://docs.bitnami.com/general/faq/troubleshooting/troubleshoot-server-performance/ https://docs.bitnami.com/general/apps/silverstripe/troubleshooting/deny-connections-bots-apache/

You will also need to review the PHP's log file to see if there is any error there. You can find a related thread here:

https://github.com/bitnami/vms/issues/907#issuecomment-1547257691

Ankurv2 commented 2 months ago

Thanks for the inputs. I could see php-fpm:pool running multiple processes and this is consuming all the memory. There are no attack logs. Any idea if this points to the some thing related to the web application? [image: image.png]

On Tue, 23 Apr 2024 at 21:42, Juan José Martos @.***> wrote:

suggest you take a look at these guides to know if there is any performance issue or if there is a bot/attacker accessing your site with malicious intentions

https://docs.bitnami.com/general/faq/troubleshooting/troubleshoot-server-performance/

https://docs.bitnami.com/general/apps/silverstripe/troubleshooting/deny-connections-bots-apache/

You will also need to review the PHP's log file to see if there is any error there. You can find a related thread here:

907 (comment)

https://github.com/bitnami/vms/issues/907#issuecomment-1547257691

— Reply to this email directly, view it on GitHub https://github.com/bitnami/vms/issues/1501#issuecomment-2071867246, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVTJ7UV33SHFYVBMH2IHOA3Y6YUIRAVCNFSM6AAAAABGT2FP5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZRHA3DOMRUGY . You are receiving this because you authored the thread.Message ID: @.***>

jotamartos commented 2 months ago

Sorry but I can't see the image. If it's reaching the limits (you can also obtain the number of PHP-FPM process by running the ps command), you will need to modify the memory settings in the /opt/bitnami/php/etc/memory.conf file and restart the service.

github-actions[bot] commented 1 month ago

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

github-actions[bot] commented 1 month ago

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.