Learn about Centmin Mod LEMP Stack today
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:
    6:20 AM
    1
    MariaDB 5.5
    @eva2000

     
  2. eva2000

    eva2000 Administrator Staff Member

    53,229
    12,116
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,654
    Local Time:
    9:20 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  3. zhaosin

    zhaosin New Member

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

    eva2000 Administrator Staff Member

    53,229
    12,116
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,654
    Local Time:
    9:20 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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:
    6:20 AM
    1
    MariaDB 5.5
    Can you provide your php-fpm.conf ?
     
  6. eva2000

    eva2000 Administrator Staff Member

    53,229
    12,116
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,654
    Local Time:
    9:20 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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

    53,229
    12,116
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,654
    Local Time:
    9:20 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  8. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    7:20 AM
    Mainline
    10.2
  9. zhaosin

    zhaosin New Member

    18
    0
    1
    Aug 11, 2014
    Ratings:
    +0
    Local Time:
    6:20 AM
    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

    53,229
    12,116
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,654
    Local Time:
    9:20 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  11. zhaosin

    zhaosin New Member

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

    eva2000 Administrator Staff Member

    53,229
    12,116
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,654
    Local Time:
    9:20 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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:
    6:20 AM
    1
    MariaDB 5.5
    How i can find the error @@
     
  14. eva2000

    eva2000 Administrator Staff Member

    53,229
    12,116
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,654
    Local Time:
    9:20 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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