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

ERROR: failed to reload: execvp() failed: Argument list too long (7) #2113

Open
1 task done
JuanLFS opened this issue Apr 11, 2024 · 0 comments
Open
1 task done

ERROR: failed to reload: execvp() failed: Argument list too long (7) #2113

JuanLFS opened this issue Apr 11, 2024 · 0 comments

Comments

@JuanLFS
Copy link

JuanLFS commented Apr 11, 2024

Frequently asked questions

Is your feature request related to a problem? Please describe.
When PHP-FPM is reloaded via a command like "service php-fpm reload", PHP-FPM is shut down and does not restart. The following error is displayed in the log:

ERROR: failed to reload: execvp() failed: Argument list too long (7)

When debug logging is enabled, the following error is displayed:

ERROR: pid 9550, fpm_pctl_exec(), line 102: failed to reload: execvp() failed: Argument list too long (7)

The issue occurs when there are many pools (in my case, more than 4000). We are experiencing this problem in version 7.0 of PHP, but there are reports of this bug in other versions as well.

The bug is also reported at: https://bugs.php.net/bug.php?id=68440

Describe the solution you'd like

I'd like the bug solution to be backported to the other php versions aswell: php/php-src@77bf924

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

No branches or pull requests

1 participant