Comments (4)
Hey @acim, in my experience we see it in both containers, nginx and fpm! It's a bit annoying indeed, I never tried to disable the logs from fpm itself, but if it's possible it should be configurable in the php config! I'll try to take a look!
By the way, if you have split nginx and fpm I'd recommend you to look into: https://github.com/usabilla/php-docker-template
from php-fpm-healthcheck.
I set /health endpoint to nginx and have no logs there, so this is why my nginx is quite. However, php-fpm bloats the access log
I didn't know about this project, but I have already connected nginx and php-fpm by UNIX sock.
from php-fpm-healthcheck.
I'm also interested to know if this is possible. We also only see the log in the php-fpm container.
We use the healthcheck mainly to check startup readiness. While there is startupProbe in Kubernetes, we run on OpenShift where this is not yet available (except as an alpha feature which we are hesitant to enable).
If you find a way to disable logging for the healthcheck please let me know!
from php-fpm-healthcheck.
Hi everyone!
Unfortunately, the output responsible is php-fpm
and not our healthcheck.
BTW, there's a thread inside PHP to implement this.
https://bugs.php.net/bug.php?id=80428
I will close this old issue. If you need more help let me know.
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
- 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
- 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.