Skip to content

Conversation

@MichaIng
Copy link
Member

A link to the Nextcloud documentation is currently only shown when the OPcache module is not loaded at all. This commit moves the link to the generic text above the individual recommendations list.

There have been a number of reports from users where the default 8 MiB interned strings buffer was full, in rare cases even 16 MiB were not sufficient (ignoring the cases where Nextcloud is not the only website on the same OPcache instance). The recommendation is accurate since a full interned strings buffer means that the full potential performance benefit of OPcache is not reached. I will extend the documentation to cover the interned strings buffer and add a small section about best practice to apply PHP settings. However, if we get more negative feedback about interned strings buffer in particular, we may need to reconsider whether measuring/showing it or not show it when 16 MiB or more are applied already.

@MichaIng MichaIng added enhancement 3. to review Waiting for reviews pending documentation This pull request needs an associated documentation update labels Feb 18, 2022
@MichaIng MichaIng added this to the Nextcloud 24 milestone Feb 18, 2022
@MichaIng MichaIng linked an issue Feb 18, 2022 that may be closed by this pull request
8 tasks
@MichaIng MichaIng force-pushed the enh/docs-link-for-opcache-recommends branch 2 times, most recently from 9314866 to c905b9a Compare February 19, 2022 12:14
@szaimen
Copy link
Contributor

szaimen commented Mar 3, 2022

/rebase

A link to the Nextcloud documentation is currently only shown when the OPcache module is not loaded at all. This commit moves the link to the generic text above the individual recommendations list.

Additionally remove the obsolete phpOpcacheDocumentation entry from test data arrays, which is not passed anymore by the backend.

Signed-off-by: MichaIng <micha@dietpi.com>
@nextcloud-command nextcloud-command force-pushed the enh/docs-link-for-opcache-recommends branch from c905b9a to 5ac91f1 Compare March 3, 2022 23:00
@MichaIng
Copy link
Member Author

MichaIng commented Mar 4, 2022

/backport to stable23

@MichaIng MichaIng merged commit 3980322 into master Mar 4, 2022
@MichaIng MichaIng deleted the enh/docs-link-for-opcache-recommends branch March 4, 2022 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews enhancement pending documentation This pull request needs an associated documentation update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: The OPcache interned strings buffer is nearly full

4 participants