Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

improve value foropcache.max_accelerated_files#21605

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
garak wants to merge1 commit intosymfony:6.4
base:6.4
Choose a base branch
Loading
fromgarak:fix-max-acc-files

Conversation

@garak
Copy link
Contributor

According to Paul Dragoonis' talk delivered at the SymfonyCon yesterday, using a non-prime number forces PHP to calculate the next one, adding a small overhead.
References:

I'm not sure if we want to also add a note in Symfony doc to explain the reason

@carsonbotcarsonbot added this to the6.4 milestoneNov 29, 2025
@carsonbotcarsonbot changed the titleimprove value for opcache.max_accelerated_files improve value for opcache.max_accelerated_filesNov 29, 2025
@javiereguiluz
Copy link
Member

This is true ... but readinghttps://www.php.net/manual/en/opcache.configuration.php#ini.opcache.max-accelerated-files seems that not all primes are valid. It must be one of this specific set:

{ 223, 463, 983, 1979, 3907, 7963, 16229, 32531, 65407, 130987, 262237, 524521, 1048793 }

garak reacted with thumbs up emoji

@OskarStarkOskarStark changed the title improve value for opcache.max_accelerated_files improve value foropcache.max_accelerated_filesNov 29, 2025
@Spomky
Copy link
Contributor

Spomky commentedNov 29, 2025
edited
Loading

This is true ... but readinghttps://www.php.net/manual/en/opcache.configuration.php#ini.opcache.max-accelerated-files seems that not all primes are valid. It must be one of this specific set:

{ 223, 463, 983, 1979, 3907, 7963, 16229, 32531, 65407, 130987, 262237, 524521, 1048793 }

Correct, except 1048793 that is greater than 1,000,000 andThe maximum value is 1000000 (I don't know why 1048793 is listed).

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

6.4

Development

Successfully merging this pull request may close these issues.

4 participants

@garak@javiereguiluz@Spomky@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp