How is Logstash being run (e.g. as a service/service manager: systemd, upstart, etc. Via command line, docker/kubernetes)
Kubernetes
How was the Logstash Plugin installed
Using kubernetes job
JVM (e.g. java -version):
If the affected version of Logstash is 7.9 (or earlier), or if it is NOT using the bundled JDK or using the 'no-jdk' version in 7.10 (or higher), please provide the following information:
JVM version (java -version)
JVM installation source (e.g. from the Operating System's package manager, from source, etc).
Value of the JAVA_HOME environment variable if set.
OS version (uname -a if on a Unix-like system):
Linux logstash-statefulset-0 5.15.0-1045-oracle #51-Ubuntu SMP Fri Sep 22 10:55:32 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Description of the problem including expected versus actual behavior:
We are stopping our kubernetes workers every evening. When we start it next morning we experiencing that logstash keeps creating a lot of inactive connections to the db. This leads to our database being overloaded with connections and eventually es-db restarts.
Steps to reproduce:
Please include a minimal but complete recreation of the problem,
including (e.g.) pipeline definition(s), settings, locale, etc. The easier
you make for us to reproduce it, the more likely that somebody will take the
time to look at it.
Deploy our solution with helm (db, logstash and other prerequisites)
Stop the kubernetes workers which are having logstash and db pods inside of it
Start the kubernetes worker nodes
Inactive connections start apearing in the db when running query select * from v$session :
Logstash information:
Please include the following information:
bin/logstash --version
) 8.8.1JVM (e.g.
java -version
):If the affected version of Logstash is 7.9 (or earlier), or if it is NOT using the bundled JDK or using the 'no-jdk' version in 7.10 (or higher), please provide the following information:
java -version
)JAVA_HOME
environment variable if set.OS version (
uname -a
if on a Unix-like system): Linux logstash-statefulset-0 5.15.0-1045-oracle #51-Ubuntu SMP Fri Sep 22 10:55:32 UTC 2023 x86_64 x86_64 x86_64 GNU/LinuxDescription of the problem including expected versus actual behavior: We are stopping our kubernetes workers every evening. When we start it next morning we experiencing that logstash keeps creating a lot of inactive connections to the db. This leads to our database being overloaded with connections and eventually es-db restarts.
Steps to reproduce:
Please include a minimal but complete recreation of the problem, including (e.g.) pipeline definition(s), settings, locale, etc. The easier you make for us to reproduce it, the more likely that somebody will take the time to look at it.
select * from v$session
:Provide logs (if relevant):