Questions tagged [connection-leaks]
73 questions
1
vote
1 answer
Connection Reset with Jersey Client
I am seeing a lot of Connection Resets in Production.There could be multiple causes to it but I wanted to ensure that there are no Connection leakages coming from in code.I am using Jersey Client in code
Client this.client =…

Abhijeet Kushe
- 2,477
- 3
- 26
- 39
1
vote
1 answer
S3 Client connection leak after exception
I'm fairly new to AWS SDK
I am trying to get a file from S3, but that file might not exist, and apparently there is easy way to check for that with the Amazon S3 client, so I am trying to get that object anyways, and inside exception handling I…

Matthew Yang
- 605
- 1
- 13
- 23
1
vote
1 answer
ServiceConnection leak when not using BIND_AUTO_CREATE
Could you please explain to me, what happens when we bind to service, but never start it and then unbind? I'm getting "Activity has leaked a Service Connection error", but I do not understand why.
MyService:
package…

Eugene
- 656
- 8
- 20
1
vote
1 answer
My Spring application leaks database connections whereas I use the default Roo configuration
I am encountering an serious issue with my application. It leaks database connections whereas I use the default Spring Roo datasource configuration as follows:

balteo
- 23,602
- 63
- 219
- 412
1
vote
0 answers
Usage CursorLoader without ContentProvider and avoiding database leaks
I have implemented the class found in this question:
CursorLoader usage without ContentProvider
It is a means of using the LoaderManager and CursorLoader without a content resolver. I am using it to load data from a SQLite database and display it in…

Demonofloom
- 240
- 4
- 17
0
votes
2 answers
Does this cause a JDBC connection leak?
I'm getting this SQL exception:
16043 10.8.38.30> 2012-03-06 14:21:00,870 | INFO | SubThread-10 | DatabaseSender: Executing SQL Statement...; SQL Statement = select ERRORCODE from ERR_MASTER where ErrorDescription='State must be 'pre-installed',…

digeratz
- 3
- 2
0
votes
2 answers
Compare two functions call graph on visual-studio 2010
In my situation, I would like to find out all the functions containing this function call
DBase.CreateCommand();
But not include the following call
DBase.CloseCommand(cmd);
In that function.
What I'm trying to do is to find out any not closed…

nmcy
- 45
- 3
- 8
0
votes
1 answer
Wildfly detection database connection leaks
I have application, deployed in wildfly. And sometimes in application occurs db connection leaks. I really cannot find them in debugger. But they are shown in WildFly Management Console in datasource statistics page, InUseCount sometimes…

Alex T
- 2,067
- 4
- 20
- 27
0
votes
0 answers
Spring 5 WebClient Mono.subscribe with handle leak
Update: it's a bug of springboot. https://github.com/spring-projects/spring-boot/issues/22091
I'm a beginner in springframe. There are some problems when using webclient. I can get the desired return information in the subscribe but after all the…

Maomao Guo
- 1
- 1
0
votes
2 answers
HikariPool reaching maximum connection
I am using HikariCP to run an SQLite Database.
My configuration looks like this:
public class SQLiteDataSource {
private static final HikariConfig config = new HikariConfig();
private static final HikariDataSource ds;
static {
…

Dorus Blanken
- 13
- 1
- 9
0
votes
1 answer
Unable to understand the SQL Exception- Ora Err Code :ORA-01000:
I have a Java Class that's calling an SQL procedure to perform some DB operations.
Here's my Java method:
public static void buildContent(String id) throws Exception{
Connection conn = ExtractDB.getConnection();
CallableStatement cs =…

Richa Sharma
- 75
- 1
- 9
0
votes
1 answer
Hive JDBC - connection leakage when getConnection fails
I am using cloudera hive jdbc https://www.cloudera.com/downloads/connectors/hive/jdbc/2-6-2.html
Sometimes, when the calling of getConnection() fails (not always, depends on server stability), it shows this exception:
MyDAO - Cannot create…

yelliver
- 5,648
- 5
- 34
- 65
0
votes
0 answers
Detect connection leaks in pooled DataSource
I am writing code in order to detect whether my application is leaking connections or not. I use c3p0 as connection pool.
In my unit tests, I have tried to create a @Rule that checks, at the end of the tests, that there are no pending connections.…

usr-local-ΕΨΗΕΛΩΝ
- 26,101
- 30
- 154
- 305
0
votes
0 answers
Jetty 9 leaks threads and connections and stops responding
We use Jetty 9 as embedded web server in a Java 8 VM. On occasion, the following happens:
The thread count of the (Windows) process starts to increase at a steady rate
Some time after this, Jetty stops responding to HTTP (TLS) requests.
After this,…

De Villiers de Wet
- 11
- 2
0
votes
0 answers
Can i get clients DNS IP address using JS?
I am looking for a JS which gets users DNS Server IP.
Just like: dnsleak.com, ipleak.net
However, I know these are online services which can be used but i want something which can be run on my server and who ever visits that, I get his/her DNS…

Rahul
- 1