-
Notifications
You must be signed in to change notification settings - Fork 449
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
"show fds" crashes pgbouncer in 1.8.1 #311
Comments
Could you provide a stack trace? Useful info https://wiki.postgresql.org/wiki/Getting_a_stack_trace_of_a_running_PostgreSQL_backend_on_Linux/BSD |
So far, I've only been able to reproduce this in our production environment. I'm unable to get a stack trace there due to downtime sensitivity. I'll continue to try in another environment, but the workloads are vastly smaller. |
You only need to enable core files (ulimit, limits.conf) for pgbouncer user. After that get a stack trace from the core file. |
|
It's interesting that Lines 333 to 343 in e8e8f64
Checking |
maybe a diff of the config file against the distro config ? btw, in case unencrypted passwds are used, show fds just shows them. This should be fixed. |
@quixoten Try adding |
I was able to reproduce this, by running |
Changes since 1.9.0 2019-07-01 - PgBouncer 1.10.0 - "Afraid of the World" Features Add support for enabling and disabling TLS 1.3. (TLS 1.3 was already supported, depending on the OpenSSL library, but now the configuration settings to pick the TLS protocol versions also support it.) Fixes Fix TLS 1.3 support. This was broken with OpenSSL 1.1.1 and 1.1.1a (but not before or after). Fix a rare crash in SHOW FDS (pgbouncer/pgbouncer#311). Fix an issue that could lead to prolonged downtime if many cancel requests arrive (pgbouncer/pgbouncer#329). Avoid "unexpected response from login query" after a postgres reload (pgbouncer/pgbouncer#220). Fix idle_transaction_timeout calculation (pgbouncer/pgbouncer#125). The bug would lead to premature timeouts in specific situations. Cleanups Make various log and error messages more precise. Fix issues found by Coverity (none had a significant impact in practice). Improve and document all test scripts. Add additional SHOW commands to the documentation. Convert the documentation from rst to Markdown. Python scripts in the source tree are all compatible with Python 3 now.
This occurs even when not connection through a unix socket, e.g.
The first log line is from running:
This doesn't always crash the process, but I had three instances of pgbouncer running, and the
watch
command running on each of those. They crashed within 15 to 16 minutes of each other.The text was updated successfully, but these errors were encountered: