-
-
Notifications
You must be signed in to change notification settings - Fork 96
Description
Hi we are facing a bit of a show stopper at the moment and would be glad if anyone can help.
Describe the bug
When using the exporter on Oracle DBs we are facing regular timeouts.
Log from Oracle shows
"DDE: Problem Key 'ORA 3137 [3120]' was flood controlled
ORA-03137: malformed TTC packet from client rejected"
This happens on all the Oracle DBs we tested
This happens with version 17.1. -17.3 of sql exporter (Docker and binary)
From description by Oracle it is an issue with the driver, the connection appears to be closed too soon, then there are some packets left which the DB cant handle (TTC packets) and disables the connection for a moment for the client
To Reproduce
Steps to reproduce the behavior:
- Add Oracle DB in config
- Set Log level to Debug
- Wait a few minutes
- See "Timeout error" and "context deadline exceeded" in exporter log
- Look up Oracle Alerts, see above noted error
Expected behavior
No timeouts
Configuration
sql_exporter.yml
global:
scrape_timeout_offset: 500ms
min_interval: 0s
max_connections: 4
max_idle_connections: 4
max_connection_lifetime: 30m
Additional context
with version 2.8.25 (April 2025) of go-ora driver there should be a new option conn.EnableGracefulDisconnect(true), maybe this can help?
This driver is not added yet right? We couldnt find anything related in the changelogs
Kind regards