Discover Centmin Mod today
Register Now

Sysadmin Question about Centos 7 with ram usage.

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

  1. YuchiRO

    YuchiRO Member

    92
    6
    8
    Jan 12, 2015
    Ratings:
    +8
    Local Time:
    2:31 AM
    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

    28,942
    6,570
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,750
    Local Time:
    5:31 AM
    Nginx 1.13.x
    MariaDB 5.5
    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.
     
    • Like Like x 1
  3. JarylW

    JarylW Active Member

    213
    39
    28
    Jun 19, 2014
    Singapore
    Ratings:
    +99
    Local Time:
    3:31 AM
    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?
     
    • Like Like x 1
    • Agree Agree x 1
  4. eva2000

    eva2000 Administrator Staff Member

    28,942
    6,570
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,750
    Local Time:
    5:31 AM
    Nginx 1.13.x
    MariaDB 5.5
    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

    92
    6
    8
    Jan 12, 2015
    Ratings:
    +8
    Local Time:
    2:31 AM
    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

    28,942
    6,570
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,750
    Local Time:
    5:31 AM
    Nginx 1.13.x
    MariaDB 5.5
    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!