Want to subscribe to topics you're interested in?
Become a Member

Beta Branch ensure centos 7 systems boot redis server after rc.local

Discussion in 'Centmin Mod Github Commits' started by eva2000, Dec 28, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    33,630
    7,446
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,446
    Local Time:
    1:39 AM
    Nginx 1.13.x
    MariaDB 5.5
    ensure centos 7 systems boot redis server after rc.local

    - extra workaround to ensure centos 7 systems boot redis server after rc.local
    - ensure /sys/kernel/mm/transparent_hugepage/enabled is set to never as it seems centos 7.4 at least restores value of always when rebooted https://community.centminmod.com/posts/57637/

    Continue reading...

    123.09beta01 branch

     
  2. pamamolf

    pamamolf Well-Known Member

    3,072
    293
    83
    May 31, 2014
    Ratings:
    +524
    Local Time:
    6:39 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Do i have to run anything manually after updating Centminmod to get that fix?

    Also should i have to do that on servers that do not have installed the Redis so when i install it to be ok?
     
  3. eva2000

    eva2000 Administrator Staff Member

    33,630
    7,446
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,446
    Local Time:
    1:39 AM
    Nginx 1.13.x
    MariaDB 5.5
    only for redis installed servers on CentOS 7, update centmin mod and run tools/hptweaks.sh
     
    • Informative Informative x 1
  4. pamamolf

    pamamolf Well-Known Member

    3,072
    293
    83
    May 31, 2014
    Ratings:
    +524
    Local Time:
    6:39 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Ok i did it but i got this also:

    Code:
    transparent huge pages not enabled
    Full output:

     
  5. eva2000

    eva2000 Administrator Staff Member

    33,630
    7,446
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,446
    Local Time:
    1:39 AM
    Nginx 1.13.x
    MariaDB 5.5
    that is correct output when redis installed, transparent huge pages needs to be disabled
     
    • Informative Informative x 1
  6. RoldanLT

    RoldanLT Well-Known Member

    4,155
    1,006
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,420
    Local Time:
    11:39 PM
    1.11
    10.2
    No need to reboot the server for this fix?
     
  7. eva2000

    eva2000 Administrator Staff Member

    33,630
    7,446
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,446
    Local Time:
    1:39 AM
    Nginx 1.13.x
    MariaDB 5.5
     
  8. RoldanLT

    RoldanLT Well-Known Member

    4,155
    1,006
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,420
    Local Time:
    11:39 PM
    1.11
    10.2
    Maybe I don't need this?
    I don't see "transparent huge pages warning" on the log file.

    Code:
    # tail -50 /var/log/redis/redis.log
    1053:M 28 Dec 21:22:29.032 * 10 changes in 300 seconds. Saving...
    1053:M 28 Dec 21:22:29.034 * Background saving started by pid 31925
    31925:C 28 Dec 21:22:29.685 * DB saved on disk
    31925:C 28 Dec 21:22:29.689 * RDB: 3 MB of memory used by copy-on-write
    1053:M 28 Dec 21:22:29.735 * Background saving terminated with success
    1053:M 28 Dec 21:27:30.093 * 10 changes in 300 seconds. Saving...
    1053:M 28 Dec 21:27:30.095 * Background saving started by pid 1031
    1031:C 28 Dec 21:27:30.767 * DB saved on disk
    1031:C 28 Dec 21:27:30.769 * RDB: 4 MB of memory used by copy-on-write
    1053:M 28 Dec 21:27:30.796 * Background saving terminated with success
    1053:M 28 Dec 21:32:31.004 * 10 changes in 300 seconds. Saving...
    1053:M 28 Dec 21:32:31.006 * Background saving started by pid 1931
    1931:C 28 Dec 21:32:31.632 * DB saved on disk
    1931:C 28 Dec 21:32:31.634 * RDB: 3 MB of memory used by copy-on-write
    1053:M 28 Dec 21:32:31.707 * Background saving terminated with success
    1053:M 28 Dec 21:37:32.065 * 10 changes in 300 seconds. Saving...
    1053:M 28 Dec 21:37:32.068 * Background saving started by pid 3439
    3439:C 28 Dec 21:37:32.683 * DB saved on disk
    3439:C 28 Dec 21:37:32.685 * RDB: 4 MB of memory used by copy-on-write
    1053:M 28 Dec 21:37:32.768 * Background saving terminated with success
    1053:M 28 Dec 21:42:33.027 * 10 changes in 300 seconds. Saving...
    1053:M 28 Dec 21:42:33.029 * Background saving started by pid 4914
    4914:C 28 Dec 21:42:33.690 * DB saved on disk
    4914:C 28 Dec 21:42:33.693 * RDB: 3 MB of memory used by copy-on-write
    1053:M 28 Dec 21:42:33.730 * Background saving terminated with success
    1053:M 28 Dec 21:47:34.043 * 10 changes in 300 seconds. Saving...
    1053:M 28 Dec 21:47:34.046 * Background saving started by pid 5804
    5804:C 28 Dec 21:47:34.723 * DB saved on disk
    5804:C 28 Dec 21:47:34.725 * RDB: 3 MB of memory used by copy-on-write
    1053:M 28 Dec 21:47:34.746 * Background saving terminated with success
    1053:M 28 Dec 21:52:35.018 * 10 changes in 300 seconds. Saving...
    1053:M 28 Dec 21:52:35.020 * Background saving started by pid 7300
    7300:C 28 Dec 21:52:35.674 * DB saved on disk
    7300:C 28 Dec 21:52:35.676 * RDB: 3 MB of memory used by copy-on-write
    1053:M 28 Dec 21:52:35.720 * Background saving terminated with success
    1053:M 28 Dec 21:57:36.005 * 10 changes in 300 seconds. Saving...
    1053:M 28 Dec 21:57:36.008 * Background saving started by pid 8774
    8774:C 28 Dec 21:57:36.662 * DB saved on disk
    8774:C 28 Dec 21:57:36.664 * RDB: 3 MB of memory used by copy-on-write
    1053:M 28 Dec 21:57:36.710 * Background saving terminated with success
    1053:M 28 Dec 22:02:37.074 * 10 changes in 300 seconds. Saving...
    1053:M 28 Dec 22:02:37.077 * Background saving started by pid 9714
    9714:C 28 Dec 22:02:37.749 * DB saved on disk
    9714:C 28 Dec 22:02:37.751 * RDB: 3 MB of memory used by copy-on-write
    1053:M 28 Dec 22:02:37.777 * Background saving terminated with success
    1053:M 28 Dec 22:07:38.021 * 10 changes in 300 seconds. Saving...
    1053:M 28 Dec 22:07:38.024 * Background saving started by pid 11244
    11244:C 28 Dec 22:07:38.683 * DB saved on disk
    11244:C 28 Dec 22:07:38.685 * RDB: 3 MB of memory used by copy-on-write
    1053:M 28 Dec 22:07:38.724 * Background saving terminated with success
    
     
  9. eva2000

    eva2000 Administrator Staff Member

    33,630
    7,446
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,446
    Local Time:
    1:39 AM
    Nginx 1.13.x
    MariaDB 5.5
    issue is on reboots
     
    • Like Like x 1
..