[wp-trac] [WordPress Trac] #64854: Site Health: opcache full: need a Recommended Improvement notice.
WordPress Trac
noreply at wordpress.org
Fri Mar 13 22:20:20 UTC 2026
#64854: Site Health: opcache full: need a Recommended Improvement notice.
-------------------------+---------------------------------------------
Reporter: OllieJones | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Site Health | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: performance, php-compatibility
-------------------------+---------------------------------------------
Description changed by SergeyBiryukov:
Old description:
> Please see https://core.trac.wordpress.org/ticket/63697
>
> I've been doing some perf analysis and noticed this: every site I look at
> has the OPCache running at 100%. It seems WordPress has outgrown the
> OPcache, even on simple sites. Blowing it out and churning it is not good
> for site performance (obviously).
>
> I respectfully suggest the Site Health test suite add a "Recommended
> improvement" item when it detects a full opcache or full interned strings
> buffer.
>
> Here's a draft of code to do that. https://github.com/OllieJones/sqlite-
> object-cache/blob/35b64c333032322d188a7467d2d2c3758a1aebea/includes/lib
> /class-sqlite-object-cache-opcache.php
>
> Attached is what my draft looks like in the Site Health panel.
New description:
Please see #63697.
I've been doing some perf analysis and noticed this: every site I look at
has the OPCache running at 100%. It seems WordPress has outgrown the
OPcache, even on simple sites. Blowing it out and churning it is not good
for site performance (obviously).
I respectfully suggest the Site Health test suite add a "Recommended
improvement" item when it detects a full opcache or full interned strings
buffer.
Here's a draft of code to do that. https://github.com/OllieJones/sqlite-
object-cache/blob/35b64c333032322d188a7467d2d2c3758a1aebea/includes/lib
/class-sqlite-object-cache-opcache.php
Attached is what my draft looks like in the Site Health panel.
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64854#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list