Skip to main content

Help with high cpu server

Comments

2 comments

  • kennysamuerto
    Hi, With the data you provide, it is very difficult to know what is happening. First of all, if a service is on TV, for a single server, it may be that the server is running out of resources. We should also know what kind of website you are hosting, is it a Wordpress, for example, a database driven website? My advice, dealing with high usage servers and requests, is to check that it makes a high usage. If they are apache requests and you have resources, but the server crashes, you can increase the max clients, in case you run out of slots. I would also recommend (in general terms, as I say, I don't know exactly what you use the server for) that you analyze MySQL, for example, the command mysqladmin proc status, can tell you details of which queries are open and which ones consume more resources. Additionally, if you have a wordpress type script, I would advise you to use some powerful cache system, which allows to avoid that the connections are saturated when asking for all the resources. A little roughly and in a very generic way, with the little information we have about the server and the web site, is the first thing I would suggest. Good luck.
    0
  • ConorBradleyDigitalAgency
    Hi, With the data you provide, it is very difficult to know what is happening. First of all, if a service is on TV, for a single server, it may be that the server is running out of resources. We should also know what kind of website you are hosting, is it a Wordpress, for example, a database driven website? My advice, dealing with high usage servers and requests, is to check that it makes a high usage. If they are apache requests and you have resources, but the server crashes, you can increase the max clients, in case you run out of slots. I would also recommend (in general terms, as I say, I don't know exactly what you use the server for) that you analyze MySQL, for example, the command mysqladmin proc status, can tell you details of which queries are open and which ones consume more resources. Additionally, if you have a wordpress type script, I would advise you to use some powerful cache system, which allows to avoid that the connections are saturated when asking for all the resources. A little roughly and in a very generic way, with the little information we have about the server and the web site, is the first thing I would suggest. Good luck.

    Hi Kenny, Thanks for the fast reply the server information is as follows Total processors: 6 Processor #1 Vendor AuthenticAMD Name AMD EPYC 7282 16-Core Processor Speed 2800.000 MHz Cache 512 KB Memory Information Hardware information is not available inside a container. System Information Linux 1 hostname.cprapid.com 3.10.0 #1 SMP Fri Nov 20 21:47:55 MSK 2020 x86_64 x86_64 x86_64 GNU/Linux Physical Disks Hardware information is not available inside a container. Current Memory Usage total used free shared buff/cache available Mem: 16777216 1614448 10007348 137800 5155420 15021784 Swap: 524288 149640 374648 Total: 17301504 1764088 10381996 -- -- -- The website is built on WordPress and it's the only one on the server. I believe its running out of resources due to the number of visits it gets at that time as the avg load shoots from 1 to 150 roughly. We use WPRocket cache & also Cloudflare so hopefully that's enough. If you need any more information just let me know. Thanks once again!
    0

Please sign in to leave a comment.