Hello
I’ve been running PHP applications on Cleavr, and recently I’ve encountered an unexpected memory exhaustion issue. Scripts that used to run smoothly are now hitting the PHP memory limit, causing abrupt terminations.
This issue has surfaced after several routine deployments, and it seems to affect both CLI scripts and web requests, regardless of the workload.
After some initial debugging, I’ve ensured that the memory limit settings in php.ini
are appropriately configured, and I’ve profiled my code for potential memory leaks.
Despite these measures, the problem persists, leading me to suspect that it might be related to how Cleavr’s environment handles resource allocation during deployments or subsequent caching mechanisms. Checked PHP - Cleavrmongodb guide related to this and found it quite informative.
Has anyone else faced similar issues on Cleavr? I’m looking for insights into potential configuration tweaks, best practices for memory management in PHP, or any server-specific settings on Cleavr that might be causing this.
Any suggestions on how to effectively debug and mitigate this memory exhaustion issue would be greatly appreciated.
Thank you !!