Closed rusakov92 closed 1 month ago
The issue was resolved by our devops team, turns out by default the extension memprof was enabled for us and this prevented blackfire extension to record properly the memory usage, disabling memprof in the PHP INI solved this for us.
Hello,
It seems that there is something wrong with the configuration of our environments and I could not find anything that can help me resolve the issue.
So we install the blackfire agent on our container responsible for running consumers, and we run it in the background. Here are the configurations that we use:
Agent configuration:
Supervisor configuration:
PHP module:
We use the suggested approach form the documentation for profiling the consumer, we achieve it with extension written for the enqueue/enqueue project.
The extension class looks like this:
When running the profiler we manage to generate a path trace but memory usage is not recorded. Is there any additional settings we need to pass?