Comments (7)
I'm getting the same - makes it a little useless when PHP-FPM stops responding
from php-fpm-healthcheck.
Just to update with this one for anyone else searching, I managed to resolve using BusyBox timeout
command in my Kubernetes liveness probe...
livenessProbe:
exec:
command:
- timeout
- "1"
- php-fpm-healthcheck
- --listen-queue=15 # fails if there are more than 10 processes waiting in the fpm queue
This means that if php-fpm-healthcheck doesn't return success within 1 second it'll assume its dead.
from php-fpm-healthcheck.
Just to update with this one for anyone else searching, I managed to resolve using BusyBox
timeout
command in my Kubernetes liveness probe...livenessProbe: exec: command: - timeout - "1" - php-fpm-healthcheck - --listen-queue=15 # fails if there are more than 10 processes waiting in the fpm queueThis means that if php-fpm-healthcheck doesn't return success within 1 second it'll assume its dead.
Did the same before. It works
livenessProbe: exec: command: - /usr/bin/timeout - "3" - /usr/local/bin/php-fpm-healthcheck - --listen-queue=100 initialDelaySeconds: 300
from php-fpm-healthcheck.
@xriser do you find PHP-FPM becomes unresponsive often? I'm having problems where the node will restart about 10 times a day due to PHP-FPM not responding
from php-fpm-healthcheck.
@xriser do you find PHP-FPM becomes unresponsive often? I'm having problems where the node will restart about 10 times a day due to PHP-FPM not responding
no, it depends on the application. If the app doesn't free php child they start to grow and running out of active child limits.
from php-fpm-healthcheck.
If we implement a --timeout
feature, we can also close #28 .
from php-fpm-healthcheck.
Is this doc relevant?
But yes, I think we must implement a --timeout
feature, too.
from php-fpm-healthcheck.
Related Issues (20)
- 36: set: Illegal option -o pipefail HOT 4
- When environment variables exceeds 8kb fpm will close the connection HOT 1
- Test other distros than alpine
- Metric check for listen queue len seems wrong HOT 4
- Disable access logs HOT 4
- Ubuntu - cgi-fcgi isn't terminating HOT 3
- Add tests for 7.4-fpm-buster
- Support all php-fpm metrics
- Missing implementation of exit status codes HOT 3
- not working in debian linux with FPM socket communication HOT 2
- centos not support usage of ' | tail +5' HOT 2
- Test failed metrics
- Script Bugs with Image based on Debian 9 stretch HOT 3
- I can't understand the livenessProbe example, Can you explain it in detail? HOT 3
- CircleCI Error HOT 2
- Test fcgi socket connection
- Understanding FastCGI (with Ubuntu 22.04) HOT 5
- Document and test Docker healthcheck
- Document development, how to contribute HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-fpm-healthcheck.