Waiting Connection Eviction Threads with client/server connection

Hi,

We are using Stardog 5 and Tomee, we use http to connect to the Stardog server.
The Tomee server collects a lot of ‘Connection Eviction’ threads which is a potential leak.

The log show:
Name: Connection evictor
State: TIMED_WAITING
Total blocked: 0 Total waited: 18.116

Stack trace: 
java.lang.Thread.sleep(Native Method)
org.apache.http.impl.client.IdleConnectionEvictor$1.run(IdleConnectionEvictor.java:66)
java.lang.Thread.run(Thread.java:748)

This behavior is introduced since we switched to Stardog, probably we don not close connections properly, any hints ?

Bart

Hi,

What are the HTTP operations you’re performing when you see this? The first thing that comes to mind is beginning a transaction without then performing a commit or rollback.

It turned out to be a never reached store.close() in a finalize.

My bad, sorry

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.