Comments (3)
Hey @jelovac, it's a good idea, I was afraid at the beginning that would be too hard to map it all, because there are variances of how `cgi-fcgi behaves depending on the system, would you like to try to implement this one? We have tests for debian and alpine, hopefully that's enough and if people need other OS they can also implement it.
from php-fpm-healthcheck.
Hello @jelovac, how are you?
I tried to execute this behavior on alpine, debian and centos and I didn't found this issue.
Yes, if we execute:
$ cgi-fcgi -bind -connect localhost:9000
Could not connect to localhost:9000
$ echo $?
111
I receive this output, but php-fpm-healthcheck
exits because we use set -e
and cgi-fcgi
exits with error.
https://github.com/renatomefi/php-fpm-healthcheck/blob/master/php-fpm-healthcheck#L42
https://github.com/renatomefi/php-fpm-healthcheck/blob/master/php-fpm-healthcheck#L58
Is there an implementation where cgi-fcgi
exits without errors or set -e
is ignored?
from php-fpm-healthcheck.
I am closing this issue.
If you need more help, please, can you reopen it?
ty
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
- 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
- Readiness probe error not handled due to php-fpm-healthcheck timeout HOT 7
- 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.