Many database connections?

7 views
Skip to first unread message

Dave Briccetti

unread,
Nov 4, 2012, 6:29:40 PM11/4/12
to dbsc...@googlegroups.com
I get these PostgreSQL messages when I stop Jetty. Shouldn’t there be only one connection, if there is only one user doing one thing at a time?

[2012-11-04 15:27:05.411 PST 5096f8da.a632 0] LOG:  unexpected EOF on client connection
[2012-11-04 15:27:05.411 PST 5096f8da.a631 0] LOG:  unexpected EOF on client connection
[2012-11-04 15:27:05.411 PST 5096f8da.a630 0] LOG:  unexpected EOF on client connection
[2012-11-04 15:27:05.411 PST 5096f8da.a62f 0] LOG:  unexpected EOF on client connection
[2012-11-04 15:27:05.412 PST 5096f8cc.a628 0] LOG:  unexpected EOF on client connection
[2012-11-04 15:27:05.412 PST 5096f8cc.a629 0] LOG:  unexpected EOF on client connection
[2012-11-04 15:27:05.412 PST 5096f8cc.a627 0] LOG:  unexpected EOF on client connection
[2012-11-04 15:27:05.412 PST 5096f8cc.a626 0] LOG:  unexpected EOF on client connection
[2012-11-04 15:27:05.413 PST 5096f8cc.a625 0] LOG:  unexpected EOF on client connection
[2012-11-04 15:27:05.413 PST 5096f8cc.a624 0] LOG:  unexpected EOF on client connection
[2012-11-04 15:27:05.413 PST 5096f8da.a62e 0] LOG:  unexpected EOF on client connection
[2012-11-04 15:27:05.414 PST 5096f8da.a62d 0] LOG:  unexpected EOF on client connection

Diego Medina

unread,
Nov 4, 2012, 7:07:51 PM11/4/12
to Dave Briccetti, dbsc...@googlegroups.com
I don;t remember if the pull req was merged or not, but if we are
using connection pool, then we will have multiple connections, even if
only one user is connected.

I don;t know much about PostgreSQL, but is there anything similar to
"show processlist;" (show processlist works on mysql and shows you all
the connections that are live at that moment.

Regards,

Diego
> --
>
>



--
Diego Medina
Lift/Scala Developer
di...@fmpwizard.com
http://www.fmpwizard.com

carlos.montemuino

unread,
Nov 5, 2012, 6:54:09 AM11/5/12
to dbsc...@googlegroups.com, Dave Briccetti
We're using BoneCP mostly with default values. The acquireIncrement is 10, so it makes sense what Dave is getting in logs.

I just defined a new task to update DbSettings, so we can override default values as per our needs.

Reply all
Reply to author
Forward
0 new messages