Skip to main content

High Ram usage

Comments

13 comments

  • cPanelLauren
    Hi @chris0147 It really depends on *what* is running to know if the usage is normal or not. We have a really helpful tutorial on troubleshooting high load that may be beneficial for you here: Tutorial - Troubleshooting high server loads on Linux servers Thanks!
    0
  • chris0147
    Hi @chris0147 It really depends on *what* is running to know if the usage is normal or not. We have a really helpful tutorial on troubleshooting high load that may be beneficial for you here:
    0
  • chris0147
    Do you know why my memory are running too high? I am running 138 processes at the moment so I think something need to be looking at.
    0
  • cPanelLauren
    Hi @chris0147 Based on what you've shown nothing looks too out of the ordinary. Can you post the output of the following: free -m
    0
  • chris0147
    Hi @chris0147 Based on what you've shown nothing looks too out of the ordinary. Can you post the output of the following: free -m

    Sure, here it is the output: [root@server ~]# free -m total used free shared buff/cache available Mem: 4096 1120 546 2 2429 2858 Swap: 4096 0 4096 [root@server ~]#
    Do you know why I have used alot of memory? If I dont use alot of memory, do you know what per cent that the memory is being used?
    0
  • cPanelLauren
    Hi @chris0147 It doesn't looke like you are using a lot of memory based on this you have plenty of memory available. An amazingly good explanation of Linux's RAM usage can be found here: Help! Linux ate my RAM! Thanks!
    0
  • chris0147
    Hi @chris0147 It doesn't looke like you are using a lot of memory based on this you have plenty of memory available. An amazingly good explanation of Linux's RAM usage can be found here:
    0
  • cPanelLauren
    Hi @chris0147 sar -r
    Will show you %memory used but keep in mind that it also counts cached/buffered memory as being used. I usually look at the %commit to get a good idea of how much memory is actually in use.
    0
  • chris0147
    Hi @chris0147 sar -r
    Will show you %memory used but keep in mind that it also counts cached/buffered memory as being used. I usually look at the %commit to get a good idea of how much memory is actually in use.

    Oh right. I have put the "sar -r" in the comment and it show me the output for the memory as I can see at the %memused as most memory are used 73.88% but it say 0.0 at the %commit. What I find it strange is when I look at the server status on whm, it say that 29.56% memory are being used.
    0
  • chris0147
    So I don't have anything to worry about how much memory are being used?
    0
  • cPanelLauren
    What I find it strange is when I look at the server status on whm, it say that 29.56% memory are being used.

    Keep in mind this is including cached memory though - while that memory is available it's reserved in anticipation of a process using it.
    So I don't have anything to worry about how much memory are being used?

    No based on this information your memory usage is actually pretty low.
    0
  • chris0147
    Ok thank you very much. Problem are now solved.
    0
  • cPanelLauren
    Hi @chris0147 You're very welcome! I'll go ahead and mark this as resolved. Thanks!
    0

Please sign in to leave a comment.