Re: Problems with clojure couchdb

2010-10-13 Thread Moritz Ulrich
On Wed, Oct 13, 2010 at 4:00 AM, Mark Engelberg wrote: > On Tue, Oct 12, 2010 at 6:41 AM, Moritz Ulrich > wrote: >> Regarding your error: Maybe you open too many sockets which don't get >> closed and your process runs out of file descriptors. > > Yes, I think that's the problem.  I found a blurb

Re: Problems with clojure couchdb

2010-10-12 Thread Mark Engelberg
On Tue, Oct 12, 2010 at 6:41 AM, Moritz Ulrich wrote: > Regarding your error: Maybe you open too many sockets which don't get > closed and your process runs out of file descriptors. Yes, I think that's the problem. I found a blurb on the net about how to expand the range of usable ports for sock

Re: Problems with clojure couchdb

2010-10-12 Thread Moritz Ulrich
I would also recommend using batch-write for this. It's *much* faster. Regarding your error: Maybe you open too many sockets which don't get closed and your process runs out of file descriptors. On Tue, Oct 12, 2010 at 7:13 AM, David Nolen wrote: > On Tue, Oct 12, 2010 at 12:45 AM, Mark Engelber

Re: Problems with clojure couchdb

2010-10-11 Thread David Nolen
On Tue, Oct 12, 2010 at 12:45 AM, Mark Engelberg wrote: > I'm playing around with couchdb. I'm using the version that lein gets > with the following command: > [clojure-couchdb "0.4.4"] > which as far as I can tell is the most recently maintained version. > > When I do a bunch of rapid calls to

Problems with clojure couchdb

2010-10-11 Thread Mark Engelberg
I'm playing around with couchdb. I'm using the version that lein gets with the following command: [clojure-couchdb "0.4.4"] which as far as I can tell is the most recently maintained version. When I do a bunch of rapid calls to document-create in a tight loop, after about 3000 or so documents ha