rana / ora

An Oracle database driver in Go.
MIT License
272 stars 66 forks source link

Many Open Connections Showing on sql.Open() ORA v4 GOLANG #250

Open absBitm opened 6 years ago

absBitm commented 6 years ago

on creating orav4 connection using sql.Open(..) , i was concerned about the number of open connections , i saw there was more than 40 connections showing on creating & using a single connection through out my program and when my program finishes it again settled down to 0.

  1. creation of connection : I have Used Singleton module (sync.Once.do) for the creation of solo connection on concurrent hits .
  2. verifying number of connection : sudo netstat -C | grep ora4 | wc -l

Please Help !!