How to calculate pm.max_children for Espo?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AlexiLaiho
    Junior Member
    • Apr 2026
    • 12

    #1

    How to calculate pm.max_children for Espo?

    My server is down, after some troubleshooting I found a line in espocrm docker container logs:
    Code:
    WARNING: [pool www] server reached pm.max_children setting (5), consider raising it
    Why the default value is so low and to what number it is recommended to increase it? For reference, we are very small company (5-10 users) and we have very low activity footprint, no more than 2-3 simultaneous users. Server is on DO, 2GB RAM.
  • lazovic
    Super Moderator
    • Jan 2022
    • 1225

    #2
    Hi AlexiLaiho,

    This parameter depends on your server and PHP configurations.

    If you installed EspoCRM using a script, you can change this parameter using the following instructions: https://docs.espocrm.com/administrat...p-fpm-settings.

    Comment

    • AlexiLaiho
      Junior Member
      • Apr 2026
      • 12

      #3
      Originally posted by lazovic
      Hi AlexiLaiho,

      This parameter depends on your server and PHP configurations.

      If you installed EspoCRM using a script, you can change this parameter using the following instructions: https://docs.espocrm.com/administrat...p-fpm-settings.

      I know how to change the parameter; I asked what value is recommended.

      "This parameter depends on your server and PHP configurations." is not a good answer. Could you please elaborate?

      Comment


      • lazovic
        lazovic commented
        Editing a comment
        I would set the value to 10-15: I would start with 10 and monitor the processes for some time, and if there were no problems, I would leave them at this value.
    Working...