Discover Centmin Mod today
Register Now

Nginx server reached max_children setting problem

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by reallove0810, Jan 4, 2015.

  1. reallove0810

    reallove0810 New Member

    22
    10
    3
    Jan 3, 2015
    Ratings:
    +11
    Local Time:
    4:23 AM
    1.7.9
    5.5.41
    Hello,

    I see this error in log file
    Code:
    [04-Jan-2015 09:28:23] WARNING: [pool www] server reached max_children setting (5), consider raising it
    I searching on the internet in order to increase max_children setting. But I can't find where to edit in Centmin Mod.
    And sometime I met 502 Bad Gateway nginx and log say
    Code:
    [03-Jan-2015 23:46:58] WARNING: [pool www] child 5511 exited on signal 9 (SIGKILL) after 32.830814 seconds from start
    How can I decrease the 502 error?

    Thankyou!
     
  2. rdan

    rdan Premium Member Premium Member

    4,246
    1,033
    113
    May 25, 2014
    Ratings:
    +1,481
    Local Time:
    10:23 AM
    Mainline
    10.2
    • Edit php-fpm.conf = fpmconf ( /usr/local/etc/php-fpm.conf )
     
  3. eva2000

    eva2000 Administrator Staff Member

    35,648
    7,847
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,101
    Local Time:
    12:23 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
..