Open meisuj815 opened 2 years ago
Please use dotnet dump
as shown in this blog post, then simply send me the dump file (you don't need to analyze it yourself)
https://www.tessferrandez.com/blog/2021/03/18/debugging-a-netcore-memory-issue-with-dotnet-dump.html
Hi @openbullet
Thanks for reply. I already dump the ram via this command:
apt -y install dotnet-sdk-5.0
dotnet tool install --global dotnet-dump
dotnet dump collect -p 3932
The file had 3.7G big.. I will zip the file and upload to google drive for you to debug, please wait a while.
Wow, after 7z the file only had 84MB
Yes because there is a lot of repeated data and compression is really good at handling that. Anyways I will take a look at it and let you know.
hi @openbullet now the RAM almost running out.. just three running job
I am going to look into it, please understand that fixing things can take time since this is not my full time job and I have other things to do and other issues to prioritize ^^
Hi @openbullet
Sure bro, that is not a problem, I am totally understand. I am very thankful for what you did:)
Hey @openbullet same issue is here no job is running high Ram usage (4 jobs already finished with huge custom)
V0.2.1
Hey @shakshak12 the high ram usage is probably due to the fact that the jobs that finished still contain some information about the data/proxies/hits inside them. That information usually gets deleted when you run jobs again. Please make sure the Bot Log is not enabled in RL settings, because that is the main source of ram usage in the entire program.
Bot log is not enabled and the issue is still there
Please take a memory dump as instructed in a few posts above and send it to me, thanks!
Thanks for responding but sorry I am not able to dump the memory, I am running OB2 using docker and PID is different each time
trying with ps aux to get the Process ID
trying this command
You can do it within the container
docker ps
to get the container id or name if you dont already know the name
docker exec <container id or name> <cmd>
You can even run a shell
docker exec -it <container id or name> /bin/bash
Version of the software
0.1.23
Operating system
Debian 10
Browser / Native
Firefox
What happened?
image of Ram usage
just four running job, then 4G ram used.. Hi, which tools should I use for dump the memory for you to debug?
for privacy season not showing code in here, if you want the LoliCode ask me again
thanks alot for help
Relevant LoliCode if needed
No response