-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] Memory cannot be read from inside the container #470
Comments
@LikeToStudy
It's a supported use of Reli.
|
@sj-i Thanks for your reply. After a series of attempts, reli-prof can be used normally now Would you like to ask whether reli-prof currently supports the tracking of coroutines? |
@LikeToStudy Hi! Sorry for the late reply. I'm dead busy now... as usual.
I can say it has limited support. In my previous attempt, for Swoole, the executing call stack could be analysed when Swoole is installed as an extension. For swoole-cli, the official binary distribution of Swoole, I doubt it's possible to analyze it without modification currently. |
@sj-i Hi! Now the bad thing is, if you install php through the installation tool, you can run the trace command, I don't know why? I have opened the access restriction of the containe. look forward to your reply |
@sj-i Hi!
The command is: "readelf -h /usr/bin/php"
I can't explore the related principles of influence, but it has these problems, I wonder if you have encountered, and can know why? Looking forward to your reply |
@sj-i Hi When I was doing a memory trace of the PHP-FPM process, I found a problem. Is there currently no memory tracking support for PHP-FPM? When PHP-FPM receives the request, another error is displayed Version information is as follows
Looking forward to your reply |
I started two containers, the first container running my php application and the second container running reli-prof
The namespace "--pid=container:<container_name>" is shared with the container. And I can see my php process in the reli container
Run "./reli i:trace -p "
Error "failed to read memory. target_pid=, remote_address=0x55555681f420, errno=38"
Is there currently no support for tracking between containers?
Or is it because the php program is running in a container and cannot be traced back to the host's memory information?
Hope to get your reply, thank you very much
The text was updated successfully, but these errors were encountered: