Welcome to Centmin Mod Community
Become a Member

Sysadmin Question about Centos 7 with ram usage.

Discussion in 'System Administration' started by YuchiRO, Aug 25, 2016.

  1. YuchiRO

    YuchiRO Member

    100
    6
    18
    Jan 12, 2015
    Ratings:
    +8
    Local Time:
    6:02 PM
    5.5.4
    Hi


    I installed centos 7.2 but my server use a part of ram :( not all of ram.
    #free -m
    total used free shared buff/cache available
    Mem: 96495 3417 1528 197 91550 92300

    Total 96Gb but .. used about 5Gb and available about 92Gb ?

    How to let server use all of ram ?

    Thanks.
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,935
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,812
    Local Time:
    9:02 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Centmin Mod is provide as is, so short of scripted related bugs or issues, any further optimisation to the web stack components - nginx, php-fpm, mariadb mysql, csf firewall etc or web app specific configurations are left to the Centmin Mod user to deal with. So I do not provide any free support for such.

    However, Centmin Mod users are free to help each other out and ask questions or give answers on this community forum. My hopes are that this community forum evolves so that more veteran long time Centmin Mod users help new Centmin Mod users out

    With that said, how much memory your server uses is up to each individual server software and your web application's requirements so consult their documentation. Using more memory than required doesn't benefit performance at all.
     
  3. JarylW

    JarylW Active Member

    216
    41
    28
    Jun 19, 2014
    Singapore
    Ratings:
    +103
    Local Time:
    7:02 PM
    92GB is a lot of RAM. you can put temporary resources that require fast load speeds to ram as opposed to ssd/hdd depending on your application?
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,935
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,812
    Local Time:
    9:02 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yeah or as i said if your web application can use more memory via their own cache implementation support i.e. memcached server, redis server caching is supported in Xenforo web app so enabling such cache support in web app and allocating more memory is one way

    same for Wordpress and cache plugins etc
     
  5. YuchiRO

    YuchiRO Member

    100
    6
    18
    Jan 12, 2015
    Ratings:
    +8
    Local Time:
    6:02 PM
    5.5.4
    Ya, thanks. Sorry i know this forum only for Centminmod but this server just setup with OS and install centmin .09beta1.

    By default on my previous server centos 6 x64 total ram = used + free. But on centos 7 total ram = used+free+alot available, and total usable not more than 5Gb ? So i dont know what's wrong with me. I didnt config anything.
     
  6. eva2000

    eva2000 Administrator Staff Member

    54,935
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,812
    Local Time:
    9:02 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    CentOS 7 reports memory differently as it reports available memory while CentOS 6 leaves it out but it's roughly the same free available = total memory minus (buff/cache)

    read Help! Linux ate my RAM!