Score:0

What should I set my pm.max_children to for php-fpm?

in flag

I've researched a way to calculate what pm.max_children should be set to for php-fpm but I'm a bit confused as to exactly which numbers I'm supposed to plug into the equation.

The equation is RAM / highest php-fpm usage number with 10% buffer.

When using the free command, these numbers are returned:

               total        used        free      shared  buff/cache   available
Mem:          999724      365960      350224       52788      283540      434468

And these are returned when I use the ps -C php-fpm8.1 -o rss= command:

14048
56332
57536
57752
55368
54252
55836
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.