maicol07 Posted December 9, 2020 Share Posted December 9, 2020 (edited) Hi,recently, when multiple commands are executed in the VPS (for example sending a POST request from a PHP script or executing any shell command) always increase CPU load to 100%.Also, loading PHP pages is slow. Can this be related to the VPS network and SSD which will be upgraded when the fundraiser finishes?Do you have any fix I can try in the meantime?Thanks Edited December 9, 2020 by maicol07 Link to comment Share on other sites More sharing options...
Sun Dark Posted December 9, 2020 Share Posted December 9, 2020 This support request is being escalated to our root admins. Link to comment Share on other sites More sharing options...
Krydos Posted December 9, 2020 Share Posted December 9, 2020 Thanks for noticing this. I checked all the other VPS on your server, and found that one of them was locked up with 100% swap usage and 100% cpu usage which was causing all the other VPS to run slowly. I'm restarting the problematic VPS now. Let us know if the performance improves. Link to comment Share on other sites More sharing options...
maicol07 Posted December 9, 2020 Author Share Posted December 9, 2020 Thanks for noticing this. I checked all the other VPS on your server, and found that one of them was locked up with 100% swap usage and 100% cpu usage which was causing all the other VPS to run slowly. I'm restarting the problematic VPS now. Let us know if the performance improves.It seems that this improved. CPU usage now is most of the time below 80%. Link to comment Share on other sites More sharing options...
Krydos Posted December 10, 2020 Share Posted December 10, 2020 This issue prompted me to write a script that will monitor the CPU usage of the VPS and send me a notification if one is hogging too many resources. Hopefully this will help prevent it from happening again in the future, or at least reduce the duration of the slowdown. Link to comment Share on other sites More sharing options...
maicol07 Posted December 17, 2020 Author Share Posted December 17, 2020 @Krydos the issue has come back... Link to comment Share on other sites More sharing options...
wolstech Posted December 17, 2020 Share Posted December 17, 2020 Unsolved so Krydos looks at this again. Link to comment Share on other sites More sharing options...
Krydos Posted December 19, 2020 Share Posted December 19, 2020 The problematic VPS has been rebooted. Link to comment Share on other sites More sharing options...
maicol07 Posted December 19, 2020 Author Share Posted December 19, 2020 I think it didn't work... (or maybe worked until the problematic VPS was rebooting... and then it raised the CPU to 100%) Link to comment Share on other sites More sharing options...
wolstech Posted December 19, 2020 Share Posted December 19, 2020 Unsolved again. I wonder if this is the same VPS over and over... Link to comment Share on other sites More sharing options...
Krydos Posted December 20, 2020 Share Posted December 20, 2020 Yeah, it's the same guy over and over. The first 2 times his VPS was locked up and swapping, so a reboot was a good thing to do in that situation. He keeps running some process that uses a lot of CPU though. I've restarted it a few times even though it isn't locked up. The load goes away for a while, but then he starts the process again manually probably and the load goes through the roof again. I'm going to try throttling his CPU now. If that doesn't help I guess I'll have to write him an email about it. To give you some idea how much load this guy is causing, Johnny has 3190 accounts right now and this 1 VPS is causing more load than all of them combined. Link to comment Share on other sites More sharing options...
Krydos Posted December 20, 2020 Share Posted December 20, 2020 Ok, I throttled his VPS a bit, but left the high load process running. Is it any better? Link to comment Share on other sites More sharing options...
wolstech Posted December 20, 2020 Share Posted December 20, 2020 Throttling him to some tiny portion of the server should give it room to breathe...VMware does a pretty good job at constraining vms when you throttle them. You can also lower a VM's priority I believe, which would let him have flexibility when the server is quiet but make him wait when others have things to do. The fact he's managing to produce more load than the entirety of Johnny is just flat out absurd. There isn't even anywhere to really go in terms of a better plan for him either...unless we decide to start offering dedicated servers... Link to comment Share on other sites More sharing options...
maicol07 Posted December 21, 2020 Author Share Posted December 21, 2020 Ok, I throttled his VPS a bit, but left the high load process running. Is it any better?No, it's worse... Now I see 100% CPU usage even when I'm IDLE (it only decrease for some seconds, then increases it):https://share.maicol07.it/kOfI5/jemUsuHe69.png/raw Link to comment Share on other sites More sharing options...
Krydos Posted December 21, 2020 Share Posted December 21, 2020 Actually your VPS is the problem right now. You're causing 95.42 load, Johnny is 148.24, and the problematic VPS was at 79.30. For a comparison the rest of the VPS on the server are less than 10. Link to comment Share on other sites More sharing options...
Recommended Posts