Skip to content
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

High CPU Usage when Docker load #5

Open
SeBL4RD opened this issue May 30, 2022 · 5 comments
Open

High CPU Usage when Docker load #5

SeBL4RD opened this issue May 30, 2022 · 5 comments

Comments

@SeBL4RD
Copy link

SeBL4RD commented May 30, 2022

As said in title, since i installed Docker and deployed V-Rising-Docker-Linux, i have ./kswapd0 constantly using 4 threads at 100% on my 4790k. I can feel my kernel is not stable since, my Teamspeak server crashed ! This has never happened to anyone since the creation of mankind.

See by yourself : https://i.imgur.com/haEOfAa.jpeg

@cabaleirog
Copy link

I think that adjusting the swappiness might alleviate the issue, as kswapd is managing the virtual memory, which is a CPU heavy process, moving data back and forth between RAM and SWAP. The link below might give you a starting point.
https://wiki.manjaro.org/index.php/Swap#Tuning_.26_Performance_Considerations

@SeBL4RD
Copy link
Author

SeBL4RD commented May 30, 2022

I have a 4970k, 32 GB of RAM and 250 mbps on my dedicated, on Debian 11. I have 2 Rust servers, 1 PZ server.
Even with Docker + VRising, I only have 20 GB out of 32 used. I don't see why the swap would have a problem. I have in the past had many games in addition, with a good CPU and RAM load, never had any worries of this style, it's really since I installed your Dock.

@SeBL4RD
Copy link
Author

SeBL4RD commented May 30, 2022

@SeBL4RD
Copy link
Author

SeBL4RD commented May 31, 2022

That was it, I had a crypto miner on my Debian :O.
As for the server, everything works flawlessly, I just wonder, being severely rusty from Docker, the server launches steamcmd at each start for update or do you have to do a particular manipulation?
It really lacks a description, I had to write a script for the dependencies, and I had to find the command to stop the server. You should think about people who are not familiar with Docker.

@SeBL4RD
Copy link
Author

SeBL4RD commented May 31, 2022

This if does not permit updating server :
if [ ! -e "./steaminstalled.txt" ]; then wincfg wine steamcmd.exe +force_install_dir "C:\VRisingServer" +login anonymous +app_update 1829350 validate +quit touch ./steaminstalled.txt fi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants