Skip to content

Navigation Menu

Sign in
Sign up

Disable OPcache JIT by default (fixes php-fpm workers spinning at 100% CPU) #545

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mauro2306 wants to merge 2 commits into linuxserver:master
base: master
Choose a base branch
Loading
from mauro2306:disable-opcache-jit
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ RUN \
echo 'opcache.memory_consumption=128'; \
echo 'opcache.save_comments=1'; \
echo 'opcache.revalidate_freq=60'; \
echo 'opcache.jit=1255'; \
echo 'opcache.jit_buffer_size=128M'; \
echo 'opcache.jit=disable'; \
echo 'opcache.jit_buffer_size=0'; \
} >> "/etc/php84/conf.d/00_opcache.ini" && \
{ \
echo 'memory_limit=-1'; \
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.aarch64
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ RUN \
echo 'opcache.memory_consumption=128'; \
echo 'opcache.save_comments=1'; \
echo 'opcache.revalidate_freq=60'; \
echo 'opcache.jit=1255'; \
echo 'opcache.jit_buffer_size=128M'; \
echo 'opcache.jit=disable'; \
echo 'opcache.jit_buffer_size=0'; \
} >> "/etc/php84/conf.d/00_opcache.ini" && \
{ \
echo 'memory_limit=-1'; \
Expand Down
1 change: 1 addition & 0 deletions readme-vars.yml
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ init_diagram: |
"nextcloud:latest" <- Base Images
# changelog
changelogs:
- {date: "05.09.26:", desc: "Disable OPcache JIT. The tracing JIT could emit code that loops forever, pinning all php-fpm workers at 100% CPU until the container was restarted."}
- {date: "10.07.25:", desc: "Rebase to Alpine 3.22."}
- {date: "12.02.25:", desc: "Rebase to Alpine 3.21."}
- {date: "09.01.25:", desc: "Fix uploading large files. Existing users should update their nginx confs."}
Expand Down

AltStyle によって変換されたページ (->オリジナル) /