matomo-org / matomo-org/docker

max_children is quite low at 5

Open
#227 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
1k
Forks
384
PR merge metrics
No merged PRs in 30d

Description

The fpm www pool has `pm.max_children = 5` which is easily reached by a single page load.
This can be seen in the logs (`docker logs matomo_app_1`): `[01-Dec-2020 19:59:29] WARNING: [pool www] server reached pm.max_children setting (5), consider raising it`

The config is located in `/usr/local/etc/php-fpm.d/www.conf`.
The setting is `pm.max_children = 5` on line 114.

I arbitrarily set it to 20 and it works fine for now.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect /usr/local/etc/php-fpm.d/www.conf around line 114 and review the reported docker logs for the www pool. Verify the current pm.max_children setting and determine an appropriate raised value; done means the configuration reflects the agreed value and the pool no longer reaches its limit during a page load.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, php
Domain
devops
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.