ivanads
By:
ivanads

What is the best Php5-fpm pm.max_children setting for 400K Page view Wordpress Site?

November 2, 2016 175 views
Nginx WordPress Debian

I have a wordpress site and have 400k page view everyday and 1500k hit per sec. I finding a perfect php5-fpm pm.max_children setting for my site. I will use 64GB Ram and 8 Core processor and will install nginx+php5-fpm.

It will very helpful for me if anyone help me to find out a solution.

2 Answers

I would start with 8, but why dont you just try what works best?

  • thanks for reply ..

    is it ok?

    pm = dynamic
    pm.maxchildren = 8
    pm.startservers = 3
    pm.maxspareservers = 4

    I'm not sure what will be good setting for my site... i don't want to lose traffic so that finding solution before move.

    • With 1400 r/s you could easily use a static amount of childs, ergo :
      pm = static
      pm.maxchildren = 8
      pm.start
      servers = 4

      I'd also set a max amount of requests to avoid memory leaks killing the server:
      pm.max_requests = 16384

      • which one will be good ..

        pm = dynamic
        pm.maxchildren = 8
        pm.startservers = 4
        pm.maxspareservers = 4
        pm.max_requests = 16384

        or

        pm = static
        pm.maxchildren = 8
        pm.startservers = 4
        pm.maxspareservers = 4
        pm.max_requests = 16384

        please if possible can you update the setting...

Have another answer? Share your knowledge.