couchbeam - How to reuse/release connections?

29 views
Skip to first unread message

Ramkrishna Kulkarni

unread,
Dec 13, 2011, 9:51:27 AM12/13/11
to couch...@googlegroups.com
Hello,

I'm making thousands of view queries using couchbeam in my application (using NitrogenWeb). It looks like there is one connection in "ESTABLISHED" for every request I make. Eventually CouchDB runs out of FDs and stops responding. When I shutdown Nitrogen all connections are released. Is there someway I can either release connection immediately or reuse it?

Thanks,
Ram

Benoit Chesneau

unread,
Dec 13, 2011, 11:31:44 AM12/13/11
to couchdbkit

On Dec 13, 3:51 pm, Ramkrishna Kulkarni


Couchbeam is using ibrowse which should reuse the connections. What
is the version of ibrowse that you are using ? Also what is the
version of couchdb ?

- benoît

Ramkrishna Kulkarni

unread,
Dec 14, 2011, 11:15:38 PM12/14/11
to couch...@googlegroups.com
Sorry, my mistake. Connections are indeed getting released after sometime. Just that I'm making thousands of connections in a very short time and there aren't enough FDs available. I've increased FDs on the system and max_connections for CouchDB. Things are better now. Thanks.
Reply all
Reply to author
Forward
0 new messages