Skip to main content

High Physical memory usage even at no traffic

Comments

9 comments

  • rpvw
    Have you tried to disable the WP xmlrpc to see if the memory usage drops to normal ? You could use a code in your htaccess file something like # Block WordPress xmlrpc.php requests order deny,allow deny from all allow from 123.123.123.123
    0
  • Chirag Aggarwal
    Yes, I've confirmed this is not the case. Also, it seems like memory usage is now not even dropping below 2.3G even with almost no traffic.
    0
  • rpvw
    Disable the plugins one by one to see if any of them are responsible. You may need to considered that the site might have been compromised on the other server, and you have restored malware onto this server.
    0
  • cPanelMichael
    Hello, The following thread is also worth reviewing for an overview of how memory usage works on Linux: Thank you.
    0
  • Chirag Aggarwal
    Hello, The following thread is also worth reviewing for an overview of how memory usage works on Linux:
    0
  • cPanelMichael
    Thanks, I am aware of linux system as itself but can you confirm if the same if applicable on individual accounts? I've never seen or experienced this before.

    Can you provide more information about the overall memory usage on the system? For instance, what's the output from the "free -m" command when this happens? Thank you.
    0
  • Chirag Aggarwal
    Here you go # free -m total used free shared buff/cache available Mem: 64232 6124 1909 4028 56198 53260 Swap: 0 0 0
    I'm not quite sure what kind of other information so if you can let me know, I can provide it.
    Can you provide more information about the overall memory usage on the system? For instance, what's the output from the "free -m" command when this happens? Thank you.

    0
  • WebHosting-UK
    Very useful thread, i've also had several clients with issues with their xmlrpc.php file using a lot of memory. The htaccess code will be very handy for future issues, thanks!
    0
  • cPanelMichael
    Hello @Chirag Aggarwal, The overall memory usage on the system looks okay. That said, you may still want to determine what's leading to the increased memory usage from that account. The earlier advice from @rpvw is solid:
    Disable the plugins one by one to see if any of them are responsible. You may need to considered that the site might have been compromised on the other server, and you have restored malware onto this server.

    Additionally, if disabling the plugins one by one doesn't help to narrow down the cause of the issue, take a look at the Apache domain access logs (/usr/local/apache/domlogs/) for the domain name to see if you can get a better idea of the specific URLs requested when the memory usage increases. Thank you.
    0

Please sign in to leave a comment.