Find the answer to your Linux question:
Results 1 to 4 of 4
Hi All, I have recently aquired a dedicated server running CentOS and Plesk for my applications. These scripts were running on a 1.5GB ram VPS running CentOS and CPanel and ...
  1. #1
    Just Joined!
    Join Date
    Jun 2011
    Posts
    2

    Server Memory Usage Very High

    Hi All,

    I have recently aquired a dedicated server running CentOS and Plesk for my applications.

    These scripts were running on a 1.5GB ram VPS running CentOS and CPanel and worked very well.

    Now they are on the new dedicated server the memory has gone down from 14.1 GB ram spare to 9.9GB. I can't see it being my scripts so presume there is something else using all my memory. How can I see what is eating all the resources?

    Note: The only difference between these server is my crons were being checked every 5 minutes on the old server whereas now they are checked every minute and there are about 60 of them.

    Really could use some help ...

    EDIT: This is the information from "free" via SSH:

    Code:
    [root@h31-3-244-194 ~]# free
                 total       used       free     shared    buffers     cached
    Mem:      16426796    9373260    7053536          0     390468    3471680
    -/+ buffers/cache:    5511112   10915684
    Swap:     18481144          0   18481144
    [root@h31-3-244-194 ~]#
    Although, I am not entirely sure what its telling me ...

    EDIT2: I have looked against all my cron processes and they have this: bin/qmail-queue against them. Could qmail be eating the memory?


    Thanks.
    Last edited by webnoob; 06-09-2011 at 02:28 PM.

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    if you look at the +/- buffers/cache line, you will see that you are using 5.5gb memory with 10.9gb free and 0 swap used, so your memory is mostly being used for buffers and cache

    are you experiencing any particular issue?

  3. #3
    Just Joined!
    Join Date
    Jun 2011
    Posts
    2
    There is no issue as such BUT I bought my dedi box with a view to getting more than it looks like I will get on it. I have moved what was using 1.5GB over and its now using 5gb. That messes up my costing on the new server because its using 3 times as many resources and I can't get as many people on.

    I have another 2 VPS's to move on here and need to make sure it can handle it and a lot more ...

    So does that 5.5GB include the cached memory the kernal is using? So there could actually be 13GB of what I would call FREE memory and linux would be using for cache?

  4. #4
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    i would assume not.

    I would use htop and figure out what is using all your memory

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...