Skip to content
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

multiple php-fpm pools #60

Closed
godbout opened this issue Oct 6, 2017 · 4 comments
Closed

multiple php-fpm pools #60

godbout opened this issue Oct 6, 2017 · 4 comments

Comments

@godbout
Copy link

godbout commented Oct 6, 2017

Hi, I'm wondering. I thought it was possible to clear the opcache for the whole php-fpm master processes, but it seems with cachetool it's need to precise which .sock to clear? Any way to force the clearance of all the pools? Or is there something I'm missing/misunderstanding? Thanks.

@gordalina
Copy link
Owner

You can call cachetool for every pool.
Alternatively you can submit a PR for cachetool to apply its commands to multiple targets at the same time.

@godbout
Copy link
Author

godbout commented Oct 8, 2017

Ok cool. I'll grab some more knowledge about how the clearing works (still don't get that it should be a per pool thing) and yeah, might play a bit with a PR. Thanks!

@drAlberT
Copy link

opcode cache is system wide AFAIK .. every pool uses the same central shared memory

I argue if you clear on a pool then you clear every pool at once

@gordalina
Copy link
Owner

gordalina commented Mar 29, 2020

Closing due to inactivity, feel free to reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants