Welcome to Centmin Mod Community
Become a Member

Install Ask everything about Centminmod

Discussion in 'Install & Upgrades or Pre-Install Questions' started by zhaosin, Aug 11, 2014.

  1. zhaosin

    zhaosin New Member

    18
    0
    1
    Aug 11, 2014
    Ratings:
    +0
    Local Time:
    3:10 PM
    1
    MariaDB 5.5
    @eva2000

     
  2. eva2000

    eva2000 Administrator Staff Member

    48,417
    11,099
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,274
    Local Time:
    6:10 PM
    Nginx 1.21.x
    MariaDB 10.x
  3. zhaosin

    zhaosin New Member

    18
    0
    1
    Aug 11, 2014
    Ratings:
    +0
    Local Time:
    3:10 PM
    1
    MariaDB 5.5
    Can you provide your php-fpm.conf ?
     
  4. eva2000

    eva2000 Administrator Staff Member

    48,417
    11,099
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,274
    Local Time:
    6:10 PM
    Nginx 1.21.x
    MariaDB 10.x
    FAQ 16 Centmin Mod FAQ - Menu based Nginx installer

    shortcut is fpmconf = /usr/local/etc/php-fpm.conf

     
  5. zhaosin

    zhaosin New Member

    18
    0
    1
    Aug 11, 2014
    Ratings:
    +0
    Local Time:
    3:10 PM
    1
    MariaDB 5.5
    Can you provide your php-fpm.conf ?
     
  6. eva2000

    eva2000 Administrator Staff Member

    48,417
    11,099
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,274
    Local Time:
    6:10 PM
    Nginx 1.21.x
    MariaDB 10.x
    won't help as you need to tune for you specific loads and well my forum is running multi PHP-FPM pool config so different from Centmin Mod defaults

    see
    basically if you're running a cpu limit at same time as max_children, you do not have enough cpu threads/core to handle your work load (you only have 2 cpu threads to use)
     
    Last edited: Aug 14, 2014
  7. eva2000

    eva2000 Administrator Staff Member

    48,417
    11,099
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,274
    Local Time:
    6:10 PM
    Nginx 1.21.x
    MariaDB 10.x
  8. rdan

    rdan Premium Member Premium Member

    5,201
    1,304
    113
    May 25, 2014
    Ratings:
    +1,998
    Local Time:
    4:10 PM
    Mainline
    10.2
  9. zhaosin

    zhaosin New Member

    18
    0
    1
    Aug 11, 2014
    Ratings:
    +0
    Local Time:
    3:10 PM
    1
    MariaDB 5.5
    I tried upgrade to Ram 4RB but still load high CPU, that mean, not VPS, just centmint , but don't know what problem and how to fix it @@
     
  10. eva2000

    eva2000 Administrator Staff Member

    48,417
    11,099
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,274
    Local Time:
    6:10 PM
    Nginx 1.21.x
    MariaDB 10.x
  11. zhaosin

    zhaosin New Member

    18
    0
    1
    Aug 11, 2014
    Ratings:
    +0
    Local Time:
    3:10 PM
    1
    MariaDB 5.5
    See picture with command 'top'
    Untitled.jpg
     
  12. eva2000

    eva2000 Administrator Staff Member

    48,417
    11,099
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,274
    Local Time:
    6:10 PM
    Nginx 1.21.x
    MariaDB 10.x
    not enough cpu threads to service your php-fpm loads but you need to figure out where the PHP load is from as well as tune your php-fpm conf settings accordingly.

    also cpu load is for 1 minute interval so spikes are normal and it's only 2.95/2 = 1.48 cpu load average so not that bad
     
  13. zhaosin

    zhaosin New Member

    18
    0
    1
    Aug 11, 2014
    Ratings:
    +0
    Local Time:
    3:10 PM
    1
    MariaDB 5.5
    How i can find the error @@
     
  14. eva2000

    eva2000 Administrator Staff Member

    48,417
    11,099
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,274
    Local Time:
    6:10 PM
    Nginx 1.21.x
    MariaDB 10.x
    it ain't errors just normal PHP load or abnormal PHP load.. that's a whole process of troubleshooting that you need to do i.e. doing straces on php processes etc

    I don't provide support for that as Centmin Mod is provided as is, you'll have to do that or hire someone to do it for you

    Google might help see Let me google that for you

    but it could simply be the fact you PHP load is greater than number of cpu cores you have available - this would be a server hardware (cpu cores available) sizing issue for your specific php loads
     
    Last edited: Aug 14, 2014